pkgsrc-Users archive

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

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



What is the appropriate way to submit a patch? Thanks!


On Wed, Mar 29, 2023 at 1:05 AM klu <kludev%gmail.com@localhost> wrote:
>
> 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?


Home | Main Index | Thread Index | Old Index