Article View: gnu.g++
Article #192problem with g++-1.36
From: Ron Vasey
Date: Tue, 24 Oct 1989 20:31
Date: Tue, 24 Oct 1989 20:31
18 lines
1071 bytes
1071 bytes
[Posted for adrian@cellar.aca.mcc.com] I have just compiled g++-1.36 on a sun3 running sunos3.5. However, when I tested the compiler with c++-suite-1.00, the compiler failed and somehow it doesn't recognize the main routine. The following is the g++'s messgae when I tried to compile a006.C in c++-suite-1.00/standard/a: a006.C: In function void xlbind (struct Node *, struct Node *, struct Node *):a006.C:57: warning: assignment of integer from pointer lacks a cast a006.C:58: warning: assignment of integer from pointer lacks a cast a006.o: Undefined symbol ___main referenced from text segment Can anybody tell me what's wrong with the compiler? The message which mention ___main is an undefined symbol seems strange. Adrian adrian@mcc.com
Technical Details
Message-ID:
<368@cellar.ACA.MCC.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!pp!cellar!vaseyShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!pp!cellar!vasey From: vasey@cellar.ACA.MCC.COM (Ron Vasey) Newsgroups: gnu.g++,gnu.g++.bug Subject: problem with g++-1.36 Message-ID: <368@cellar.ACA.MCC.COM> Date: 24 Oct 89 20:31:33 GMT Organization: MCC, Austin, TX Lines: 18