|
It is currently Sat Jan 18, 2025 11:05 am
|
View unanswered posts | View active topics
|
Page 1 of 1
|
[ 7 posts ] |
|
Author |
Message |
wahrhaft
|
Post subject: svn compile error Posted: Tue Feb 24, 2009 1:56 am |
|
Joined: Tue Feb 24, 2009 1:25 am Posts: 8
|
|
Top |
|
|
nkeynes
|
Post subject: Re: svn compile error Posted: Tue Feb 24, 2009 3:38 am |
|
|
Admin |
Joined: Mon Jun 26, 2006 9:47 pm Posts: 293
|
|
Top |
|
|
wahrhaft
|
Post subject: Posted: Tue Feb 24, 2009 5:30 am |
|
Joined: Tue Feb 24, 2009 1:25 am Posts: 8
|
|
Top |
|
|
nkeynes
|
Post subject: Posted: Tue Feb 24, 2009 9:14 am |
|
|
Admin |
Joined: Mon Jun 26, 2006 9:47 pm Posts: 293
|
|
Top |
|
|
wahrhaft
|
Post subject: Posted: Tue Feb 24, 2009 1:45 pm |
|
Joined: Tue Feb 24, 2009 1:25 am Posts: 8
|
I did a quick try here and I still got the same error. I'll have more time to play with it later today...
Update:
I noticed you updated some settings in svn, and it still did not compile on my Arch machine. Gentoo was able to compile it without a problem.
Both are using 2.6.27 kernel headers, but I noticed that Gentoo's byteorder.h file uses __inline__ and __asm__, whereas Arch's byteorder.h uses inline and asm without the underscores. I added the underscores to Arch's byteorder.h (kids don't try this at home!) and it solved the problem.
I guess the fix was something added to the headers sometime during the lifespan of 2.6.27.
|
|
Top |
|
|
nkeynes
|
Post subject: Posted: Wed Feb 25, 2009 9:02 am |
|
|
Admin |
Joined: Mon Jun 26, 2006 9:47 pm Posts: 293
|
Ah lovely, non-compliant header files.
I've added a configure test now that explicitly checks if linux/cdrom.h will compile with -std=c99, and if not downgrades it to -std=gnu99. Does this work correctly for you now? (without changing your header files)
Cheers,
Nathan
|
|
Top |
|
|
wahrhaft
|
Post subject: Posted: Wed Feb 25, 2009 10:40 pm |
|
Joined: Tue Feb 24, 2009 1:25 am Posts: 8
|
|
Top |
|
|
|
Page 1 of 1
|
[ 7 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 1 guest |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|