OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> cross compile issues
boosalis
post Jan 28 2004, 09:34 AM
Post #1





Group: Members
Posts: 78
Joined: 28-January 04
From: clovis CA USA
Member No.: 1,580



I have a cross compile problem that is not there when I compile with gcc3 on my x86 box. It only shows up when I compile with the arm gcc 2.95 compiler

The error is:
/opt/Embedix/tools/arm-linux/include/bits/in.h:69: ANSI C++ forbids data member `ip_opts' with same name as enclosing class

I am doing sme socket stuff and need the socket include files that also include in.h which has the offending structure.

Any ideas for a work around on this.

Thank you

-David
Go to the top of the page
 
+Quote Post
lardman
post Jan 28 2004, 10:03 AM
Post #2





Group: Members
Posts: 4,515
Joined: 25-October 03
From: Bath, UK
Member No.: 464



I've come across various random errors while trying to use 2.95, you might find a general solution by googling for the error. Other than that I don't know, sorry,


Si
Go to the top of the page
 
+Quote Post
post Jan 28 2004, 10:15 AM
Post #3





Group:
Posts: 0
Joined: --
Member No.: 0



http://www.monkey.org/openbsd/archive/bugs...2/msg00097.html
Go to the top of the page
 
+Quote Post
post Jan 28 2004, 12:31 PM
Post #4





Group:
Posts: 0
Joined: --
Member No.: 0



lardman
thanks for the url. The work around was a bit dirty, as I opted for changing the name of one of the elements in the ip_opts struct as listed on that URL by David Mazieres. It worked fine !!!
Go to the top of the page
 
+Quote Post
lardman
post Jan 28 2004, 02:13 PM
Post #5





Group: Members
Posts: 4,515
Joined: 25-October 03
From: Bath, UK
Member No.: 464



Wasn't me actually, but I'm glad you got it working thanks to our guest's link.

Si
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 28th July 2014 - 12:19 AM