[aspectc-user] building on Ubuntu
Michael Haupt
mhaupt at gmail.com
Sat May 30 17:10:38 CEST 2009
Hi again,
on my quite recent Ubuntu 9.04 box, there is a very unsettling problem
- it does not seem to have anything to do with AspectC++, but perhaps
someone else around here has stumbled over it and can help. Some
Googling did not help so far.
Puma is fine. Linking AspectC++ fails (see below). My libz
*definitely* has the required symbols. Is this some kind of problem
with libxml2? (Adding -lz to the linker command line did not help.)
Help, please... I want to use up-to-date AspectC++ versions... :-(
Best,
Michael
---
Making AspectC++ for TARGET=linux-release
Compiler = g++ -DNDEBUG -I../Puma/include -I/usr/include/libxml2
-O2 -ggdb3 -Wall -pipe -fno-rtti -fno-exceptions
Linker = g++ -O2 -ggdb3 -Wall -pipe -fno-rtti -fno-exceptions
<objects> -static -Wl,-Bstatic -L../Puma/lib/linux-release -lPuma
-lxml2
---
Linking bin/linux-release/ac++.
/usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libxml2.a(nanohttp.o):
In function `xmlNanoHTTPConnectHost':
(.text+0x109e): warning: Using 'getaddrinfo' in statically linked
applications requires at runtime the shared libraries from the glibc
version used for linking
/usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libxml2.a(nanohttp.o):
In function `xmlNanoHTTPConnectHost':
(.text+0x11a4): warning: Using 'gethostbyname' in statically linked
applications requires at runtime the shared libraries from the glibc
version used for linking
/usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libxml2.a(xmlIO.o):
In function `xmlGzfileOpenW':
(.text+0xc16): undefined reference to `gzopen64'
/usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libxml2.a(xmlIO.o):
In function `xmlGzfileOpenW':
(.text+0xc3d): undefined reference to `gzdopen'
/usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libxml2.a(xmlIO.o):
In function `__xmlParserInputBufferCreateFilename':
(.text+0xd73): undefined reference to `gzread'
/usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libxml2.a(xmlIO.o):
In function `__xmlParserInputBufferCreateFilename':
(.text+0xda6): undefined reference to `gzrewind'
/usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libxml2.a(xmlIO.o):
In function `xmlFreeZMemBuff':
(.text+0xed0): undefined reference to `deflateEnd'
/usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libxml2.a(xmlIO.o):
In function `xmlGzfileOpen_real':
(.text+0x12c9): undefined reference to `gzdopen'
/usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libxml2.a(xmlIO.o):
In function `xmlGzfileOpen_real':
(.text+0x1316): undefined reference to `gzopen64'
/usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libxml2.a(xmlIO.o):
In function `xmlGzfileClose':
(.text+0x28ad): undefined reference to `gzclose'
/usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libxml2.a(xmlIO.o):
In function `xmlGzfileWrite':
(.text+0x28ec): undefined reference to `gzwrite'
/usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libxml2.a(xmlIO.o):
In function `xmlIOHTTPCloseWrite':
(.text+0x2a5d): undefined reference to `deflate'
/usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libxml2.a(xmlIO.o):
In function `xmlIOHTTPWrite':
(.text+0x2de3): undefined reference to `deflate'
/usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libxml2.a(xmlIO.o):
In function `xmlIOHTTPWrite':
(.text+0x2eb5): undefined reference to `crc32'
/usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libxml2.a(xmlIO.o):
In function `xmlGzfileRead':
(.text+0x2f8c): undefined reference to `gzread'
/usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libxml2.a(xmlIO.o):
In function `xmlCreateZMemBuff':
(.text+0x3083): undefined reference to `deflateInit2_'
/usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libxml2.a(xmlIO.o):
In function `xmlCreateZMemBuff':
(.text+0x30a9): undefined reference to `crc32'
/usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libxml2.a(nanohttp.o):
In function `xmlNanoHTTPFreeCtxt':
(.text+0xd0b): undefined reference to `inflateEnd'
/usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libxml2.a(nanohttp.o):
In function `xmlNanoHTTPRead':
(.text+0xf4a): undefined reference to `inflate'
/usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libxml2.a(nanohttp.o):
In function `xmlNanoHTTPMethodRedir':
(.text+0x2181): undefined reference to `inflateInit2_'
/usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libxml2.a(threads.o):
In function `xmlRMutexLock':
(.text+0x4a8): undefined reference to `pthread_cond_wait'
/usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libxml2.a(threads.o):
In function `xmlFreeRMutex':
(.text+0x547): undefined reference to `pthread_cond_destroy'
collect2: ld returned 1 exit status
More information about the aspectc-user
mailing list