From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,957ea3d057ecc0de X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.223.40 with SMTP id qr8mr3713965pbc.0.1336078170154; Thu, 03 May 2012 13:49:30 -0700 (PDT) Path: pr3ni553pbb.0!nntp.google.com!news2.google.com!goblin3!goblin.stu.neva.ru!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: Help with my first GPRbuild file please Date: Thu, 03 May 2012 22:49:30 +0200 Organization: A noiseless patient Spider Message-ID: <87397hc7mt.fsf@ludovic-brenta.org> References: <2622641.1774.1336074277508.JavaMail.geo-discussion-forums@vbq19> <27687929.0.1336075211401.JavaMail.geo-discussion-forums@vbsf10> <14892096.1560.1336077078791.JavaMail.geo-discussion-forums@vbmi19> Mime-Version: 1.0 Injection-Info: mx04.eternal-september.org; posting-host="5aBXbdv8FamQTmSvTVCnmQ"; logging-data="5722"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX190FPniKl69noVqFNa3TKl8" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) Cancel-Lock: sha1:Fz6ImDr/kWhecv9JQghIIhTeMb0= sha1:wXDu1Rd9Cch1aLCFmDg1XuKVNhM= Content-Type: text/plain; charset=us-ascii Date: 2012-05-03T22:49:30+02:00 List-Id: Patrick writes on comp.lang.ada: > : gprbuild -v C_Mess.gpr > GPRBUILD 1.3.0 (Debian 1.3.0-2) (20090421) (x86_64-linux-gnu) > Copyright (C) 2004-2009, Free Software Foundation, Inc. > gprconfig --batch -o /media/fast60/Programming/Anak/C_Mess/auto.cgpr --target=x86_64-linux --config=c,, > Creating configuration file: /media/fast60/Programming/Anak/C_Mess/auto.cgpr > Checking configuration /media/fast60/Programming/Anak/C_Mess/auto.cgpr > Checking project file "c_mess" > Changing to object directory of "c_mess": "/media/fast60/Programming/Anak/C_Mess" > Checking /media/fast60/Programming/Anak/C_Mess/audio_player.c ... > -> object file /media/fast60/Programming/Anak/C_Mess/audio_player.o does not exist > CPATH = /media/fast60/Programming/Anak/C_Mess > /usr/bin/gcc-4.4 -c -x c -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gstreamer-0.10 -I/usr/include/libxml2 -pthread -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lxml2 -lgthread-2.0 -lrt -lglib-2.0 -Wp,-MMD,audio_player.d /media/fast60/Programming/Anak/C_Mess/audio_player.c > gcc-4.4: -I/usr/include/glib-2.0: No such file or directory > gcc-4.4: -I/usr/lib/x86_64-linux-gnu/glib-2.0/include: No such file or directory > gcc-4.4: -I/usr/include/gstreamer-0.10: No such file or directory > gcc-4.4: -lgstreamer-0.10: No such file or directory > gcc-4.4: -lgobject-2.0: No such file or directory > gcc-4.4: -lgmodule-2.0: No such file or directory > gcc-4.4: -lxml2: No such file or directory > gcc-4.4: -lgthread-2.0: No such file or directory > gcc-4.4: -lrt: No such file or directory > gcc-4.4: -lglib-2.0 : No such file or directory > /media/fast60/Programming/Anak/C_Mess/audio_player.c:1: fatal error: gst/gst.h: No such file or directory > compilation terminated. > gprbuild: *** compilation phase failed Have you installed the package libgstreamer0.10-dev, which depends on all the other -dev packages and provides the directory /usr/include/gstreamer-0.10 and its contents as well as the libgstreamer0.10.so symbolic link? If not, how did you get the "pkg-config --cflags gstreamer-0.10" to work? I thought pkg-config relied on a file provided by the -dev package, too. I'm confused because you seem to have the include files of libgstreamer0.10 somewhere but then gcc-4.4 does not find them where pkg-config says they are. -- Ludovic Brenta. The stakeholders 200% strategize Control Information Systems, while the human resources benchmark the prospective bandwidth across the spheres.