From: Jon Wilson <j85wilson@fastmail.fm>
Subject: Re: any ideas on undefined reference
Date: Tue, 05 Dec 2006 09:36:27 -0600 [thread overview]
Message-ID: <457591FB.2050107@fastmail.fm> (raw)
In-Reply-To: <832328.11031.qm@web37713.mail.mud.yahoo.com>
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 main
>
> edit /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
>
> regards
> Gopi
>
>
> ------------------------------------------------------------------------
> 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
> Guile-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/guile-user
>
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
next prev parent reply other threads:[~2006-12-05 15:36 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-04 13:30 any ideas on undefined reference Gopi kumaran
2006-12-05 15:36 ` Jon Wilson [this message]
2006-12-07 3:26 ` Gopi kumaran
2006-12-07 4:01 ` Jon Wilson
-- strict thread matches above, loose matches on Subject: below --
2006-12-07 6:17 Jon Wilson
2006-12-07 6:32 ` Jon Wilson
2006-12-07 6:55 ` Gopi kumaran
2006-12-07 17:03 ` Jon Wilson
2006-12-08 3:23 ` Gopi kumaran
2006-12-08 4:11 ` Jon Wilson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=457591FB.2050107@fastmail.fm \
--to=j85wilson@fastmail.fm \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).