Re: gcc with Debian on amd64

From: Rogério Brito (rbrito_at_ime.usp.br)
Date: 12/24/04

  • Next message: James Foster: "Why isn't MPlayer in Debian?"
    Date: Fri, 24 Dec 2004 04:32:54 -0200
    To: debian-user@lists.debian.org
    
    

    On Dec 23 2004, Michael Madden wrote:
    > #include <stdio.h>
    >
    > int main(void)
    > {
    > printf("Hello World!\n");
    > return (0);

    The parentheses here are superfluous. The return word in C is a command,
    not a function.

    > }
    >
    > madden@debian:~$ gcc -o hello hello.c
    > hello.c:1:19: stdio.h: No such file or directory

    You should have libc6-dev (or the equivalent in your architecture)
    installed for the standard header files of the C Library.

    Hope this helps, Rogério Brito.

    -- 
    Learn to quote e-mails decently at:
    http://pub.tsn.dk/how-to-quote.php
    http://learn.to/quote
    http://www.xs4all.nl/~sbpoley/toppost.htm
    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: James Foster: "Why isn't MPlayer in Debian?"

    Relevant Pages

    • Re: [MFC REQUEST] Filename completion in sh(1)
      ... pointer ckrealloc; ... void stunalloc; ... int unaliascmd(int, char **); ... Exit immediately if any untested command fails in non-interactive mode. ...
      (freebsd-current)
    • [PATCH] trivial: fix common spelling mistakes
      ... * well as any reset of TSC during the boot process. ... registers based on the command. ... * register value directly. ... int count; ...
      (Linux-Kernel)
    • [RFC: 2.6 patch] remove the broken SCSI_ACORNSCSI_3 driver
      ... * Abandoned using the Select and Transfer command since there were ... Once debugged, remove the #undef, otherwise to debug, ... -unsigned int dmac_address ... * Purpose: differentiate between commands that have a DATA IN phase ...
      (Linux-Kernel)
    • [RFC: 2.6 patch] remove drivers/net/eepro100.c
      ... This patch removes the obsolete drivers/net/eepro100.c driver. ... -static int rx_copybreak = 200; ... Each Tx command block ... -static void speedo_resume(struct net_device *dev); ...
      (Linux-Kernel)
    • RFC: [2.6 patch] small IPMI cleanup
      ... The patch below does the following changes to the IPMI code: ... * Send a command request from the given user. ... * the message response comes back, the receive handler for this user ... static int ipmi_init_msghandler; ...
      (Linux-Kernel)