ld: unknown option: --version-script

Ryan Schmidt openconnect-2013d at ryandesign.com
Wed Oct 30 22:12:34 EDT 2013


Building openconnect 5.01 on Mac OS X 10.5 Leopard fails as follows:


libtool: link: /usr/bin/gcc-4.2 -dynamiclib -Wl,-undefined  
-Wl,dynamic_lookup -o .libs/libopenconnect.2.dylib   
.libs/libopenconnect_la-version.o .libs/libopenconnect_la-ssl.o  
.libs/libopenconnect_la-http.o .libs/libopenconnect_la-auth.o  
.libs/libopenconnect_la-library.o .libs/libopenconnect_la-compat.o  
.libs/libopenconnect_la-gnutls.o  
.libs/libopenconnect_la-gnutls_pkcs12.o  
.libs/libopenconnect_la-gnutls_tpm.o    
-L/Volumes/Data/macports/leopard/lib  
/Volumes/Data/macports/leopard/lib/libgnutls.dylib  
/Volumes/Data/macports/leopard/lib/libxml2.dylib -lpthread -lz  
/Volumes/Data/macports/leopard/lib/liblzma.dylib  
/Volumes/Data/macports/leopard/lib/libiconv.dylib -lm -lproxy  
/Volumes/Data/macports/leopard/lib/libp11-kit.dylib  
/Volumes/Data/macports/leopard/lib/libintl.dylib  -Os -arch ppc  
-Wl,--version-script -Wl,libopenconnect.map  
-Wl,-headerpad_max_install_names -arch ppc   -pthread -install_name   
/Volumes/Data/macports/leopard/lib/libopenconnect.2.dylib  
-compatibility_version 5 -current_version 5.0 -Wl,-single_module
ld: unknown option: --version-script
collect2: ld returned 1 exit status






More information about the openconnect-devel mailing list