[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems building Zmailer



        
  I've been trying to build Zmailer on my system (FreeBSD 2.0), but I've run
into the following problem during linking:

 .
 .
gcc -g -O  -I../include -I../libsh    -c rfc822hdrs.c -o rfc822hdrs.o
gcc -g -O  -I../include -I../libsh    -c rfc822walk.c -o rfc822walk.o
make[3]: Entering directory `/usr/priv/zmailer/router'
make[3]: Leaving directory `/usr/priv/zmailer/router'
gcc -g -O  -I../include -I../libsh    -c version.c -o version.o
gcc -g -O  -I../include -I../libsh  -o router router.o dateparse.o conf.o
functions.o db.o shliaise.o rfc822.o rfc822hdrs.o rfc822walk.o version.o
-L../libs -ldb -lsh -lz -lzc -lmalloc_d 
/usr/include/ctype.h:108: Definition of symbol `___istype' (multiply defined)
/usr/include/ctype.h:117: Definition of symbol `___isctype' (multiply defined)
/usr/include/ctype.h:128: Definition of symbol `_toupper' (multiply defined)
/usr/include/ctype.h:137: Definition of symbol `_tolower' (multiply defined)
/usr/include/ctype.h:108: Definition of symbol `___istype' (multiply defined)
/usr/include/ctype.h:117: Definition of symbol `___isctype' (multiply defined)
/usr/include/ctype.h:128: Definition of symbol `_toupper' (multiply defined)
/usr/include/ctype.h:137: Definition of symbol `_tolower' (multiply defined)
whathost.c:268: Undefined symbol `_getmntpt' referenced from text segment
/usr/lib/libc.so.2.0: Definition of symbol `_tolower' (multiply defined)
/usr/lib/libc.so.2.0: Definition of symbol `_toupper' (multiply defined)
make[2]: *** [router] Error 1
make[2]: Leaving directory `/usr/priv/zmailer/router'
make[1]: *** [router/router] Error 2
make[1]: Leaving directory `/usr/priv/zmailer'
make: *** [it] Error 2

  toupper, tolower, etc are defined as inline functions in ctype.h  For some
reason, linking the various modules causes problems.

  Does anyone have any idea how I can get around this?

  BTW, I can contribute the hostenvconfig file that got me this far.

Tom