Article View: gnu.gcc.help
Article #41851What is this __main not defined error?
From: Jack Duan
Date: Wed, 07 Feb 1996 00:00
Date: Wed, 07 Feb 1996 00:00
31 lines
1578 bytes
1578 bytes
Hi there, After I successfully compiled gcc 2.7.2 on my Linux with libc4.6.27, I am having this very weird problem with this new compiler: almost everything that I compile, I will have the following error: 2_/usr/src/linux_# make xconfig rm -f include/asm ( cd include ; ln -sf asm-i386 asm) make -C scripts kconfig.tk make[1]: Entering directory /usr/src/linux/scripts' gcc -I/usr/src/linux/include -o tkparse tkparse.o tkcond.o tkgen.o tkparse.o: In function main': /usr/src/linux/scripts/tkparse.c:603: undefined reference to __main' make[1]: *** [tkparse] Error 1 make[1]: Leaving directory /usr/src/linux/scripts' make: *** [xconfig] Error 2 Any hints will be greately appreciated! Jack PS: please email a copy of your reply. -- Jack Y. Duan ........ : System Administrator for SGI servers--splatter and colossus ( . ) Chemistry Dept., Indiana University, Bloomington, IN . * . jduan@splatter.chem.indiana.edu; http://splatter.chem.indiana.edu/~jduan
Technical Details
Message-ID:
<4faket$91o@usenet.ucs.indiana.edu>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,c373451216b7fc0b,start X-Google-Attributes: gid11318c,public X-Google-Thread: f5392,c373451216b7fc0b,start X-Google-Attributes: gidf5392,public From: jduan@splatter.chem.indiana.edu (Jack Duan) Subject: What is this __main not defined error? Date: 1996/02/07 Message-ID: <4faket$91o@usenet.ucs.indiana.edu> X-Deja-AN: 138299283 organization: Indiana University, Bloomington newsgroups: gnu.gcc.help,comp.os.linux.development.system