Author |
Message |
Icebird Novice
Joined: Sep 01 2008 Posts: 30 Offline
|
|
Back to top |
|
 |
Dr Brain Flip-flopping like a wind surfer

Age:39 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: Wed Oct 08, 2008 1:42 pm Post subject: |
 |
|
|
|
That's not an asss issue, really, it's just your build environment doesn't contain the define. limits.h contains it on most machines. Make sure yours has it.
The command
might be helpful. _________________ Hyperspace Owner
Smong> so long as 99% deaths feel lame it will always be hyperspace to me |
|
Back to top |
|
 |
Icebird Novice
Joined: Sep 01 2008 Posts: 30 Offline
|
Posted: Wed Oct 08, 2008 2:22 pm Post subject: |
 |
|
|
|
Searching for limits.h shows 10 results. The one in /usr/include/linux defines it. How do I tell gcc to use that one? |
|
Back to top |
|
 |
Dr Brain Flip-flopping like a wind surfer

Age:39 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: Wed Oct 08, 2008 4:28 pm Post subject: |
 |
|
|
|
I've never seen a setup like that, where it's in linux/. I guess add an -I/usr/include/linux to the STD_CFLAGS in Makefile. |
|
Back to top |
|
 |
Icebird Novice
Joined: Sep 01 2008 Posts: 30 Offline
|
|
Back to top |
|
 |
Dr Brain Flip-flopping like a wind surfer

Age:39 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: Wed Oct 08, 2008 6:47 pm Post subject: |
 |
|
|
|
I'd suggest altering the Makefile as outlined in my last post. Add a -I/usr/include/linux somewhere in the STD_CFLAGS option. |
|
Back to top |
|
 |
Icebird Novice
Joined: Sep 01 2008 Posts: 30 Offline
|
|
Back to top |
|
 |
Dr Brain Flip-flopping like a wind surfer

Age:39 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: Thu Oct 09, 2008 6:32 am Post subject: |
 |
|
|
|
Try changing it from -I/usr/include/linux to -isystem/usr/include/linux. I'm just stabbing in the dark at this point. |
|
Back to top |
|
 |
|