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

problem building slrn and imlib



Hi,

build of slrn and imlib stops with an error when linking:

slrn:
/usr/ports/news/slrn/work/slrn-0.9.5.7/src/objs/chkslang slrn 10003
cd /usr/ports/news/slrn/work/slrn-0.9.5.7/src/objs; cc art.o chmap.o
editscore.o group.o grplens.o hash.o help.o interp.o menu.o mime.o
misc.o post.o score.o server.o sortdate.o slrn.o startup.o ttymsg.o
util.o uudecode.o xover.o slrndir.o version.o print.o -o slrn 
-L/usr/local/lib -lslang -ltermcap -lm
group.o: Undefined symbol `_stat' referenced (use -lc ?)
group.o: Undefined symbol `_rename' referenced (use -lc ?)
group.o: Undefined symbol `_chmod' referenced (use -lc ?)
group.o: Undefined symbol `_chown' referenced (use -lc ?)
misc.o: Undefined symbol `_getpid' referenced (use -lc ?)
[... some more of these ...]
slrn.o: Undefined symbol `_sigprocmask' referenced (use -lc ?)
slrn.o: Undefined symbol `_umask' referenced (use -lc ?)
util.o: Undefined symbol `_unlink' referenced (use -lc ?)
util.o: Undefined symbol `_stat' referenced (use -lc ?)
util.o: Undefined symbol `_rename' referenced (use -lc ?)
uudecode.o: Undefined symbol `_chmod' referenced (use -lc ?)
slrndir.o: Undefined symbol `_stat' referenced (use -lc ?)
slrndir.o: Undefined symbol `_chdir' referenced (use -lc ?)
ld: internal consistency check failure: # undefined symbols 18, accounted for 0
collect2: ld returned 1 exit status
*** Error code 1

same thing with imlib:
gmake[2]: Entering directory `/usr/ports/graphics/imlib/work/build-i386/utils'
/bin/sh ../libtool --mode=link cc  -O2    -L/usr/local/lib -o imlib_config
 imlib_config.o icons.o testimg.o ../gdk_imlib/libgdk_imlib.la  
 -L/usr/X11R6/lib -L/usr/X11R6/lib -lgtk -lgdk -L/usr/local/lib -lgmodule
 -lglib -lintl -lXext -lX11 -lm                                          
cc -O2 -L/usr/local/lib -o .libs/imlib_config imlib_config.o icons.o
 testimg.o -L../gdk_imlib/.libs -lgdk_imlib -lgmodule -lglib -L/usr/X11R6/lib
 -L/usr/X11R6/lib -lgtk -lgdk -L/usr/local/lib -lgmodule -lglib -lintl -lXext
 -lX11 -lm -R/usr/X11R6/lib
imlib_config.o: Undefined symbol `_getuid' referenced (use -lc ?)
ld: internal consistency check failure: # undefined symbols 1, accounted for 0
collect2: ld returned 1 exit status
gmake[2]: *** [imlib_config] Error 1
gmake[2]: Leaving directory `/usr/ports/graphics/imlib/work/build-i386/utils'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/graphics/imlib/work/build-i386'
gmake: *** [all-recursive-am] Error 2
*** Error code 2

Stop in /usr/ports/graphics/imlib.
*** Error code 1

I'm not sure what that really means,
compiler doesn't link with libc ??
symbols not (any more?) present in libc ?
some other lib missing ?
am i missing something obvious ?

I did a cvs src and ports update this morning, system build just finished.

thanks in advance,
                      Carsten




Visit your host, monkey.org