Compilation problem

Gauri gauri.kshirsagar at wipro.com
Tue Mar 1 08:42:16 UTC 2005


            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

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20050301/fcff5599/attachment-0001.htm>


More information about the fedora-list mailing list