Compiling problem on SGI

Hank Childs childs at forum.llnl.gov
Wed May 31 20:17:23 EDT 2000


Hello Ziji,

When you specify CXX as an environment variable, you are telling VTK what
your C++ compiler is.  You specified it as cc, but that is a C compiler.

Try something like:
env CXX=/bin/CC CC=/bin/cc ./configure ...

Good luck,
Hank Childs

> Hi, there:
> 
> I'm compiling VTK3.1 on a SGI system. I used the following command line to
> configure VTK:
> 
> env CXX=/bin/cc CC=/bin/cc
> ./configure --with-x --with-opengl --with-contrib --with-tcl --with-patented
>  --with-tkwidget
> 
> Then, when I start to compile it, I got the following errors:
> 
> 
> 
> make
>         /bin/cc -o targets ./targets.cxx ./makedepend.cxx
> ./targets.cxx:
> ./makedepend.cxx:
> ld32: ERROR 33: Unresolved text symbol "__nwa__GUi" -- 1st referenced by
> makedepend.o.
>         Use linker option -v to see when and which objects, archives and
> dsos are loaded.
> ld32: ERROR 33: Unresolved text symbol "__nw__GUi" -- 1st referenced by
> makedepend.o.
>         Use linker option -v to see when and which objects, archives and
> dsos are loaded.
> ld32: ERROR 33: Unresolved text symbol "__ct__8ifstreamGPCciT2" -- 1st
> referenced by makedepend.o.
>         Use linker option -v to see when and which objects, archives and
> dsos are loaded.
> ld32: ERROR 33: Unresolved text symbol "getline__7istreamGPcic" -- 1st
> referenced by makedepend.o.
>         Use linker option -v to see when and which objects, archives and
> dsos are loaded.
> ld32: ERROR 33: Unresolved text symbol "close__11fstreambaseGv" -- 1st
> referenced by makedepend.o.
>         Use linker option -v to see when and which objects, archives and
> dsos are loaded.
> ld32: ERROR 33: Unresolved data symbol "openprot__7filebuf" -- 1st
> referenced by makedepend.o.
>         Use linker option -v to see when and which objects, archives and
> dsos are loaded.
> ld32: ERROR 33: Unresolved text symbol "__dl__GPv" -- 1st referenced by
> makedepend.o.
>         Use linker option -v to see when and which objects, archives and
> dsos are loaded.
> ld32: INFO 152: Output file removed because of error.
> *** Error code 2 (bu21)
> 
> 
> But, I can't find what these symbols are. Can anybody out there help me out?
> 
> Thanks a lot.
> 
> Ziji Wu
> No 3055, WPI
> 100 Institute Road
> Worcester, MA 01609
> Office: (508) 831-5976
> wuzj at wpi.edu
> 
> --------------------------------------------------------------------
> This is the private VTK discussion list. Please keep messages on-topic.
> Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
> <majordomo at public.kitware.com>. For help, send message body containing
> "info vtkusers" to the same address.
> --------------------------------------------------------------------
> 

--------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at public.kitware.com>. For help, send message body containing
"info vtkusers" to the same address.
--------------------------------------------------------------------



More information about the vtkusers mailing list