|
From: | Jon Wilson |
Subject: | Re: any ideas on undefined reference |
Date: | Tue, 05 Dec 2006 09:36:27 -0600 |
User-agent: | Thunderbird 1.5.0.8 (X11/20061115) |
Hi Gopi,What output did make give before and after the error (just several lines, at LEAST including the call to the compiler or the linker which caused this error)? What are the values of some of your shell variables, such as LD_LIBRARY_PATH, and the contents of the /etc/ld.so.conf file? Have you run ldconfig as root since making any changes to libraries? What compiler and linker are you using, name and version?
It seems as though the linker is not finding the file containing the main function (from the guile source, not the system libs), but we cannot tell for sure without seeing the output from make, and the various other things I listed here.
Regards, Jon Gopi kumaran wrote:
/usr/lib/crt1.o : undefined reference to mainedit /usr/src/lib/csu/i386-elf/crt1.c ........ extern int main(int,char **,char **); ...... exit(main(argc, argv,env)); ..... #ifdef GCRT __asm(".text"); ...... .... #endif int main(int argc,char **argv,char **a) { __asm....................... }what to do?any ideas regardsGopi ------------------------------------------------------------------------Access over 1 million songs - Yahoo! Music Unlimited. <http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=36035/*http://music.yahoo.com/unlimited/>------------------------------------------------------------------------ _______________________________________________ Guile-user mailing list address@hidden http://lists.gnu.org/mailman/listinfo/guile-user
[Prev in Thread] | Current Thread | [Next in Thread] |