bayonne-devel
[Top][All Lists]
Advanced

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

Re: [Bayonne-devel] Problems Compiling Bayonne 20040818


From: David Sugar
Subject: Re: [Bayonne-devel] Problems Compiling Bayonne 20040818
Date: Tue, 21 Sep 2004 06:43:55 -0400
User-agent: Mozilla Thunderbird 0.8 (Macintosh/20040913)

That is surrounded by a #ifdef HAVE_URL_CURL. Is HAVE_URL_CURL defined in include/bayonneconfig.h after you ran configure?

Matthew Schneider wrote:
I did not install libcurl. Is this something that is installed by default
with linux? The command rpm -qa shows a curl-devel-7.9.8-1 and a
curl-7.9.8-1. Is this the same thing?
I tried the 'configure --without-url' and I got the following on the 'make':


address@hidden bayonne-20040818]# make
Making all in common
make[1]: Entering directory `/root/bayonne-20040818/common'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/bayonne-20040818/common'
Making all in server
make[1]: Entering directory `/root/bayonne-20040818/server'
/bin/sh ../libtool --mode=link g++  -g -O2 -I/usr/local/include/cc++2 -g -O2
-D_GNU_SOURCE   -o bayonne.bin -export-dynamic  bayonne_bin-server.o
bayonne_bin-config.o bayonne_bin-commands.o bayonne_bin-trunk.o
bayonne_bin-script.o bayonne_bin-fifo.o bayonne_bin-dso.o bayonne_bin-stat.o
bayonne_bin-services.o bayonne_bin-driver.o bayonne_bin-codec.o
bayonne_bin-dtmf.o bayonne_bin-friends.o bayonne_bin-network.o
bayonne_bin-audio.o bayonne_bin-audiofile.o bayonne_bin-fileio.o
../common/libbtlocal.la  -L/usr/local/lib -lccext2 -lccgnu2 -L/usr/lib
-lxml2 -lz -lm -lz -ldl -pthread
g++ -g -O2 -I/usr/local/include/cc++2 -g -O2 -D_GNU_SOURCE -o bayonne.bin
bayonne_bin-server.o bayonne_bin-config.o bayonne_bin-commands.o
bayonne_bin-trunk.o bayonne_bin-script.o bayonne_bin-fifo.o
bayonne_bin-dso.o bayonne_bin-stat.o bayonne_bin-services.o
bayonne_bin-driver.o bayonne_bin-codec.o bayonne_bin-dtmf.o
bayonne_bin-friends.o bayonne_bin-network.o bayonne_bin-audio.o
bayonne_bin-audiofile.o bayonne_bin-fileio.o -pthread -Wl,--export-dynamic
../common/.libs/libbtlocal.a -L/usr/local/lib -L/lib -L/usr/lib
/usr/local/lib/libccext2.so /usr/local/lib/libccgnu2.so /usr/lib/libxml2.so
-lm -lz -ldl -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib
bayonne_bin-server.o: In function `final':
/root/bayonne-20040818/server/server.cpp:710: undefined reference to
`curl_global_cleanup'
bayonne_bin-server.o: In function `initial':
/root/bayonne-20040818/server/server.cpp:1217: undefined reference to
`curl_global_init'
collect2: ld returned 1 exit status
make[1]: *** [bayonne.bin] Error 1
make[1]: Leaving directory `/root/bayonne-20040818/server'
make: *** [all-recursive] Error 1



-----Original Message-----
From: David Sugar [mailto:address@hidden Sent: Monday, September 20, 2004 4:01 PM
To: address@hidden
Cc: address@hidden
Subject: Re: [Bayonne-devel] Problems Compiling Bayonne 20040818

What version of libcurl do you have? You might try "configure --without-url"

Matthew Schneider wrote:

When running a 'make' on Bayonne-20040818 I get the following error:



address@hidden bayonne-20040818]# make

Making all in common

make[1]: Entering directory `/root/bayonne-20040818/common'

make[1]: Nothing to be done for `all'.

make[1]: Leaving directory `/root/bayonne-20040818/common'

Making all in server

make[1]: Entering directory `/root/bayonne-20040818/server'

g++ -DHAVE_CONFIG_H -I. -I. -I../include -fPIC -g -O2 -I/usr/local/include/cc++2 -g -O2 -D_GNU_SOURCE -c -o bayonne_bin-services.o `test -f 'services.cpp' || echo './'`services.cpp

services.cpp: In function `bool ost::urlCopy(const char*, const char*)':

services.cpp:145: `CURLOPT_NOSIGNAL' undeclared (first use this function)

services.cpp:145: (Each undeclared identifier is reported only once for

each

  function it appears in.)

make[1]: *** [bayonne_bin-services.o] Error 1

make[1]: Leaving directory `/root/bayonne-20040818/server'

make: *** [all-recursive] Error 1





I have installed the commoncpp2 1.2.4 package.



This on a fresh install of RedHat 8.



Am I missing some other package?


------------------------------------------------------------------------

_______________________________________________
Bayonne-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/bayonne-devel







reply via email to

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