V prog com[piles fine with BC5.01, but odd errorws under Linux (v. 1.22)
Hi,
When I compile a program I'm writing under Linux (debian 2.1, gcc version
egcs-2.91.60 Debian 2.1 (egcs-1.1.1 release)) I get the following errors:
c++ -g -O2 -L/usr/X11R6/lib -L/usr/local/v/lib -lXm -lXmu -lXt -lXext -lX11
-lV
-o tryit dde.o chiroddecanvas.o chiroddecmdwin.o main_interface.o play1.o
chirodlgs.o
collect2: ld terminated with signal 11 [Segmentation fault]
main_interface.o: In function `ChiroddeApp::NewAppWin(vWindow *, char *,
int,
int, vAppWinInfo *)':
/home/polytope/chiro_dde1/main_interface.cpp:74: multiple definition of
`Mydlgtext'
chiroddecmdwin.o(.bss+0x0):/usr/include/g++-2/stl_uninitialized.h: first
defined here
chirodlgs.o: In function `make: *** [tryit] Error 1
What is collect 2? The signal 11 is odd - it always occurs in the same
place, and I've never had on eon this machine nbefore, so I'm pretty sure
it's not bad memroy.
Mydlgtex is _not_ decalred twice!
I get no errors and it runs fine under BC5.01.
I don't understand what those errors are trying to say...
Ta for any help,
Martin
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
Reply to: