Compilation problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



            I am a newbie and trying to compile a code on FC3 with kernel  2.6.9 and gcc version 3.4.2.

           

The code gives me following errors –

 

            /usr/lib/gcc/i386-redhat-linux/3.4.2/include/stddef.h:213: error: syntax error before "typedef"

 

            /usr/include/stdio.h:46: error: syntax error before "typedef"

/usr/include/stdio.h:62: error: syntax error before "typedef"

 

/usr/include/_G_config.h:47: error: field `__cd' has incomplete type

/usr/include/_G_config.h:50: error: field `__cd' has incomplete type

 

            /usr/include/sys/cdefs.h:45:43: missing binary operator before token "("

/usr/include/sys/cdefs.h:49:44: missing binary operator before token "("

/usr/include/sys/cdefs.h:136:19: missing binary operator before token "("

/usr/include/sys/cdefs.h:194:19: missing binary operator before token "("

/usr/include/sys/cdefs.h:203:19: missing binary operator before token "("

/usr/include/sys/cdefs.h:212:19: missing binary operator before token "("

/usr/include/sys/cdefs.h:221:19: missing binary operator before token "("

/usr/include/sys/cdefs.h:233:19: missing binary operator before token "("

/usr/include/sys/cdefs.h:243:19: missing binary operator before token "("

/usr/include/sys/cdefs.h:252:19: missing binary operator before token "("

/usr/include/sys/cdefs.h:262:20: missing binary operator before token "("

/usr/include/sys/cdefs.h:267:20: missing binary operator before token "("

/usr/include/sys/cdefs.h:274:19: missing binary operator before token "("

 

 

            The same code compiles on RH8 kernel 2.4.18-14 and  gcc 3.2 .

            Can anybody tell me what can be the problem

           

            Regards,

 

            Gauri

 


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux