[reSIProcate] noob make question (from svn)

Mike Lehmann nakedswamp at gmail.com
Tue Jan 10 13:07:45 CST 2006


hi all,
I am trying to add some headers to resip (to allow p2p overlay
information, but that's a long and boring story).  To do this I have
to modify the gperf files, so I am using the subversion checkouts.

After pulling down the latest, I ran configure and make, and got the
following error (attached is a fuller version of the error, with the
pertinent make step):

../build/../resip/stack/obj.debug.Linux.i686/libresip.a(MethodTypes.o)(.text+0x48):
In function `resip::getMethodType(char const*, int)':
/home/mlehmann/work/resip_checkout/main/resip/stack/MethodTypes.cxx:63:
undefined reference to `resip::MethodHash::in_word_set(char const*,
unsigned int)'
collect2: ld returned 1 exit status
make[1]: *** [bin.debug.Linux.i686/repro] Error 1
make[1]: Leaving directory `/work/mlehmann/resip_checkout/main/repro'
make: *** [repro] Error 2

Checking through the code, I saw that in_word_set() (with those
params) seems to have been properly defined (in HeaderHash.cxx). 
Further, I compared HeaderHash.[ch]xx and MethodHash.[ch]xx between
the svn and the latest tarball, and found only cosmetic differences,
none relating to in_word_set().

I then checked the sipfoundry archives, to see if this problem had
popped up before.  I found a reference to the question in Dec 2004,
but couldn't find an answer...

I'm about to look at the makefile, to make sure that the linker is
referencing whatever object file HeaderHash.cxx turns into, but I
thought it might be a good idea to also seek out the thoughts of
people who actually know the product :)

thanks and regards,
Mike Lehmann
-------------- next part --------------
make[1]: Entering directory `/work/mlehmann/resip_checkout/main/repro'
g++                   -o bin.debug.Linux.i686/repro  obj.debug.Linux.i686/repro.o obj.debug.Linux.i686/RouteStore.o obj.debug.Linux.i686/UserStore.o obj.debug.Linux.i686/ConfigStore.o obj.debug.Linux.i686/AclStore.o obj.debug.Linux.i686/Store.o obj.debug.Linux.i686/AbstractDb.o obj.debug.Linux.i686/BerkeleyDb.o obj.debug.Linux.i686/CommandLineParser.o obj.debug.Linux.i686/HttpBase.o obj.debug.Linux.i686/HttpConnection.o obj.debug.Linux.i686/WebAdmin.o obj.debug.Linux.i686/WebAdminThread.o obj.debug.Linux.i686/Proxy.o obj.debug.Linux.i686/Registrar.o obj.debug.Linux.i686/ReproServerAuthManager.o obj.debug.Linux.i686/RequestContext.o obj.debug.Linux.i686/ResponseContext.o obj.debug.Linux.i686/Processor.o obj.debug.Linux.i686/ProcessorChain.o obj.debug.Linux.i686/Target.o obj.debug.Linux.i686/monkeys/DigestAuthenticator.o obj.debug.Linux.i686/monkeys/StrictRouteFixup.o obj.debug.Linux.i686/monkeys/AmIResponsible.o obj.debug.Linux.i686/monkeys/IsTrustedNode.o obj.debug.Linux.i686/monkeys/ConstantLocationMonkey.o obj.debug.Linux.i686/monkeys/LocationServer.o obj.debug.Linux.i686/monkeys/RecursiveRedirect.o obj.debug.Linux.i686/monkeys/SimpleStaticRoute.o obj.debug.Linux.i686/monkeys/StaticRoute.o obj.debug.Linux.i686/stateAgents/CertServer.o obj.debug.Linux.i686/stateAgents/CertPublicationHandler.o obj.debug.Linux.i686/stateAgents/CertSubscriptionHandler.o obj.debug.Linux.i686/stateAgents/PrivateKeyPublicationHandler.o obj.debug.Linux.i686/stateAgents/PrivateKeySubscriptionHandler.o    -L../build/../resip/dum/obj.debug.Linux.i686  -L../build/../resip/stack/obj.debug.Linux.i686  -L../build/../rutil/obj.debug.Linux.i686  -L../build/../contrib/ares  -ldum  -lresip  -lrutil  -lssl  -lcrypto  -lares  -ldb_cxx  -lpthread  -lpopt
../build/../resip/stack/obj.debug.Linux.i686/libresip.a(MethodTypes.o)(.text+0x48): In function `resip::getMethodType(char const*, int)':
/home/mlehmann/work/resip_checkout/main/resip/stack/MethodTypes.cxx:63: undefined reference to `resip::MethodHash::in_word_set(char const*, unsigned int)'
collect2: ld returned 1 exit status
make[1]: *** [bin.debug.Linux.i686/repro] Error 1
make[1]: Leaving directory `/work/mlehmann/resip_checkout/main/repro'
make: *** [repro] Error 2










More information about the resiprocate-devel mailing list