tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Conflicting getopt definition
converters/recode doesn't build on Mac OS X because it brinsg it's
own GNU getopt and teh sysbols collide with those in libc:
/usr/bin/ld: multiple definitions of symbol _getopt
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libc.dylib
(getopt.So) definition of _getopt
../lib/libreco.a(getopt.o) definition of _getopt in section
(__TEXT,__text)
/usr/bin/ld: multiple definitions of symbol _opterr
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libc.dylib
(getopt.So) definition of _opterr
../lib/libreco.a(getopt.o) definition of _opterr in section
(__DATA,__data)
/usr/bin/ld: multiple definitions of symbol _optind
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libc.dylib
(getopt.So) definition of _optind
../lib/libreco.a(getopt.o) definition of _optind in section
(__DATA,__data)
/usr/bin/ld: multiple definitions of symbol _optopt
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libc.dylib
(getopt.So) definition of _optopt
../lib/libreco.a(getopt.o) definition of _optopt in section
(__DATA,__data)
collect2: ld returned 1 exit status
Since this has probably happened with umptenth other pacakges before:
What's the standard way to correct this?
Home |
Main Index |
Thread Index |
Old Index