bug-gnustep
[Top][All Lists]
Advanced

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

framework.make/common.make errors?


From: Stephen Brandon
Subject: framework.make/common.make errors?
Date: Mon, 28 Jan 2002 11:51:26 +0000

Hi,

it looks like some recent changes to framework.make and/or common.make have 
slightly broken framework compilation.

I have frameworks that depend on frameworks. The previously installed 
frameworks are not found in the "-L" path given to the linker. I imagine that 
the same problem will probably occur when I try to link executables to these 
frameworks.

eg:

gcc  -shared -Wl,-soname,libSndKit.so.1.0.0 -o 
SndKit.framework/Versions/A/ix86/linux-gnu/gnu-gnu-gnu/libSndKit.so.1.0.0 
(lots of objects removed for readability)
shared_obj/ix86/linux-gnu/gnu-gnu-gnu/NSFramework_SndKit.o  
shared_obj/ix86/linux-gnu/gnu-gnu-gnu/SndAudioProcessorMP3Encoder.o  
-L/home/sbrandon/GNUstep/Libraries/ix86/linux-gnu/gnu-gnu-gnu 
-L/home/sbrandon/GNUstep/Libraries/ix86/linux-gnu 
-L/usr/GNUstep/Local/Libraries/ix86/linux-gnu/gnu-gnu-gnu 
-L/usr/GNUstep/Local/Libraries/ix86/linux-gnu 
-L/usr/GNUstep/Network/Libraries/ix86/linux-gnu/gnu-gnu-gnu 
-L/usr/GNUstep/Network/Libraries/ix86/linux-gnu 
-L/usr/GNUstep/System/Libraries/ix86/linux-gnu/gnu-gnu-gnu 
-L/usr/GNUstep/System/Libraries/ix86/linux-gnu -lMKPerformSndMIDI -lobjc -lst 
-lgnustep-gui -lshout -lmp3lame  ; (cd 
SndKit.framework/Versions/A/ix86/linux-gnu/gnu-gnu-gnu; rm -f libSndKit.so; 
ln -s libSndKit.so.1.
0.0 libSndKit.so)
/usr/local/i686-pc-linux-gnu/bin/ld: cannot find -lMKPerformSndMIDI


common.make is the place where the "-L" paths are set up:

GNUSTEP_LIBRARIES_FLAGS = \
  -L$(GNUSTEP_USER_ROOT)/Libraries/$(GNUSTEP_TARGET_LDIR) \
  -L$(GNUSTEP_USER_ROOT)/Libraries/$(GNUSTEP_TARGET_DIR) \
  -L$(GNUSTEP_LOCAL_ROOT)/Libraries/$(GNUSTEP_TARGET_LDIR) \
  -L$(GNUSTEP_LOCAL_ROOT)/Libraries/$(GNUSTEP_TARGET_DIR) \
  -L$(GNUSTEP_NETWORK_ROOT)/Libraries/$(GNUSTEP_TARGET_LDIR) \
  -L$(GNUSTEP_NETWORK_ROOT)/Libraries/$(GNUSTEP_TARGET_DIR) \
  -L$(GNUSTEP_SYSTEM_ROOT)/Libraries/$(GNUSTEP_TARGET_LDIR) \
  -L$(GNUSTEP_SYSTEM_ROOT)/Libraries/$(GNUSTEP_TARGET_DIR)

But frameworks are currently being installed in 
$(GNUSTEP_LIBRARIES)/$(GNUSTEP_TARGET_LDIR) where GNUSTEP_LIBRARIES is set to 
$(GNUSTEP_INSTALLATION_DIR)/Libraries in common.make, and in my GNUmakefile I 
set GNUSTEP_INSTALLATION_DIR = $(GNUSTEP_LOCAL_ROOT) [this has always worked 
in the past]

The end result of the preceding paragraph is that the frameworks are being 
installed into /usr/GNUstep/Local



reply via email to

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