This is the mail archive of the insight@sourceware.org mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problems with function pointers in C++


Keith Seitz wrote:
Okay, getting closer. Hmm. If you have a native version, it shouldn't ask you for a target


My horrible mistake, Keith.


I thought I was using the Insight version for the PC, but I was mistakenly still using the Insight version for my Cris compiler (embedded Linux).

I've wiped out the whole source tree and untarred again the weekly 6.7.5 release. Then I used ./config.guess to see exactly what target I had to use.

Came to know it had to be i386-pc-linux-gnu. So, I ran the configuration *./configure --target=i386-pc-linux-gnu*, followed by *make*.

All went fine, even the installation of it afterwards. The target generated is called *i386-pc-linux-gnu-insight* (next to the two other targets *gdb* and *gdbtui*).

But when I start up *i386-pc-linux-gnu-insight*, I get the following errors:

root@VirLinGeva:/usr/local/bin# ./i386-pc-linux-gnu-insight --nx
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Tk_Init failed: this isn't a Tk applicationcouldn't connect to display ":0.0"


This is strange, since I don't have that kind of errors with my CRIS compiled version of Insight.


Again, stuck... Sorry if I bother you too much...


-- *Best rgds,

--Geert
*


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]