[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: any ideas on undefined reference

From: Jon Wilson
Subject: Re: any ideas on undefined reference
Date: Tue, 05 Dec 2006 09:36:27 -0600
User-agent: Thunderbird (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/ 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.

Gopi kumaran wrote:
/usr/lib/crt1.o : undefined reference to main
edit /usr/src/lib/csu/i386-elf/crt1.c .....
extern int main(int,char **,char **);
exit(main(argc, argv,env));
#ifdef GCRT
int main(int argc,char **argv,char **a)
what to do?any ideas regards

Access over 1 million songs - Yahoo! Music Unlimited. <**>

Guile-user mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]