tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkgsrc bootstrap - issue with unconditional --enable- bsd-getopt
Attempting to bootstrap on FreeMiNT chokes on pkg_admin due to mulitply defined symbols (libc & libnbcompat)
gcc -L../libnbcompat -L../../libnbcompat -L../lib -o pkg_admin check.o main.o -linstall -lnbcompat
/usr/lib/libc.a(getopt.o)(.data+0x0): multiple definition of `optind'
../../libnbcompat/libnbcompat.a(getopt.o)(.data+0x4):/e/root/pkgsrc/bootstrap/work/libnbcompat/getopt.c: first defined here
/usr/lib/libc.a(getopt.o)(.data+0x4): multiple definition of `opterr'
./../libnbcompat/libnbcompat.a(getopt.o)(.data+0x0):/e/root/pkgsrc/bootstrap/work/libnbcompat/getopt.c: first defined here
/usr/lib/libc.a(getopt.o)(.text+0xb12): multiple definition of `getopt'
../../libnbcompat/libnbcompat.a(getopt.o):/e/root/pkgsrc/bootstrap/work/libnbcompat/getopt.c:77: first defined here
collect2: ld returned 1 exit status
anyone have any thoughts - apart from just try to use the system getopt?
Home |
Main Index |
Thread Index |
Old Index