lxdream.org http://www.lxdream.org/forums/ |
|
svn compile error http://www.lxdream.org/forums/viewtopic.php?f=2&t=162 |
Page 1 of 1 |
Author: | wahrhaft [ Tue Feb 24, 2009 1:56 am ] |
Post subject: | svn compile error |
Author: | nkeynes [ Tue Feb 24, 2009 3:38 am ] |
Post subject: | Re: svn compile error |
Author: | wahrhaft [ Tue Feb 24, 2009 5:30 am ] |
Post subject: | |
Author: | nkeynes [ Tue Feb 24, 2009 9:14 am ] |
Post subject: | |
Author: | wahrhaft [ Tue Feb 24, 2009 1:45 pm ] |
Post subject: | |
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. |
Author: | nkeynes [ Wed Feb 25, 2009 9:02 am ] |
Post subject: | |
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 |
Author: | wahrhaft [ Wed Feb 25, 2009 10:40 pm ] |
Post subject: | |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |