From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jon Wilson Newsgroups: gmane.lisp.guile.user Subject: Re: any ideas on undefined reference Date: Wed, 06 Dec 2006 22:01:09 -0600 Message-ID: <45779205.9050105@fastmail.fm> References: <212850.87317.qm@web37706.mail.mud.yahoo.com> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7BIT X-Trace: sea.gmane.org 1165464028 15819 80.91.229.10 (7 Dec 2006 04:00:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 7 Dec 2006 04:00:28 +0000 (UTC) Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Dec 07 05:00:26 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 1GsAQn-0004nh-84 for guile-user@m.gmane.org; Thu, 07 Dec 2006 05:00:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GsAQm-00073B-T4 for guile-user@m.gmane.org; Wed, 06 Dec 2006 23:00:20 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GsAQh-00072p-Up for guile-user@gnu.org; Wed, 06 Dec 2006 23:00:16 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GsAQh-00072U-5U for guile-user@gnu.org; Wed, 06 Dec 2006 23:00:15 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GsAQh-00072O-12 for guile-user@gnu.org; Wed, 06 Dec 2006 23:00:15 -0500 Original-Received: from [131.225.111.11] (helo=mailgw1.fnal.gov) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GsAQg-0005Vd-F8 for guile-user@gnu.org; Wed, 06 Dec 2006 23:00:14 -0500 Original-Received: from mailav2.fnal.gov (mailav2.fnal.gov [131.225.111.20]) by mailgw1.fnal.gov (iPlanet Messaging Server 5.2 HotFix 2.06 (built Mar 28 2005)) with SMTP id <0J9V00222XPYYR@mailgw1.fnal.gov> for guile-user@gnu.org; Wed, 06 Dec 2006 21:59:53 -0600 (CST) Original-Received: from mailgw1.fnal.gov ([131.225.111.11]) by mailav2.fnal.gov (SAVSMTP 3.1.7.47) with SMTP id M2006120621595319660 for ; Wed, 06 Dec 2006 21:59:53 -0600 Original-Received: from conversion-daemon.mailgw1.fnal.gov by mailgw1.fnal.gov (iPlanet Messaging Server 5.2 HotFix 2.06 (built Mar 28 2005)) id <0J9V00501XA5MS@mailgw1.fnal.gov> (original mail from j85wilson@fastmail.fm) for guile-user@gnu.org; Wed, 06 Dec 2006 21:59:53 -0600 (CST) Original-Received: from [192.168.0.2] (cpe-24-162-120-52.hot.res.rr.com [24.162.120.52]) by mailgw1.fnal.gov (iPlanet Messaging Server 5.2 HotFix 2.06 (built Mar 28 2005)) with ESMTPA id <0J9V000GPXRSYL@mailgw1.fnal.gov> for guile-user@gnu.org; Wed, 06 Dec 2006 21:59:53 -0600 (CST) In-reply-to: <212850.87317.qm@web37706.mail.mud.yahoo.com> Original-To: guile-user@gnu.org User-Agent: Thunderbird 1.5.0.8 (X11/20061115) 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:5709 Archived-At: Hi Gopi, I'm now rather confused. Are you still working on getting guile installed? Everything below seems to be part of libgraph, which is a completely separate animal from guile. On the guile-user mailing list, we might be able to help you install guile (no guarantees, of course), but any other packages are definitely outside of our realm of expertise. Please restrict posts to this mailing list to those dealing with guile in some way. For help installing libgraph, I suggest you seek a mailing list, newsgroup, or forum related specifically to libgraph, or perhaps to FreeBSD in general. Also, if you have managed to fix or workaround any of the errors you have previously described, we would greatly appreciate it if you could explain in as much detail as possible exactly what you did that made the errors go away. That way, we can fix things, so that anyone else who wants to run guile 1.8 on FreeBSD won't have these troubles. So please tell us as much as you can remember of what you've done to make things work. Regards, Jon Gopi kumaran wrote: > Hi Jon > Sorry for the late reply.I was busy with something else, so was not > able to mail you.For that guile-config i will let you know in my next > mail definitely.My friend is on leave.Regarding make errors, now i > dont get any errors,my make command says > "Makefile", line 781: warning: duplicate script for target > "libgraph.pc" ignored > make all-recursive > "Makefile", line 781: warning: duplicate script for target > "libgraph.pc" ignored > > Making all in doc > Making all in man > "Makefile", line 781: warning: duplicate script for target > "libgraph.pc" ignored > > # > I dont know whether make is complete or not.I think its incomplete.But > make install command gives without error, it ends with > > libraries have been installed in : > /usr/local/lib > > If you ever happen to want to link against installed libraries in a > given directory, LIBDIR, you must either use libtool, and specify the > full pathname of the library, or use the '-LIBDIR' flag during linking > and do at least one of the following: > -add LIBDIR to the LD_LIBRARY_PATH environment variable during execution > -add LIBDIR to the LD_RUN_PATH enivronment variable during linking > -use the -WI --rpath -WI --rpath LIBDIR linker flag > > see any operating system documentation about shared libraries for more > information ,such as the ld(1) and ld.so(8) manual pages > --------------------------------------------------------------------------------------- > > Now can u tell me whether libgraph is completely installed or not? > > regards > gopi > > 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. > > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > 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 > > > > > ------------------------------------------------------------------------ > Check out the all-new Yahoo! Mail beta > > - Fire up a more powerful email and get things done faster. > ------------------------------------------------------------------------ > > _______________________________________________ > 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