Skip to content

Instantly share code, notes, and snippets.

@epipenau
Created December 11, 2014 21:39
Show Gist options
  • Select an option

  • Save epipenau/1cf42e35be0400d79958 to your computer and use it in GitHub Desktop.

Select an option

Save epipenau/1cf42e35be0400d79958 to your computer and use it in GitHub Desktop.
cc -O -I/root/netbsd/src/obj/tooldir.SunOS-5.11-i86pc/include/compat -I/root/netbsd/src/tools/compat -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -I/root/netbsd/src/usr.sbin/mtree -I/root/netbsd/src/sbin/mknod -DHOSTPROG -o pax ar_io.lo ar_subs.lo buf_subs.lo file_subs.lo ftree.lo gen_subs.lo getoldopt.lo options.lo pat_rep.lo pax.lo sel_subs.lo tables.lo tar.lo tty_subs.lo getid.lo spec.lo misc.lo pack_dev.lo cpio.lo -L/root/netbsd/src/obj/tooldir.SunOS-5.11-i86pc/lib -lnbcompat -lrt -lz
Undefined first referenced
symbol in file
optreset /root/netbsd/src/obj/tooldir.SunOS-5.11-i86pc/lib/libnbcompat.a(getopt_long.lo)
ld: fatal: symbol referencing errors. No output written to pax
collect2: error: ld returned 1 exit status
*** Failed target: pax
*** Failed command: cc -O -I/root/netbsd/src/obj/tooldir.SunOS-5.11-i86pc/include/compat -I/root/netbsd/src/tools/compat -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -I/root/netbsd/src/usr.sbin/mtree -I/root/netbsd/src/sbin/mknod -DHOSTPROG -o pax ar_io.lo ar_subs.lo buf_subs.lo file_subs.lo ftree.lo gen_subs.lo getoldopt.lo options.lo pat_rep.lo pax.lo sel_subs.lo tables.lo tar.lo tty_subs.lo getid.lo spec.lo misc.lo pack_dev.lo cpio.lo -L/root/netbsd/src/obj/tooldir.SunOS-5.11-i86pc/lib -lnbcompat -lrt -lz
*** Error code 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment