[reSIProcate] Basic compile help
Byron Campen
bcampen at estacado.net
Thu Nov 9 08:08:56 CST 2006
Looks like you're missing a -lrutil in your LDLIBS. (rutil is the
resip utility library; lots of basic helper stuff that is not
directly related to SIP)
Best regards,
Byron Campen
> I installed resiprocate-1.0 and have run, runtests.sh, testClient
> and testServer
> successfully.
>
> Now Im attempting to compile testClient on my own working directory
> and using my
> own makefile so that I can start testing and modifying that code
> and work my way
> from there.
>
> However when I try to compile I get several errors similar to this:
>
> testClient.cxx:106: undefined reference to 'resip::Log::toLevel
> (resip::Data const&)'
>
> My makefile looks like this:
>
> CC = g++
> LD = g++
>
> RESIP_DIR = /usr/lib/resiprocate-1.0
>
> CCFLAGS = -g -Wall -march=i686 \
> -DREENTRANT -DUSE_SSL -DHAVE_POPT_H \
> -DUSE_ARES \
> -I$(RESIP_DIR) \
> -I$(RESIP_DIR)/lib.debug.Linux.i686 \
> -I$(RESIP_DIR)/contrib/ares
>
> OBJS = testClient.o TestSupport.o
>
> TARGET = testC1
>
> LDFLAGS = -L$(RESIP_DIR)/resip/stack/obj.debug.Linux.i686 \
> -L$(RESIP_DIR)/rutil/obj.debug.Linux.i686 \
> -L$(RESIP_DIR)/contrib/ares
>
> LDLIBS = -lresip -lssl -lcrypto -lares -lpthread -lpopt
>
> all: $(TARGET)
>
> %.o: %.cxx
> $(CC) $(CCFLAGS) $(INCLUDE_PATHS) -c -o $@ $<
>
> $(TARGET): $(OBJS)
> $(LD) -o $@ $(OBJS) $(LDFLAGS) $(LDLIBS)
>
> ================================
>
> I believe I must be making some silly mistake but I can't find it.
> I have looked
> to the readme file in the resip directory and the wiki
> documentation but did not
> find a solution.
>
> Any help would be greatly appreciated.
>
> Victor M.
>
> --
> _________________________________________________________________
> \"If everything seems under control, you\'re just not going
> fast enough.\"
> - Mario Andretti
> _________________________________________________________________
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel at list.sipfoundry.org
> https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2369 bytes
Desc: not available
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20061109/f94128e9/attachment.bin>
More information about the resiprocate-devel
mailing list