[SATLUG] Linux programming question

David Salisbury david.salisbury at momentumweb.com
Thu Jul 14 12:57:30 CDT 2005


Thanks for everyone's comments and ideas!  Kase, it looks like there is 
actually no difference between the system.h in my /usr/src/linux-.... 
directory and the /usr/include/... directory in my case....... so I don't 
know if that's good or bad!  Julian, I see what you're saying about the 
'new' variable being reserved, so I'll look at that a little, but I would 
think if it was that that it wouldn't have been released b/c it should have 
broken for the authors too!  But who knows, I'll check it out!

As far as the distro goes, Jeremy, I guess I could try compiling GCC 3.3.6 
from scratch and see if that helps.  It just seems so odd that this is just 
cropping up on this one thing!

Dave

----- Original Message ----- 
From: "Kase Saylor" <h_oudini at hotmail.com>
To: <satlug at satlug.org>; <david.salisbury at momentumweb.com>
Sent: Thursday, July 14, 2005 8:13 AM
Subject: RE: [SATLUG] Linux programming question


> David,
>
> It looks to me that that your kernel header files might be in /usr/include 
> and this might be the problem. On my box the system.h in /usr/include/asm 
> is much different than the one that is in my kernel source directory.
>
>><code>
>>
>>#include <stdio.h>
>>#include <linux/joystick.h>
>>
>>int main(int argc, char *argv[]) {
>>    printf("hello world! %d\n", argc);
>>    return(0);
>>}
>>
>></code> 



More information about the SATLUG mailing list