pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Compilation error in archiver/pax under cygwin, and a patch for the fix



Building archiver/pax under cygwin would give error:

/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld:
ar_subs.o:ar_subs.c:(.bss+0x24d8): multiple definition of `chdname';
ar_io.o:ar_io.c:(.bss+0x20): first defined here
...

Full error log: https://ttm.sh/WPc.txt
And the patch for the fix is attached.

The patch basically changed the initialization of global variable
`chdname` from extern.h to options.c

Wonder if anyone can help take a look at the patch?

Attachment: pax.cygwin.patch
Description: Binary data



Home | Main Index | Thread Index | Old Index