Re: GCC cant find library
Thanks for your help.
after installing libc6-dev and compiling simple C file
it generate these errors
gateway:/home/users/shahin# gcc -o myC myC.c
In file included from /usr/include/stdio.h:57,
from myC.c:1:
/usr/include/libio.h:263: parse error before `size_t'
/usr/include/libio.h:272: parse error before `size_t'
/usr/include/libio.h:368: parse error before `_IO_sgetn'
/usr/include/libio.h:368: parse error before `size_t'
/usr/include/libio.h:368: warning: data definition has no type or storage
class
In file included from myC.c:1:
/usr/include/stdio.h:237: parse error before `size_t'
/usr/include/stdio.h:243: parse error before `size_t'
/usr/include/stdio.h:273: parse error before `size_t'
/usr/include/stdio.h:277: parse error before `size_t'
/usr/include/stdio.h:281: parse error before `size_t'
/usr/include/stdio.h:446: parse error before `fread'
/usr/include/stdio.h:446: parse error before `size_t'
/usr/include/stdio.h:447: warning: data definition has no type or storage
class
/usr/include/stdio.h:449: parse error before `fwrite'
/usr/include/stdio.h:449: parse error before `size_t'
/usr/include/stdio.h:450: warning: data definition has no type or storage
class
/usr/include/stdio.h:454: parse error before `fread_unlocked'
/usr/include/stdio.h:454: parse error before `size_t'
/usr/include/stdio.h:455: warning: data definition has no type or storage
class
/usr/include/stdio.h:456: parse error before `fwrite_unlocked'
/usr/include/stdio.h:457: parse error before `size_t'
/usr/include/stdio.h:458: warning: data definition has no type or storage
class
On Wed, 17 Jul 2002, Seneca wrote:
> On Wed, Jul 17, 2002 at 03:32:11PM +0000, Sahin Haciguliyev wrote:
> > When I try to compile any c file with gcc
> > I have an error libraryname.h no such file or directory....
> > doesnt C libraries come with GCC packet.
>
> Have you installed libc6-dev?
>
> --
> Seneca
> seneca-cunningham@rogers.com
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: