[Voyage-linux] C compiling , stdio.h

Gustin Johnson (spam-protected)
Tue Jun 22 00:49:45 HKT 2010


On 10-06-21 03:08 AM, fester wrote:
> 
> I  usually use perl.
> but when i try to compile a simple "hello word.c" I receive this message:
> 
> " hello.c:1:19: error: stdio.h: No such file or directory
> hello.c: In function 'main':
> hello.c:5: warning: incompatible implicit declaration of built-in 
> function 'printf'"
> 
> 
> I tryed to install apt-get install build-essential but I received this 
> message:
> 
First make sure your fs is writable.  Then issue an "apt-get update" to
get an up to date list of installable packages.  You should then be able
to install build-essential.
> 
> 
> debconf: unable to initialize frontend: Dialog
> debconf: (No usable dialog-like program is installed, so the dialog 
> based frontend cannot be used. at 
> /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 75, <> line 11.)
> debconf: falling back to frontend: Readline
> Preconfiguring packages ...
> (Reading database ... 11069 files and directories currently installed.)
> Preparing to replace libc6 2.7-18 (using .../libc6_2.7-
> 18lenny4_i386.deb) ...
> debconf: unable to initialize frontend: Dialog
> debconf: (No usable dialog-like program is installed, so the dialog 
> based frontend cannot be used. at 
> /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 75.)
> debconf: falling back to frontend: Readline
> Unpacking replacement libc6 ...
> Replaced by files in installed package initscripts ...
> dpkg: error processing /var/cache/apt/archives/libc6_2.7-
> 18lenny4_i386.deb (--unpack):
>  unable to create `./usr/share/lintian/overrides/libc6': No such file or 
> directory
> dpkg-deb: subprocess paste killed by signal (Broken pipe)
> Errors were encountered while processing:
>  /var/cache/apt/archives/libc6_2.7-18lenny4_i386.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> What's wrong?
> Thanks


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20100621/49e7ae9e/attachment.pgp>


More information about the Voyage-linux mailing list