* Re: any ideas on undefined reference @ 2006-12-07 6:17 Jon Wilson 2006-12-07 6:32 ` Jon Wilson 0 siblings, 1 reply; 10+ messages in thread From: Jon Wilson @ 2006-12-07 6:17 UTC (permalink / raw) Gopi wrote: Hi Jon, The solution which my friend found on guile-config are First the error is : guile-config : permission denied Is guile installed Now edit guile-config file Actually the path which libgraph chooses to put all the guile execution files is /usr/local/bin So in the first 3 lines you may be having some other path mentioned. Because of this it is asking the question "Is guile installed". Change it to the path /usr/local/bin and save it I hope this gave the solution regards Gopi */Jon Wilson <j85wilson@fastmail.fm>/* wrote: 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 ------------------------------------------------------------------------ Cheap Talk? Check out <http://us.rd.yahoo.com/mail_us/taglines/postman8/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com> Yahoo! Messenger's low PC-to-Phone call rates. _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: any ideas on undefined reference 2006-12-07 6:17 any ideas on undefined reference Jon Wilson @ 2006-12-07 6:32 ` Jon Wilson 2006-12-07 6:55 ` Gopi kumaran 0 siblings, 1 reply; 10+ messages in thread From: Jon Wilson @ 2006-12-07 6:32 UTC (permalink / raw) Hi Gopi, Also, we would like the solutions to your problems with: - crt1.o undefined reference to main - alloca - libltdl not found These would all be exceedingly useful to us. You have mentioned libgraph again. What does libgraph have to do with this? Are you installing guile, or are you installing libgraph? Yes, you might desire to do both, but please let us not confuse the issue by conflating the two. "The path which libgraph chooses to put all the guile execution files is /usr/local/bin" This makes no sense. Libgraph does not install guile, or if it does, then any problems with libgraph's installation of guile should properly be taken up with the libgraph people, not with us. They might then come to us for help figuring out how to make their installer work, but if their installer does not work, then that is their concern, not directly ours. How are you attempting to install guile? I (and everyone else I suspect) have been working from the assumption that you have downloaded the guile-1.8.1 source tarball from "http://ftp.gnu.org/pub/gnu/guile/guile-1.8.1.tar.gz", unpacked it into a fresh directory, moved into that directory, run ./configure, make, and make install. Is this what you have done? If so, then what does libgraph have to do with anything? I have been attempting to help you solve your problems with really a bare minimum of information, but I seem to have run up against a wall. If you do not provide clear and detailed information about what you are trying to do and how you are trying to go about doing it, I am afraid I will not really be able to help you any further. I am sorry to be a little bit harsh, but I feel that that is better than simply giving up and ignoring any further requests for help. Regards, Jon Gopi wrote: > Hi Jon, > The solution which my friend found on guile-config are > > First the error is : > guile-config : permission denied > Is guile installed > > Now edit guile-config file > Actually the path which libgraph chooses to put all the guile > execution files is /usr/local/bin > So in the first 3 lines you may be having some other path mentioned. > Because of this it is asking the question "Is guile installed". > Change it to the path /usr/local/bin and save it > > I hope this gave the solution > > regards > Gopi > > > > > > > > */Jon Wilson <j85wilson@fastmail.fm>/* wrote: > > 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 > > > > > ------------------------------------------------------------------------ > Cheap Talk? Check out > <http://us.rd.yahoo.com/mail_us/taglines/postman8/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com> > Yahoo! Messenger's low PC-to-Phone call rates. > > > _______________________________________________ > 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 ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: any ideas on undefined reference 2006-12-07 6:32 ` Jon Wilson @ 2006-12-07 6:55 ` Gopi kumaran 2006-12-07 17:03 ` Jon Wilson 0 siblings, 1 reply; 10+ messages in thread From: Gopi kumaran @ 2006-12-07 6:55 UTC (permalink / raw) [-- Attachment #1.1: Type: text/plain, Size: 8978 bytes --] Hi Jon Sorry for confusing you with libgraph.I am trying to use graphics in unix environment with c program.Guile was need by libgraph installlation, so i went for guile.Let us forget about libgraph.Guile was installed exactly as you said from that ftp , tar ,unzip ,configure make and make install.Now it works well with version also.guile-config --version. - crt1.o - it is related to libgraph so forget it - alloca -as you said i have given #undef alloca in that c source file - libtdl not found - i think for that i have downloaded libtool tar file and then run ./configure --prefix=/usr && make && make install Never mind for your harsh words, I hope my mail made it so.No more 'libgraph' words in my mail. You are welcome to ask anything further regards Gopi Jon Wilson <j85wilson@fastmail.fm> wrote: Hi Gopi, Also, we would like the solutions to your problems with: - crt1.o undefined reference to main - alloca - libltdl not found These would all be exceedingly useful to us. You have mentioned libgraph again. What does libgraph have to do with this? Are you installing guile, or are you installing libgraph? Yes, you might desire to do both, but please let us not confuse the issue by conflating the two. "The path which libgraph chooses to put all the guile execution files is /usr/local/bin" This makes no sense. Libgraph does not install guile, or if it does, then any problems with libgraph's installation of guile should properly be taken up with the libgraph people, not with us. They might then come to us for help figuring out how to make their installer work, but if their installer does not work, then that is their concern, not directly ours. How are you attempting to install guile? I (and everyone else I suspect) have been working from the assumption that you have downloaded the guile-1.8.1 source tarball from "http://ftp.gnu.org/pub/gnu/guile/guile-1.8.1.tar.gz", unpacked it into a fresh directory, moved into that directory, run ./configure, make, and make install. Is this what you have done? If so, then what does libgraph have to do with anything? I have been attempting to help you solve your problems with really a bare minimum of information, but I seem to have run up against a wall. If you do not provide clear and detailed information about what you are trying to do and how you are trying to go about doing it, I am afraid I will not really be able to help you any further. I am sorry to be a little bit harsh, but I feel that that is better than simply giving up and ignoring any further requests for help. Regards, Jon Gopi wrote: > Hi Jon, > The solution which my friend found on guile-config are > > First the error is : > guile-config : permission denied > Is guile installed > > Now edit guile-config file > Actually the path which libgraph chooses to put all the guile > execution files is /usr/local/bin > So in the first 3 lines you may be having some other path mentioned. > Because of this it is asking the question "Is guile installed". > Change it to the path /usr/local/bin and save it > > I hope this gave the solution > > regards > Gopi > > > > > > > > */Jon Wilson /* wrote: > > 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 > > > > > ------------------------------------------------------------------------ > Cheap Talk? Check out > > Yahoo! Messenger's low PC-to-Phone call rates. > > > _______________________________________________ > 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 --------------------------------- Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. [-- Attachment #1.2: Type: text/html, Size: 11472 bytes --] [-- Attachment #2: Type: text/plain, Size: 140 bytes --] _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: any ideas on undefined reference 2006-12-07 6:55 ` Gopi kumaran @ 2006-12-07 17:03 ` Jon Wilson 2006-12-08 3:23 ` Gopi kumaran 0 siblings, 1 reply; 10+ messages in thread From: Jon Wilson @ 2006-12-07 17:03 UTC (permalink / raw) Hi Gopi, Thanks for all the information. So guile is working now? Wonderful! I hope that you can get libgraph working just fine as well. Regards, Jon Gopi kumaran wrote: > Hi Jon > Sorry for confusing you with libgraph.I am trying to use graphics in > unix environment with c program.Guile was need by libgraph > installlation, so i went for guile.Let us forget about libgraph.Guile > was installed exactly as you said from that ftp , tar ,unzip > ,configure make and make install.Now it works well with version > also.guile-config --version. > > - crt1.o - it is related to libgraph so forget it > - alloca -as you said i have given #undef alloca in that c source file > - libtdl not found - i think for that i have downloaded libtool tar > file and then run ./configure --prefix=/usr && make && make install > > Never mind for your harsh words, I hope my mail made it so.No more > 'libgraph' words in my mail. > > You are welcome to ask anything further > > regards > Gopi > > > */Jon Wilson <j85wilson@fastmail.fm>/* wrote: > > Hi Gopi, > Also, we would like the solutions to your problems with: > - crt1.o undefined reference to main > - alloca > - libltdl not found > These would all be exceedingly useful to us. > > You have mentioned libgraph again. What does libgraph have to do with > this? Are you installing guile, or are you installing libgraph? Yes, > you might desire to do both, but please let us not confuse the > issue by > conflating the two. > > "The path which libgraph chooses to put all the guile execution > files is > /usr/local/bin" > > This makes no sense. Libgraph does not install guile, or if it does, > then any problems with libgraph's installation of guile should > properly > be taken up with the libgraph people, not with us. They might then > come > to us for help figuring out how to make their installer work, but if > their installer does not work, then that is their concern, not > directly > ours. How are you attempting to install guile? I (and everyone else I > suspect) have been working from the assumption that you have > downloaded > the guile-1.8.1 source tarball from > "http://ftp.gnu.org/pub/gnu/guile/guile-1.8.1.tar.gz", unpacked it > into > a fresh directory, moved into that directory, run ./configure, > make, and > make install. Is this what you have done? If so, then what does > libgraph have to do with anything? > > I have been attempting to help you solve your problems with really a > bare minimum of information, but I seem to have run up against a > wall. > If you do not provide clear and detailed information about what > you are > trying to do and how you are trying to go about doing it, I am > afraid I > will not really be able to help you any further. I am sorry to be a > little bit harsh, but I feel that that is better than simply > giving up > and ignoring any further requests for help. > Regards, > Jon > > Gopi wrote: > > Hi Jon, > > The solution which my friend found on guile-config are > > > > First the error is : > > guile-config : permission denied > > Is guile installed > > > > Now edit guile-config file > > Actually the path which libgraph chooses to put all the guile > > execution files is /usr/local/bin > > So in the first 3 lines you may be having some other path > mentioned. > > Because of this it is asking the question "Is guile installed". > > Change it to the path /usr/local/bin and save it > > > > I hope this gave the solution > > > > regards > > Gopi > > > > > > > > > > > > > > > > */Jon Wilson /* wrote: > > > > 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 > > > > > > > > > > > ------------------------------------------------------------------------ > > Cheap Talk? Check out > > > > Yahoo! Messenger's low PC-to-Phone call rates. > > > > > > _______________________________________________ > > 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 > > > > > ------------------------------------------------------------------------ > Cheap Talk? Check out > <http://us.rd.yahoo.com/mail_us/taglines/postman8/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com> > Yahoo! Messenger's low PC-to-Phone call rates. _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: any ideas on undefined reference 2006-12-07 17:03 ` Jon Wilson @ 2006-12-08 3:23 ` Gopi kumaran 2006-12-08 4:11 ` Jon Wilson 0 siblings, 1 reply; 10+ messages in thread From: Gopi kumaran @ 2006-12-08 3:23 UTC (permalink / raw) [-- Attachment #1.1: Type: text/plain, Size: 10243 bytes --] Hi You are welcome.Everything under guile is working fine now.I have to go through other libgraph forumns.Is my guile error really a bug?Was my information useful?Are you member of guile development team? Regards Gopi Jon Wilson <j85wilson@fastmail.fm> wrote: Hi Gopi, Thanks for all the information. So guile is working now? Wonderful! I hope that you can get libgraph working just fine as well. Regards, Jon Gopi kumaran wrote: > Hi Jon > Sorry for confusing you with libgraph.I am trying to use graphics in > unix environment with c program.Guile was need by libgraph > installlation, so i went for guile.Let us forget about libgraph.Guile > was installed exactly as you said from that ftp , tar ,unzip > ,configure make and make install.Now it works well with version > also.guile-config --version. > > - crt1.o - it is related to libgraph so forget it > - alloca -as you said i have given #undef alloca in that c source file > - libtdl not found - i think for that i have downloaded libtool tar > file and then run ./configure --prefix=/usr && make && make install > > Never mind for your harsh words, I hope my mail made it so.No more > 'libgraph' words in my mail. > > You are welcome to ask anything further > > regards > Gopi > > > */Jon Wilson /* wrote: > > Hi Gopi, > Also, we would like the solutions to your problems with: > - crt1.o undefined reference to main > - alloca > - libltdl not found > These would all be exceedingly useful to us. > > You have mentioned libgraph again. What does libgraph have to do with > this? Are you installing guile, or are you installing libgraph? Yes, > you might desire to do both, but please let us not confuse the > issue by > conflating the two. > > "The path which libgraph chooses to put all the guile execution > files is > /usr/local/bin" > > This makes no sense. Libgraph does not install guile, or if it does, > then any problems with libgraph's installation of guile should > properly > be taken up with the libgraph people, not with us. They might then > come > to us for help figuring out how to make their installer work, but if > their installer does not work, then that is their concern, not > directly > ours. How are you attempting to install guile? I (and everyone else I > suspect) have been working from the assumption that you have > downloaded > the guile-1.8.1 source tarball from > "http://ftp.gnu.org/pub/gnu/guile/guile-1.8.1.tar.gz", unpacked it > into > a fresh directory, moved into that directory, run ./configure, > make, and > make install. Is this what you have done? If so, then what does > libgraph have to do with anything? > > I have been attempting to help you solve your problems with really a > bare minimum of information, but I seem to have run up against a > wall. > If you do not provide clear and detailed information about what > you are > trying to do and how you are trying to go about doing it, I am > afraid I > will not really be able to help you any further. I am sorry to be a > little bit harsh, but I feel that that is better than simply > giving up > and ignoring any further requests for help. > Regards, > Jon > > Gopi wrote: > > Hi Jon, > > The solution which my friend found on guile-config are > > > > First the error is : > > guile-config : permission denied > > Is guile installed > > > > Now edit guile-config file > > Actually the path which libgraph chooses to put all the guile > > execution files is /usr/local/bin > > So in the first 3 lines you may be having some other path > mentioned. > > Because of this it is asking the question "Is guile installed". > > Change it to the path /usr/local/bin and save it > > > > I hope this gave the solution > > > > regards > > Gopi > > > > > > > > > > > > > > > > */Jon Wilson /* wrote: > > > > 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 > > > > > > > > > > > ------------------------------------------------------------------------ > > Cheap Talk? Check out > > > > Yahoo! Messenger's low PC-to-Phone call rates. > > > > > > _______________________________________________ > > 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 > > > > > ------------------------------------------------------------------------ > Cheap Talk? Check out > > Yahoo! Messenger's low PC-to-Phone call rates. _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user --------------------------------- Everyone is raving about the all-new Yahoo! Mail beta. [-- Attachment #1.2: Type: text/html, Size: 13781 bytes --] [-- Attachment #2: Type: text/plain, Size: 140 bytes --] _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: any ideas on undefined reference 2006-12-08 3:23 ` Gopi kumaran @ 2006-12-08 4:11 ` Jon Wilson 0 siblings, 0 replies; 10+ messages in thread From: Jon Wilson @ 2006-12-08 4:11 UTC (permalink / raw) Cc: guile-user Hi Gopi, Thanks very much for the information, particularly about the alloca bug. It looks at present like it is a problem with autoconf (which is where the ./configure script comes from, among other things), that is sort of inherited by guile. That particular bit of code changed quite a bit between guile 1.6.4 (which compiles fine on FreeBSD) and guile 1.8.1 (which as you know, has problems). So yes, your information was quite useful, although if guile had been tested to build on a BSD system before the 1.8 release, this probably wouldn't have come up. No, I am not a guile developer. There are much more thoroughly knowledgeable people than myself who do that sort of thing. I am just a regular old guile user. Thanks for letting me help you! Regards, Jon Wilson Gopi kumaran wrote: > Hi > You are welcome.Everything under guile is working fine now.I have to > go through other libgraph forumns.Is my guile error really a bug?Was > my information useful?Are you member of guile development team? > > Regards > Gopi > > */Jon Wilson <j85wilson@fastmail.fm>/* wrote: > > Hi Gopi, > Thanks for all the information. So guile is working now? Wonderful! I > hope that you can get libgraph working just fine as well. > Regards, > Jon > > Gopi kumaran wrote: > > Hi Jon > > Sorry for confusing you with libgraph.I am trying to use > graphics in > > unix environment with c program.Guile was need by libgraph > > installlation, so i went for guile.Let us forget about > libgraph.Guile > > was installed exactly as you said from that ftp , tar ,unzip > > ,configure make and make install.Now it works well with version > > also.guile-config --version. > > > > - crt1.o - it is related to libgraph so forget it > > - alloca -as you said i have given #undef alloca in that c > source file > > - libtdl not found - i think for that i have downloaded libtool tar > > file and then run ./configure --prefix=/usr && make && make install > > > > Never mind for your harsh words, I hope my mail made it so.No more > > 'libgraph' words in my mail. > > > > You are welcome to ask anything further > > > > regards > > Gopi > > > > > > */Jon Wilson /* wrote: > > > > Hi Gopi, > > Also, we would like the solutions to your problems with: > > - crt1.o undefined reference to main > > - alloca > > - libltdl not found > > These would all be exceedingly useful to us. > > > > You have mentioned libgraph again. What does libgraph have to do > with > > this? Are you installing guile, or are you installing libgraph? Yes, > > you might desire to do both, but please let us not confuse the > > issue by > > conflating the two. > > > > "The path which libgraph chooses to put all the guile execution > > files is > > /usr/local/bin" > > > > This makes no sense. Libgraph does not install guile, or if it does, > > then any problems with libgraph's installation of guile should > > properly > > be taken up with the libgraph people, not with us. They might then > > come > > to us for help figuring out how to make their installer work, but if > > their installer does not work, then that is their concern, not > > directly > > ours. How are you attempting to install guile? I (and everyone > else I > > suspect) have been working from the assumption that you have > > downloaded > > the guile-1.8.1 source tarball from > > "http://ftp.gnu.org/pub/gnu/guile/guile-1.8.1.tar.gz", unpacked it > > into > > a fresh directory, moved into that directory, run ./configure, > > make, and > > make install. Is this what you have done? If so, then what does > > libgraph have to do with anything? > > > > I have been attempting to help you solve your problems with really a > > bare minimum of information, but I seem to have run up against a > > wall. > > If you do not provide clear and detailed information about what > > you are > > trying to do and how you are trying to go about doing it, I am > > afraid I > > will not really be able to help you any further. I am sorry to be a > > little bit harsh, but I feel that that is better than simply > > giving up > > and ignoring any further requests for help. > > Regards, > > Jon > > > > Gopi wrote: > > > Hi Jon, > > > The solution which my friend found on guile-config are > > > > > > First the error is : > > > guile-config : permission denied > > > Is guile installed > > > > > > Now edit guile-config file > > > Actually the path which libgraph chooses to put all the guile > > > execution files is /usr/local/bin > > > So in the first 3 lines you may be having some other path > > mentioned. > > > Because of this it is asking the question "Is guile installed". > > > Change it to the path /usr/local/bin and save it > > > > > > I hope this gave the solution > > > > > > regards > > > Gopi > > > > > > > > > > > > > > > > > > > > > > > > */Jon Wilson /* wrote: > > > > > > 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 > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > Cheap Talk? Check out > > > > > > Yahoo! Messenger's low PC-to-Phone call rates. > > > > > > > > > _______________________________________________ > > > 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 > > > > > > > > > > > ------------------------------------------------------------------------ > > Cheap Talk? Check out > > > > Yahoo! Messenger's low PC-to-Phone call rates. > > > > _______________________________________________ > Guile-user mailing list > Guile-user@gnu.org > http://lists.gnu.org/mailman/listinfo/guile-user > > > > > ------------------------------------------------------------------------ > Everyone is raving about the all-new Yahoo! Mail beta. > <http://us.rd.yahoo.com/evt=45083/*http://advision.webevents.yahoo.com/mailbeta> > > ------------------------------------------------------------------------ > > _______________________________________________ > 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 ^ permalink raw reply [flat|nested] 10+ messages in thread
* any ideas on undefined reference @ 2006-12-04 13:30 Gopi kumaran 2006-12-05 15:36 ` Jon Wilson 0 siblings, 1 reply; 10+ messages in thread From: Gopi kumaran @ 2006-12-04 13:30 UTC (permalink / raw) [-- Attachment #1.1: Type: text/plain, Size: 482 bytes --] /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. [-- Attachment #1.2: Type: text/html, Size: 889 bytes --] [-- Attachment #2: Type: text/plain, Size: 140 bytes --] _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: any ideas on undefined reference 2006-12-04 13:30 Gopi kumaran @ 2006-12-05 15:36 ` Jon Wilson 2006-12-07 3:26 ` Gopi kumaran 0 siblings, 1 reply; 10+ messages in thread From: Jon Wilson @ 2006-12-05 15:36 UTC (permalink / raw) 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 ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: any ideas on undefined reference 2006-12-05 15:36 ` Jon Wilson @ 2006-12-07 3:26 ` Gopi kumaran 2006-12-07 4:01 ` Jon Wilson 0 siblings, 1 reply; 10+ messages in thread From: Gopi kumaran @ 2006-12-07 3:26 UTC (permalink / raw) [-- Attachment #1.1: Type: text/plain, Size: 3273 bytes --] 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. [-- Attachment #1.2: Type: text/html, Size: 4245 bytes --] [-- Attachment #2: Type: text/plain, Size: 140 bytes --] _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: any ideas on undefined reference 2006-12-07 3:26 ` Gopi kumaran @ 2006-12-07 4:01 ` Jon Wilson 0 siblings, 0 replies; 10+ messages in thread From: Jon Wilson @ 2006-12-07 4:01 UTC (permalink / raw) 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 > <http://us.rd.yahoo.com/evt=43257/*http://advision.webevents.yahoo.com/mailbeta> > - 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 ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2006-12-08 4:11 UTC | newest] Thread overview: 10+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2006-12-07 6:17 any ideas on undefined reference 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 -- strict thread matches above, loose matches on Subject: below -- 2006-12-04 13:30 Gopi kumaran 2006-12-05 15:36 ` Jon Wilson 2006-12-07 3:26 ` Gopi kumaran 2006-12-07 4:01 ` Jon Wilson
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).