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: Bruce Korb
Subject: Re: gnu-pw-mgr 2.7 fails to build on macOS
Date: Wed, 30 Sep 2020 15:05:14 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0

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.



reply via email to

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