discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Linking frameworks does not work


From: Andreas Höschler
Subject: Re: Linking frameworks does not work
Date: Wed, 2 May 2018 15:48:02 +0200

Hi all,

additonal info. I have

find /usr/local -name "*.so"

/usr/local/lib/libgnustep-gui.so
/usr/local/lib/libSRMapKit.so
/usr/local/lib/libSRObjects.so
/usr/local/lib/libESMFoundation.so
/usr/local/lib/libFaxServiceFoundation.so
/usr/local/lib/libSRAppKit.so
/usr/local/lib/libSRDesign.so
/usr/local/lib/GNUstep/Frameworks/SRObjects.framework/Versions/1/libSRObjects.so
/usr/local/lib/GNUstep/Frameworks/SRObjects.framework/libSRObjects.so
/usr/local/lib/GNUstep/Frameworks/SRInterface.framework/Versions/1/libSRInterface.so
/usr/local/lib/GNUstep/Frameworks/SRInterface.framework/libSRInterface.so
/usr/local/lib/GNUstep/Frameworks/FaxServiceFoundation.framework/Versions/1/libFaxServiceFoundation.so
/usr/local/lib/GNUstep/Frameworks/FaxServiceFoundation.framework/libFaxServiceFoundation.so
/usr/local/lib/GNUstep/Frameworks/LOCommunication.framework/Versions/1/libLOCommunication.so
/usr/local/lib/GNUstep/Frameworks/LOCommunication.framework/libLOCommunication.so
/usr/local/lib/GNUstep/Frameworks/SRAppKit.framework/Versions/1/libSRAppKit.so
/usr/local/lib/GNUstep/Frameworks/SRAppKit.framework/libSRAppKit.so
/usr/local/lib/GNUstep/Frameworks/SRDesign.framework/Versions/1/libSRDesign.so
/usr/local/lib/GNUstep/Frameworks/SRDesign.framework/libSRDesign.so
/usr/local/lib/GNUstep/Frameworks/SRMapKit.framework/libSRMapKit.so
/usr/local/lib/GNUstep/Frameworks/SRMapKit.framework/Versions/1/libSRMapKit.so
/usr/local/lib/GNUstep/Frameworks/SRFoundation.framework/Versions/1/libSRFoundation.so
/usr/local/lib/GNUstep/Frameworks/SRFoundation.framework/libSRFoundation.so
/usr/local/lib/GNUstep/Frameworks/SRQuery.framework/Versions/1/libSRQuery.so
/usr/local/lib/GNUstep/Frameworks/SRQuery.framework/libSRQuery.so
/usr/local/lib/GNUstep/Frameworks/ESMFoundation.framework/Versions/1/libESMFoundation.so
/usr/local/lib/GNUstep/Frameworks/ESMFoundation.framework/libESMFoundation.so
/usr/local/lib/GNUstep/Frameworks/SREnterprise.framework/Versions/1/libSREnterprise.so
/usr/local/lib/GNUstep/Frameworks/SREnterprise.framework/libSREnterprise.so
/usr/local/lib/libSRQuery.so
/usr/local/lib/libLOCommunication.so
/usr/local/lib/libgnustep-base.so
/usr/local/lib/libSRFoundation.so
/usr/local/lib/libSREnterprise.so
/usr/local/lib/libSRInterface.so

find /usr/local -name "*.a"

<nothing>

The path /usr/local/lib is inmy gcc (link) command:

root@RetinaUbuntu16:/usr/src/FileHub/TabTest# gcc -static -rdynamic      -pthread  -fgnu-runtime -o /Build/TabTest/TabTest.app/./TabTest /Build/TabTest/obj/TabTest.obj/Controller.m.o /Build/TabTest/obj/TabTest.obj/DocumentController.m.o /Build/TabTest/obj/TabTest.obj/main.m.o  -L/usr/local/lib -lESMFoundation -lSRAppKit -lSRDesign -lSREnterprise -lSRFoundation -lSRInterface -lSRMapKit -lSRObjects -lSRQuery    -L/root/GNUstep/Library/Libraries -L/usr/local/lib   -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/lib/i386-linux-gnu  -lESMFoundation -lSRAppKit -lSRDesign -lSREnterprise -lSRFoundation -lSRInterface -lSRMapKit -lSRObjects -lSRQuery  -lgnustep-gui    -lgnustep-base    -lobjc   -lgmp   -lgnutls -lxslt -lxml2 -lffi -lrt -ldl  -lpthread -lz -licui18n -licuuc -licudata  -lm

I still get

/usr/bin/ld: cannot find -lESMFoundation
/usr/bin/ld: cannot find -lSRAppKit
/usr/bin/ld: cannot find -lSRDesign
/usr/bin/ld: cannot find -lSREnterprise
/usr/bin/ld: cannot find -lSRFoundation
/usr/bin/ld: cannot find -lSRInterface
/usr/bin/ld: cannot find -lSRMapKit
/usr/bin/ld: cannot find -lSRObjects
/usr/bin/ld: cannot find -lSRQuery
/usr/bin/ld: cannot find -lESMFoundation
/usr/bin/ld: cannot find -lSRAppKit
...

Thanks,

 Andreas




reply via email to

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