Error messages compiling GTK



Hi

I've got a problem making gtk+-0.99. I'm hoping somebody can point out
where I'm going wrong.

I keep getting an error message during the make about an undefined
reference to `iswctype'. The exact messages are:

../libtool --mode=link gcc -g -O2 -DNDEBUG -Wall  -o testgtk  testgtk.o
libgtk.la ../gdk/libgdk.la -L/usr/X11R6/lib -lXext -lX11
../glib/libglib.la -lm
LD_RUN_PATH="/usr/local/lib:$LD_RUN_PATH" gcc -g -O2 -DNDEBUG -Wall -o
.libs/testgtk testgtk.o .libs/libgtk.so ../gdk/.libs/libgdk.so
-L/usr/X11R6/lib -lXext -lX11 ../glib/.libs/libglib.so -lm
.libs/libgtk.so: undefined reference to `iswctype'
make[2]: *** [testgtk] Error 1

I've tried gtk+-0.99.1 gtk+-0.99.2 and gtk+-0.99.3. Always the same
problem. I've checked the archives for this mailing list and the FAQ,
but can't find anything about problems with compiling testgtk. I do have
a older version of gtk on my system dating back to when gtk was
distributed with the gimp. But since I want to upgrade my version of the
gimp, I need the new version of gtk.

I did try forcing the code to include wchar.h in place of wctype.h. This did
get rid of the error messages about iswctype, but then I got error messages
about undefined reference to iswalnum.

My system is Linux kernel 2.0.29, based on a slackware distribution,
with libc.so.5.4.38 and gcc 2.7.2



-- 
=================================================================

Any views, opinions, facts etc. expressed within this mailing are 
totally mine, and do not necessarily reflect those of my employer.

David Jones
-----------

CFD Methods R & D Group          Phone:    (416) 375 3492
deHavilland Inc., MS N18-06      Fax:      (416) 375 3777
Garratt Blvd, Downsview.
Ontario, CANADA M3K 1Y5          Internet: djones@dehavilland.ca

Personal Web site: http://www.geocities.com/TheTropics/6313

=================================================================



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