Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]tlug: Problems with gcc and gtk on IRIX 6.2
- To: tlug@example.com
- Subject: tlug: Problems with gcc and gtk on IRIX 6.2
- From: "Stephen J. Turnbull" <turnbull@example.com>
- Date: Tue, 13 Apr 1999 08:54:39 +0900 (JST)
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=us-ascii
- In-Reply-To: <Pine.SGI.4.02.9904121650290.22201-100000@example.com>
- References: <Pine.SGI.4.02.9904121650290.22201-100000@example.com>
- Reply-To: tlug@example.com
- Sender: owner-tlug@example.com
>>>>> "Alessandro" == Alessandro Bugatti <alex@example.com> writes: Alessandro> I work on Indigo 2 with IRIX 6.2. I have a problem Alessandro> with the gcc compiler. I want use the gtk libraries Alessandro> for my programs and if I try to compile the examples Alessandro> of these libraries I have no problems (for example gcc Alessandro> `gtk-config --cflags` helloworld.c -o helloword Alessandro> `gtk-config --libs` it's OK), but when I try to link Alessandro> some libraries (the audio library) then I have many Alessandro> problems. For reference, here is a problem: Alessandro> gcc -I/usr/include -I/usr/include/CC -o gtkprova \ Alessandro> -laudiofile -laudioutil gtkprova.o audio.o `gtk-config \ Alessandro> --cflags` `gtk-config --libs` -L/usr/lib32 All of the warnings look normal to me except the first. (BTW. Are you using GNU ld and the other GNU binutils or the IRIX versions?) Alessandro> ld: WARNING 84: /usr/lib32/libaudiofile.so is not used \ Alessandro> for resolving any symbol. ld (any flavor) is order sensitive (objects and libraries must come in the right order; the order of -I options is significant; the order of -L options is significant; mixing those three kinds of arguments doesn't matter, I think; GNU ld also has some other rarer options that also introduce order dependencies). I suspect that if you get the order of `gtkprova.o audio.o -laudiofile -laudioutil' right not only does this warning go away but so do the `unresolved text symbol' errors. HTH -- University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN Institute of Policy and Planning Sciences Tel/fax: +81 (298) 53-5091 __________________________________________________________________________ __________________________________________________________________________ What are those two straight lines for? "Free software rules." ------------------------------------------------------------------- Next Nomikai: TBD Tengu TokyoEkiMae 03-3275-3691 Next Technical Meeting: June 12 (Sat), 12 :30 place: Temple Univ. ------------------------------------------------------------------- more info: http://www.tlug.gr.jp Sponsor: Global Online Japan
- References:
- tlug: Problems with gcc and gtk on IRIX 6.2
- From: Alessandro Bugatti <alex@example.com>
Home | Main Index | Thread Index
- Prev by Date: RE: tlug: http header parsing in perl
- Next by Date: Re: tlug: KDE, GTK...etc. etc
- Prev by thread: tlug: Problems with gcc and gtk on IRIX 6.2
- Next by thread: Re: tlug: Problems with gcc and gtk on IRIX 6.2
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links