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

Re: [leafnode-list] Leafnode 2.0b8_ma9 on MacOS X 10.1.2?



On Monday, Jan 28 2002 11:54 +0100 Ralf Wildenhues
<wildenhu@xxxxxxxxxxxxxxx> wrote:

> Maybe not really.  IMHO search.h is needed just do define VISIT.  Does
> it help if you replace the #include <search.h> with the following
> definition?

[ typedef snipped ]

Yes, thanks, that made it go past the previous problem. Now there seems to
be an overlapping definition of _mergesort in leafnode-provided liblnutil.a
and MacOS X-provided /usr/lib/libSystem.dylib when linking fetchnews. Also,
_inet_ntop is listed as an undefined symbol:

source='fetchnews.c' object='fetchnews.o' libtool=no \
depfile='.deps/fetchnews.Po' tmpdepfile='.deps/fetchnews.TPo' \
depmode=gcc /bin/sh ./depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/local  -g -O2 -I/usr/local/include
-c `test -f fetchnews.c || echo './'`fetchnews.c
redblack.h:30: undefined or invalid # directive
gcc  -g -O2 -I/usr/local/include  -L/usr/local -L/usr/local/lib -lpcre -o
fetchnews  fetchnews.o liblnutil.a -lpcre 
/usr/bin/ld: warning multiple definitions of symbol _mergesort
liblnutil.a(mergesort.o) definition of _mergesort in section (__TEXT,__text)
/usr/lib/libSystem.dylib(merge.o) definition of _mergesort
/usr/bin/ld: Undefined symbols:
_inet_ntop
make[1]: *** [fetchnews] Error 1
make: *** [all] Error 2

I'll investigate further.

-- 

        Jari Lehtonen
        Unix & Network Services
        University of Turku, Computing Center


-- 
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list