Re: [gtk-list] Unidentified subject!



At 10:48 PM 7/15/98 -0500, you wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>
>i think this might be a simple problem, but when i try to compile a gtk
program.
>.i get the following error msgs (this is from the first example in the 
>tutorial)
>
>/var/tmp/ccMCf4601.o: Undefined symbol `_gtk_init' referenced from text segment
>/var/tmp/ccMCf4601.o: Undefined symbol `_gtk_window_new' referenced from
text se
>gment
>/var/tmp/ccMCf4601.o: Undefined symbol `_gtk_widget_show' referenced from
text s
>egment
>/var/tmp/ccMCf4601.o: Undefined symbol `_gtk_main' referenced from text segmen
>
>
>i am compiling with:
>gcc -L/usr/local/lib -I/usr/local/include -I/usr/local/lib/glib/include first.c
>
>
>all the libs are installed and everything....please help point me in the
right d
>irection.....

Assuming Linux:

   Make sure you have the path to the libraries in the
   file /etc/ld.so.conf

   As root, do a 'ldconfig'

Then try your link again.
-------------------------------------------------------------
Kevin Handy  kth@srv.net         Accounting Software for
Software Solutions. Inc.         VAX/VMS Computer Systems
Idaho Falls, Idaho



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]