[<<] [<] Page 1 of 1 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [gnupic] Compiling gpsim 0.22.0 on OS X 10.4.10
From: Rick Altherr ####@####.#### Date: 10 Sep 2007 00:18:18 +0100 Message-Id: <C4152312-57C1-45C4-A723-EB66FC45C539@kc8apf.net> The first few errors are due to a few readline functions not being found. Are you sure you have it installed, that the header was found properly, and that the version installed is recent? -- Rick Altherr ####@####.#### "He said he hadn't had a byte in three days. I had a short, so I split it with him." -- Slashdot signature On Sep 9, 2007, at 3:51 PM, Richard Speir wrote: > I've been having trouble compiling gpsim on my machine. I think I > got gtk, > readline, and all the various dependencies and subdepenedncies > installed ok, > though I can't say for certain as I'm relatively new at this > stuff. At any > rate, gpsim's configuration utility runs ok and doesn't report any > missing > parts. However, when I run the makefile to compile gpsim, I get the > following error: > input.cc: In function 'char** gpsim_completion(const char*, int, > int)': > input.cc:738: error: 'rl_completion_matches' was not declared in > this scope > input.cc: In function 'void redisplay_prompt()': > input.cc:852: error: 'rl_forced_update_display' was not declared in > this > scope > input.cc: In function 'void initialize_readline()': > input.cc:896: error: invalid conversion from 'int (*)(FILE*)' to 'int > (*)(const char*, int)' > input.cc:917: error: invalid conversion from 'void (*)(char*)' to > 'void > (*)()' > input.cc:917: error: initializing argument 2 of 'void > rl_callback_handler_install(const char*, void (*)())' > make[2]: *** [input.lo] Error 1 > make[1]: *** [all-recursive] Error 1 > make: *** [all] Error 2 > > Does anyone know how to fix this problem, or even better, where one > could > find a precompiled gpsim executable for OS X? | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [gnupic] Compiling gpsim 0.22.0 on OS X 10.4.10
From: "Xiaofan Chen" ####@####.#### Date: 10 Sep 2007 00:22:57 +0100 Message-Id: <a276da400709091622w7e0529b2q9d13f16375d06c07@mail.gmail.com> On 9/10/07, Richard Speir ####@####.#### wrote: > I've been having trouble compiling gpsim on my machine. I think I got gtk, > readline, and all the various dependencies and subdepenedncies installed ok, > though I can't say for certain as I'm relatively new at this stuff. At any > rate, gpsim's configuration utility runs ok and doesn't report any missing > parts. However, when I run the makefile to compile gpsim, I get the > following error: > input.cc: In function 'char** gpsim_completion(const char*, int, int)': > ... > Does anyone know how to fix this problem, or even better, where one could > find a precompiled gpsim executable for OS X? http://forum.microchip.com/tm.aspx?m=236512 http://hazy.stupor.org/blog/archives/22 http://www.makezine.com/extras/13.html http://www.1710.co.uk/picosx/ http://forum.microchip.com/tm.aspx?m=241692 http://forum.microchip.com/tm.aspx?m=253569 Regards, Xiaofan | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [gnupic] Compiling gpsim 0.22.0 on OS X 10.4.10
From: "Richard Speir" ####@####.#### Date: 10 Sep 2007 03:48:09 +0100 Message-Id: <2a656c6f0709091947r7052e0c4hb603c48b0b48de80@mail.gmail.com> Thank you so much for the help! Apparently my readline installation was wonky or too out of date like you said. A reinstall seems to have fixed that problem. Now, however, I get this error message: /usr/bin/ld: can't locate file for: -lpopt collect2: ld returned 1 exit status make[2]: *** [gpsim] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 On 9/9/07, Rick Altherr ####@####.#### wrote: > > The first few errors are due to a few readline functions not being > found. Are you sure you have it installed, that the header was found > properly, and that the version installed is recent? > -- > Rick Altherr > ####@####.#### > | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [gnupic] Compiling gpsim 0.22.0 on OS X 10.4.10
From: Rick Altherr ####@####.#### Date: 10 Sep 2007 03:59:48 +0100 Message-Id: <04650A21-C32D-49AF-BFD5-47FEBB35C811@kc8apf.net> Now you would be missing the popt library. -- Rick Altherr ####@####.#### "He said he hadn't had a byte in three days. I had a short, so I split it with him." -- Slashdot signature On Sep 9, 2007, at 7:47 PM, Richard Speir wrote: > Thank you so much for the help! Apparently my readline installation > was > wonky or too out of date like you said. A reinstall seems to have > fixed that > problem. Now, however, I get this error message: > /usr/bin/ld: can't locate file for: -lpopt > collect2: ld returned 1 exit status > make[2]: *** [gpsim] Error 1 > make[1]: *** [all-recursive] Error 1 > make: *** [all] Error 2 > > > On 9/9/07, Rick Altherr ####@####.#### wrote: >> >> The first few errors are due to a few readline functions not being >> found. Are you sure you have it installed, that the header was found >> properly, and that the version installed is recent? >> -- >> Rick Altherr >> ####@####.#### >> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [gnupic] Compiling gpsim 0.22.0 on OS X 10.4.10
From: "Richard Speir" ####@####.#### Date: 10 Sep 2007 04:38:17 +0100 Message-Id: <2a656c6f0709092038i4d04df1sc51d23f210ad77c0@mail.gmail.com> Ah! Thanks again for your help. I tried installing popt through Fink before asking for help, but I guess the Fink version didn't have all the parts I needed or it threw them in nonstandard directories (though I thought I had all of Fink's weird directories included in my PATH environment variable). I manually downloaded and built the popt sources and everything works fine now. Finally got gpsim to compile! On 9/9/07, Rick Altherr ####@####.#### wrote: > > Now you would be missing the popt library. > -- > Rick Altherr > ####@####.#### > > "He said he hadn't had a byte in three days. I had a short, so I > split it with him." > -- Slashdot signature > > > On Sep 9, 2007, at 7:47 PM, Richard Speir wrote: > > > Thank you so much for the help! Apparently my readline installation > > was > > wonky or too out of date like you said. A reinstall seems to have > > fixed that > > problem. Now, however, I get this error message: > > /usr/bin/ld: can't locate file for: -lpopt > > collect2: ld returned 1 exit status > > make[2]: *** [gpsim] Error 1 > > make[1]: *** [all-recursive] Error 1 > > make: *** [all] Error 2 > > > > > > On 9/9/07, Rick Altherr ####@####.#### wrote: > >> > >> The first few errors are due to a few readline functions not being > >> found. Are you sure you have it installed, that the header was found > >> properly, and that the version installed is recent? > >> -- > >> Rick Altherr > >> ####@####.#### > >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: ####@####.#### > For additional commands, e-mail: ####@####.#### > > | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 1 [>] [>>] |