Article View: gnu.gcc.help
Article #46642Undefined symbol ___main?
From: Marko Schuetz
Date: Sun, 30 Oct 1994 08:46
Date: Sun, 30 Oct 1994 08:46
7 lines
1042 bytes
1042 bytes
Linking programs on linux/gcc 2.5.8/libc 4.5.26 or libc 4.5.19/tools 2.15 I get an error about an undefined symbol ___main. Including libgcc.a from ../gcc-lib/.. in the linker command resolves this. What's wrong with my setup and how do I correct it? Marko P.S. Please respond using email to marko@informatik.uni-frankfurt.de.
Technical Details
Message-ID:
<38vmhv$mtc@zeus.rbi.informatik.uni-frankfurt.de>Path:
arc1-ca.pugleaf.net!nntp.gmd.de!xlink.net!howland.reston.ans.net!swiss.ans.net!news.dfn.de!zeus.rbi.informatik.uni-frankfurt.de!kiste-5.ki.informatik.uni-frankfurt.de!markoShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,6b5aaf3ad0924a34,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1994-10-30 02:33:53 PST Path: arc1-ca.pugleaf.net!nntp.gmd.de!xlink.net!howland.reston.ans.net!swiss.ans.net!news.dfn.de!zeus.rbi.informatik.uni-frankfurt.de!kiste-5.ki.informatik.uni-frankfurt.de!marko From: marko@kiste-5.ki.informatik.uni-frankfurt.de (Marko Schuetz) Newsgroups: gnu.gcc.help Subject: Undefined symbol ___main? Date: 30 Oct 1994 08:46:55 GMT Organization: J. W. Goethe-Universitaet Frankfurt/Main Lines: 8 Distribution: world Message-ID: <38vmhv$mtc@zeus.rbi.informatik.uni-frankfurt.de> NNTP-Posting-Host: kiste-5.ki.informatik.uni-frankfurt.de