/usr/include/stdio.h", line 346: syntax error at token '__s'
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
/usr/include/stdio.h", line 346: syntax error at token '__s'
Red Hat Enterprise Linux ES release 4 gives me errors as below and I do not have these problems with Enterprise release 3. Any suggestions?
Thanks,
"/usr/include/bits/types.h", line 50: syntax error at token 'typedef'
"/usr/include/bits/types.h", line 51: syntax error at token 'typedef'
"/usr/include/bits/types.h", line 59: syntax error at token 'typedef'
"/usr/include/bits/types.h", line 60: syntax error at token 'typedef'
"/usr/include/bits/types.h", line 136: syntax error at token 'typedef'
"/usr/include/bits/types.h", line 137: syntax error at token 'typedef"/usr/include/stdio.h", line 243: syntax error at token '__filename'
"/usr/include/stdio.h", line 249: syntax error at token '__filename'
"/usr/include/stdio.h", line 299: syntax error at token '__stream'
"/usr/include/stdio.h", line 303: syntax error at token '__stream'
"/usr/include/stdio.h", line 310: syntax error at token '__stream'
"/usr/include/stdio.h", line 323: syntax error at token '__stream'
"/usr/include/stdio.h", line 329: syntax error at token '__format'
"/usr/include/stdio.h", line 331: syntax error at token '__s'
"/usr/include/stdio.h", line 338: syntax error at token '__s''
"/usr/include/bits/types.h", line 138: syntax error at token 'typedef'
"/usr/include/bits/types.h", line 139: syntax error at token 'typedef'
"/usr/include/bits/types.h", line 140: syntax error at token 'typedef'
"/usr/include/bits/types.h", line 141: syntax error at token 'typedef'
"/usr/include/bits/types.h", line 142: syntax error at token 'typedef'
still having problems with red hat enterprise 10.4( gcc -3.4.5 )
I was installing red hat enterprise 10.4( gcc -3.4.5 ) and I have not noticed them with red hat enterprise 10.3( gcc 3.2). I checked the c libraries and header files and I don't see anything missing explicitly.
Any suggestions?
"/usr/include/bits/types.h", line 50: syntax error at token 'typedef'
"/usr/include/bits/types.h", line 51: syntax error at token 'typedef'
"/usr/include/bits/types.h", line 59: syntax error at token 'typedef'
"/usr/include/bits/types.h", line 60: syntax error at token 'typedef'
etc
"/usr/include/stdio.h", line 346: syntax error at token '__s'
"/usr/include/stdio.h", line 395: syntax error at token '__stream'
"/usr/include/stdio.h", line 401: syntax error at token '__format'
"/usr/include/stdio.h", line 403: syntax error at token '__s'
"/usr/include/stdio.h", line 528: syntax error at token '__s'
"/usr/include/stdio.h", line 585: syntax error at token '__s'
etc
"/usr/include/libio.h", line 354: "/usr/include/stdint.h", line 44: syntax error at token 'typedef'
"/usr/include/stdint.h", line 59: syntax error at token 'typedef'
"/usr/include/stdint.h", line 73: syntax error at token 'typedef'syntax error at token '__ssize_t'
"/usr/include/libio.h", line 362: syntax error at token '__ssize_t'
"/usr/include/libio.h", line 371: syntax error at token '__off64_t'
"/usr/include/libio.h", line 478: syntax error at token '_IO_padn'
etc
/usr/include/time.h",
. line 197: syntax error at token '__s'
"/usr/include/time.h", line 229: syntax error at token '*'
"/usr/include/time.h", line 233: syntax error at token '*'
"/usr/include/time.h", line 239: syntax error at token '*'
etc
Install log seems to show glibc install
Installing
glibc-common-2.3.4-2.i386.
Installing glibc-2.3.4-2.i686.
Looks like your errors all come from the lines that have the keyword "__restrict". Could it be that you installed the header files from a newer version of the GCC tool than the actual compiler binaries? The __restrict keyword may not have been supported by older versions of the GNU compiler.
I am looking at Red Hat Enterprise WS 4 now. The GCC version is 3.4.4, and I don't get any of the errors you're running into.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.