Subject: Problems with c++ source
To: None <port-arm32@NetBSD.ORG>
From: Peter Berg <Peter.Berg@ww.tu-freiberg.de>
List: port-arm32
Date: 11/24/1996 13:14:44
Hi,
if I try to compile a c++ program I get the following error:
rm -f dxpc
g++ -o dxpc -L/usr/X11R6/lib main.o util.o constants.o Stats.o
Multiplexer.o ClientMultiplexer.o ServerMultiplexer.o ClientChannel.o
ServerChannel.o ReadBuffer.o ProxyReadBuffer.o ClientReadBuffer.o
ServerReadBuffer.o EncodeBuffer.o DecodeBuffer.o WriteBuffer.o IntCache.o
CharCache.o PixelCache.o HuffmanCoder.o ClientCache.o ServerCache.o
TextCompressor.o LastPixels.o SequenceNumQueue.o BlockCache.o BlockCacheSet.o
-lcompat /usr/lib/fpesetmask.o
*** Error code 1
Stop.
collect2: ld returned 1 exit status
stdstrbufs.o(.data+0x3c): undefined reference to `filebuf virtual table'
stdstrbufs.o(.data+0x88): undefined reference to `filebuf virtual table'
stdstrbufs.o(.data+0xd4): undefined reference to `filebuf virtual table'
stdstrbufs.o(.data+0x120): undefined reference to `stdiobuf virtual table'
stdstrbufs.o(.data+0x170): undefined reference to `stdiobuf virtual table'
stdstrbufs.o(.data+0x1c0): undefined reference to `stdiobuf virtual table'
Any suggestions why this happens and how I can fix it ?
I use v1.1 and gcc2.7.2
Ciao, Peter
_____ _ ____ _____ _____
| __ \(_) | _ \ / ____| __ \
| |__) |_ ___ ___| |_) | (___ | | | |
| _ /| / __|/ __| _ < \___ \| | | |
| | \ \| \__ \ (__| |_) |____) | |__| |
|_| \_\_|___/\___|____/|_____/|_____/
E-Mail: Peter.Berg@ww.tu-freiberg.de
WWW : http://www.ww.tu-freiberg.de/~pberg