bug-gnu-pw-mgr
[Top][All Lists]
Advanced

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

Re: gnu-pw-mgr 2.7 fails to build on macOS


From: Ryan Schmidt
Subject: Re: gnu-pw-mgr 2.7 fails to build on macOS
Date: Wed, 30 Sep 2020 17:33:49 -0500

On Sep 30, 2020, at 17:05, Bruce Korb wrote:

> Hi,
> 
> On 9/22/20 2:33 AM, Ryan Schmidt wrote:
>> Hi, gnu-pw-mgr 2.4.2 does build on macOS 10.13.6, but gnu-pw-mgr 2.7 does 
>> not; the errors are:
>> 
>> 
>> /bin/sh ../libtool  --tag=CC   --mode=link ccache /usr/bin/clang  -pipe -Os 
>> -arch x86_64 -Wcast-align -Wmissing-prototypes -Wpointer-arith -Wshadow 
>> -Wstrict-prototypes -Wwrite-strings -Wno-format-contains-nul 
>> -fno-strict-aliasing -Wstrict-aliasing=2  -L/opt/local/lib 
>> -Wl,-headerpad_max_install_names -arch x86_64 -o gnu-pw-mgr 
>> gnu_pw_mgr-gnu-pw-mgr.o ../libopts/libopts.la ../lib/libgnu.la     -lintl
>> libtool: link: ccache /usr/bin/clang -pipe -Os -arch x86_64 -Wcast-align 
>> -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes 
>> -Wwrite-strings -Wno-format-contains-nul -fno-strict-aliasing 
>> -Wstrict-aliasing=2 -Wl,-headerpad_max_install_names -arch x86_64 -o 
>> gnu-pw-mgr gnu_pw_mgr-gnu-pw-mgr.o  -L/opt/local/lib 
>> ../libopts/.libs/libopts.a ../lib/.libs/libgnu.a -lintl
>> Undefined symbols for architecture x86_64:
>>   "_canonicalize_file_name", referenced from:
>>       _optionMakePath in libopts.a(libopts_la-libopts.o)
>>   "_fflush_unlocked", referenced from:
>>       _genshelloptUsage in libopts.a(libopts_la-libopts.o)
>>       _optionUsage in libopts.a(libopts_la-libopts.o)
>>       _optionPutShell in libopts.a(libopts_la-libopts.o)
>>       _optionOnlyUsage in libopts.a(libopts_la-libopts.o)
>>       _print_ver in libopts.a(libopts_la-libopts.o)
>>       _text_to_var in libopts.a(libopts_la-libopts.o)
> 
> All this time I've been inadvertently shipping config.h with the libopts 
> tarball. Works fine, as long as the target is Linux. :( I think it might work 
> okay if, after unrolling the tarball, you remove libopts/config.h. :) I'll 
> make for a better fix.

That was it! Thanks.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]