LInking problems

Mumit Khan khan@xraylith.wisc.EDU
Wed Aug 11 11:27:00 GMT 1999


"MR. S.CHANDER" <c9502007@hud.ac.uk> writes:
> Hi,
>    I am using the snapshot as compiled by mumit. Snapshot 19990715 and
> the latest one, both give the same error.
> I get the following error when I try to link:
> /usr/local/H-i586-cygwin32/bin/g++  -c -DDEBUG=1 -ggdb
> source/TransformNode.cpp -o  obj/TransformNode.o
> ar rc lib/libSGGT.a obj/VRMLVisitor.o obj/SGGTVisitor.o obj/RootNode.o
> obj/TransformNode.o obj/GroupNode.o obj/LODNode.o
>  obj/MaterialNode.o obj/DirectionalLightNode.o obj/PointLightNode.o
> obj/SpotLightNode.o obj/GeometryBoxNode.o obj/Geomet
> ryConeNode.o obj/GeometryCylinderNode.o obj/GeometrySphereNode.o
> obj/GeometryFileNode.o obj/Vec3.o obj/RotationVec.o
> /usr/local/H-i586-cygwin32/bin/g++  -c -DDEBUG=1 -ggdb
> source/SGGTTester.cpp -o obj/SGGTTester.o
> /usr/local/H-i586-cygwin32/bin/g++  obj/SGGTTester.o lib/libSGGT.a -o
> bin/SGGTTester
> /usr/local/H-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/2.95/libstdc++.a(
> iostream.o)(.text+0x114):
> undefined referen
> ce to `_imp___ctype_'
> /usr/local/H-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/2.95/libstdc++.a(
> iostream.o)(.text+0x4d1):
> undefined referen
> ce to `_imp___ctype_'
> /usr/local/H-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/2.95/libstdc++.a(
> iovfscanf.o)(.text+0x60):
> undefined referen
> ce to `_imp___ctype_'
> /usr/local/H-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/2.95/libstdc++.a(
> iovfscanf.o)(.text+0x8d):
> undefined referen
> ce to `_imp___ctype_'
> /usr/local/H-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/2.95/libstdc++.a(
> iovfscanf.o)(.text+0x588):
> undefined refere
> nce to `_imp___ctype_'
> /usr/local/H-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/2.95/libstdc++.a(
> iovfscanf.o)(.text+0x5dc):
> more undefined r
> eferences to `_imp___ctype_' follow
> collect2: ld returned 1 exit status
> make: *** [bin/SGGTTester] Error 1
> 
> Anybody have an idea as to what I'm doing wrong???

Did you actually read the README file that comes with gcc-2.95 before
installing the compilers?

If not, please do so. It tells you what to do when you're using Cygwin
development snapshots.

Regards,
Mumit



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list