help-gnustep
[Top][All Lists]
Advanced

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

Linking custom library problem


From: Sebastien Pierre
Subject: Linking custom library problem
Date: 26 Feb 2003 17:47:15 +0100

Hi all,

Following the advices given by Nicola Pero in his cool "More on GNUstep
Makefiles" tutorial, I made the following two makefiles (were cut for
readability):

<snip title="Library (libPSS) makefile">
# The Piranhas Sip Service Library
LIBRARY_NAME = libPSS
libPSS_HEADERS = $(shell find Headers/PSS -name "*.h")
libPSS_HEADER_FILES = $(shell cd Headers/PSS ; find . -name "*.h")
libPSS_HEADER_FILES_DIR = Headers/PSS
libPSS_HEADER_FILES_INSTALL_DIR = PSS
libPSS_OBJC_FILES = $(shell find Sources/PSS -name "*.m")
libPSS_LIBRARIES_DEPEND_UPON += -lPiranhas -losip -lnana
</snip>

<snip title="Tool makefile">
TOOL_NAME = exampleTests
exampleTests_OBJC_FILES = $(shell find . -name "*.m")
exampleTests_TOOL_LIBS += -lObjcUnit -lPSS
</snip>

The problem is that when building my tool, during the linking phase, I
got stuff like:

Making all for tool exampleTests...
 Linking tool exampleTests ...
/usr/GNUstep/Local/Libraries/ix86/linux-gnu/gnu-gnu-gnu/libPSS.so:
undefined reference to `osip_setcb_ict_kill_transaction'
/usr/GNUstep/Local/Libraries/ix86/linux-gnu/gnu-gnu-gnu/libPSS.so:
undefined reference to `osip_setcb_ict_1xx_received'
/usr/GNUstep/Local/Libraries/ix86/linux-gnu/gnu-gnu-gnu/libPSS.so:
undefined reference to `osip_init'

Which indicates me that libosip was not properly loaded with libPSS...
Any ideas/solutions ?

TIA,

  -- Sebastien





reply via email to

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