Query

dev karan devkaransingh at yahoo.com
Tue Jun 8 04:31:43 PDT 2004


Sir,

 I have build tool chain using following sourse rpms
binutil2.13.90.0.18-1.src.rpm
gcc-3.2.3-3.src.rpm
glibc-2.2.5-8.src.rpm

after building the whole tool chain that is
binutil,gcc(part 1),glibc when i tried to compile
Hello world program , it give whole lot of errors like
this

/embediosh4/lib/gcc-lib/sh-linux/3.2.3/include/stdio.h:55:
syntax error before "typedef"
/embediosh4/lib/gcc-lib/sh-linux/3.2.3/include/stdio.h:60:
syntax error before "__USING_NAMESPACE_STD"
/embediosh4/lib/gcc-lib/sh-linux/3.2.3/include/stdio.h:
In function `__USING_NAMESPACE_STD':
/embediosh4/lib/gcc-lib/sh-linux/3.2.3/include/stdio.h:71:
storage class specified for parameter `__FILE'
In file included from
/embediosh4/sh-linux/include/_G_config.h:14,
                 from
/embediosh4/sh-linux/include/libio.h:32,
                 from
/embediosh4/lib/gcc-lib/sh-linux/3.2.3/include/stdio.h:81,
                 from hello.c:1:
!
!
!
!
/embediosh4/lib/gcc-lib/sh-linux/3.2.3/include/stdio.h:664:
storage class specified for parameter `flockfile'
/embediosh4/lib/gcc-lib/sh-linux/3.2.3/include/stdio.h:668:
storage class specified for parameter `ftrylockfile'
/embediosh4/lib/gcc-lib/sh-linux/3.2.3/include/stdio.h:671:
storage class specified for parameter `funlockfile'
hello.c:3: syntax error before '{' token


           Could you tell what went wrong and how to
fix it. I will be highly thankful to you.




	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 





More information about the Kernel mailing list