From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: X-Archive-Original-Message-ID: <199611120130.UAA11375@system1.virginia.edu> Date: Mon, 11 Nov 1996 20:30:22 -0500 From: Hunter Andreas Ware Subject: GCC linker error... Help? I am trying to compile the VTK, a mesa program for data visualization, and have run into a problem I wondered if anyone else new about. Mesa compiles and runs well w/out shared memory (Working on that too...), and the C part of the VTK compiles and links fine. There is also, however, and TCL interface. The TCL interface seems to compile somewhat ok (read it swallows the code, whining all the way) but on linking it gives a bunch of errors like this... system1: ~/prog/vtk1.2/tclsrc$ make c++ -o vtk tkAppInit.o vtkAutoInit.o vtkTclUtil.o \ -L. -lvtkTcl vtkXRenderWindowInteractor.o \ -L../src -lvtk -L/usr/X11R6/lib -lGL /usr/lib/libtk.so /usr/lib/libtcl.so -ldl -L/usr/X11R6/lib -lXext -lXt -lSM -lICE -lX11 -lm /usr/lib/gcc-lib/alpha-linux/2.7.2/crtend.o(.text+0x14): relocation truncated to fit: LITERAL __CTOR_END__ ./libvtkTcl.a(tclvtkObject.hh.o): In function `vtkObjectCppCommand (vtkObject *, Tcl_Interp *, int, char **)': tclvtkObject.hh.cc(.text+0x610): undefined reference to `_IO_putc' tclvtkObject.hh.cc(.text+0x614): undefined reference to `_IO_putc' ./libvtkTcl.a(tclvtkProperty.hh.o): In function `vtkPropertyCppCommand (vtkProperty *, Tcl_Interp *, int, char **)': tclvtkProperty.hh.cc(.text+0x4a5c): relocation truncated to fit: LITERAL $C229 tclvtkProperty.hh.cc(.text+0x4a78): relocation truncated to fit: LITERAL $C230 tclvtkProperty.hh.cc(.text+0x4a94): relocation truncated to fit: LITERAL $C231 ... < Total about 30 of these > ... tclvtkProperty.hh.cc(.text+0x4d18): relocation truncated to fit: LITERAL $C254 tclvtkProperty.hh.cc(.text+0x4d70): relocation truncated to fit: LITERAL $C255 tclvtkProperty.hh.cc(.text+0x4d94): relocation truncated to fit: LITERAL $C256 ./libvtkTcl.a(tclvtkProperty.hh.o): In function `vtkIdList::~vtkIdList(void)': tclvtkProperty.hh.cc(.text+0x4e00): relocation truncated to fit: LITERAL vtkIdList virtual table ./libvtkTcl.a(tclvtkQuad.hh.o): In function `vtkQuadCommand(void *, Tcl_Interp *, int, char **)': tclvtkQuad.hh.cc(.text+0x30): relocation truncated to fit: LITERAL $C51 tclvtkQuad.hh.cc(.text+0x90): relocation truncated to fit: LITERAL vtkQuadCppCommand(vtkQuad *, Tcl_Interp *, int, char **) ./libvtkTcl.a(tclvtkQuad.hh.o): In function `vtkQuadCppCommand(vtkQuad *, Tcl_Interp *, int, char **)': tclvtkQuad.hh.cc(.text+0x108): relocation truncated to fit: LITERAL temps.558 tclvtkQuad.hh.cc(.text+0x11c): relocation truncated to fit: LITERAL $C52 tclvtkQuad.hh.cc(.text+0x138): relocation truncated to fit: LITERAL $C50 tclvtkQuad.hh.cc(.text+0x190): relocation truncated to fit: LITERAL $C53 ... Pages of this stuff. *sigh* ... vtkStructuredPointsReader.cc(.text+0x44d8): relocation truncated to fit: LITERAL vtkIdList virtual table gcc: Internal compiler error: program ld got fatal signal 11 make: *** [vtk] Error 1 Does anyone have any says into what might be going on here. I know this pig compiles, links, and runs fine on intel gcc 2.7.0 & 2.7.2, and with 3 versions of tcl. Any help would be loved, Hunter -- If the good lord had wanted man to stay on ._ O the ground, he would have given us roots. ~~~\ //\. \ \>> | Don't take life seriously, you'll never get out alive. \ \\ \ Hunter Ware - haw4t@virginia.edu -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com