From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Gopi kumaran Newsgroups: gmane.lisp.guile.user Subject: any ideas on undefined reference Date: Mon, 4 Dec 2006 05:30:48 -0800 (PST) Message-ID: <832328.11031.qm@web37713.mail.mud.yahoo.com> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0012621246==" X-Trace: sea.gmane.org 1165239087 29651 80.91.229.10 (4 Dec 2006 13:31:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 4 Dec 2006 13:31:27 +0000 (UTC) Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Dec 04 14:31:24 2006 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1GrDuj-0006ly-OF for guile-user@m.gmane.org; Mon, 04 Dec 2006 14:31:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GrDuj-0007ct-9G for guile-user@m.gmane.org; Mon, 04 Dec 2006 08:31:21 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GrDuH-0007cR-JI for guile-user@gnu.org; Mon, 04 Dec 2006 08:30:53 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GrDuE-0007bO-Fu for guile-user@gnu.org; Mon, 04 Dec 2006 08:30:52 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GrDuE-0007bL-9W for guile-user@gnu.org; Mon, 04 Dec 2006 08:30:50 -0500 Original-Received: from [209.191.87.111] (helo=web37713.mail.mud.yahoo.com) by monty-python.gnu.org with smtp (Exim 4.52) id 1GrDuE-0007N0-4D for guile-user@gnu.org; Mon, 04 Dec 2006 08:30:50 -0500 Original-Received: (qmail 12232 invoked by uid 60001); 4 Dec 2006 13:30:48 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=tNsMJKdb7tmlP+TKOW5Flxm5hsDEukjneuPEt34qUycup1zvTj5qVAQ6ebRQtM0aF29VpugyOyY/4SmeLHZE6Nxj9EaRZOYdSpq1YCOhlz7ePbBH0xA09+YhjOVBeCuD3TaL3Ntz88c70MTbZ6A4tR+dPU4MYz4YbzYSAO77X+A=; X-YMail-OSG: fv1nlbsVM1nkKdFZHIqdB1y3v1ihBThba3yeuH702AZf5j0QKRyOXc8L.60ZHsNWTQ-- Original-Received: from [125.17.7.17] by web37713.mail.mud.yahoo.com via HTTP; Mon, 04 Dec 2006 05:30:48 PST Original-To: guile-user@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:5700 Archived-At: --===============0012621246== Content-Type: multipart/alternative; boundary="0-1935956953-1165239048=:11031" Content-Transfer-Encoding: 8bit --0-1935956953-1165239048=:11031 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit /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. --0-1935956953-1165239048=:11031 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit
/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. --0-1935956953-1165239048=:11031-- --===============0012621246== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user --===============0012621246==--