unused definition ... (proftp compil)

tazzfr

2001-12-01 03:42:00

I try to compile proftpd but I always get the same errors:

[...]
lib/libsupp.a(getopt.o) definition of _optarg in section (__DATA,__data)
/usr/lib/libSystem.dylib(getopt.o) unused definition of _optarg
/usr/bin/ld: warning unused multiple definitions of symbol _opterr
lib/libsupp.a(getopt.o) definition of _opterr in section (__DATA,__data)
/usr/lib/libSystem.dylib(getopt.o) unused definition of _opterr
/usr/bin/ld: warning unused multiple definitions of symbol _optind
lib/libsupp.a(getopt.o) definition of _optind in section (__DATA,__data)
/usr/lib/libSystem.dylib(getopt.o) unused definition of _optind
/usr/bin/ld: warning unused multiple definitions of symbol _optopt
[...]

Does some know this problem ?

tazzfr [img]images/icons/mad.gif"%20border="0[/img]

bitejames

2002-02-13 03:10:00

I get the same thing, no idea why... However 1.2.2rc3 does produce the executables (1.2.4 does not)... Now if I could only get the program to actually figure out its ip...

[ February 12, 2002: Message edited by: James ]</p>

orange1

2002-02-15 15:07:00

i would think unused definitions wouldn't be that big a deal. i've gotten things to work before with them. just means it's defining a variable it's not using.