Keresés

Aktív témák

  • piskota2

    csendes tag

    EZ AZ SIKERÜLT! KÖSZÖNÖM KÖSZÖNÖM VÉGRE SIKERULT

  • piskota2

    csendes tag

    Sziasztok köszönöm a gyors választ de sajna nem műkodik a dolog
    ezt irja ki:
    gggg~$ gcc hello.c -o hello (ugye igy kell futtatni ha jol értelmezem) és ez az eredmény:
    gggg:~$

    Mit csináltam rosszul?
    de ha csak simán annyit irok hogy :

    gggg:~$ gcc hello
    hello:(.rodata+0x0): multiple definition of `_fp_hw'
    /usr/lib/gcc/i586-uhu-linux/3.4.6/../../../crt1.o:(.rodata+0x0): first defined here
    hello: In function `__data_start':
    : multiple definition of `__dso_handle'
    /usr/lib/gcc/i586-uhu-linux/3.4.6/crtbegin.o:(.data+0x0): first defined here
    hello: In function `_init':
    /var/uhubuild/work/object/csu/crti.S:36: multiple definition of `_init'
    /usr/lib/gcc/i586-uhu-linux/3.4.6/../../../crti.o:/var/uhubuild/work/object/csu/crti.S:12: first defined here
    hello: In function `_start':
    : multiple definition of `_start'
    /usr/lib/gcc/i586-uhu-linux/3.4.6/../../../crt1.o:init.c:(.text+0x0): first defined here
    hello: In function `_fini':
    /var/uhubuild/work/object/csu/crti.S:52: multiple definition of `_fini'
    /usr/lib/gcc/i586-uhu-linux/3.4.6/../../../crti.o:/var/uhubuild/work/object/csu/crti.S:(.fini+0x0): first defined here
    hello:(.got.plt+0x0): multiple definition of `_GLOBAL_OFFSET_TABLE_'
    /usr/lib/gcc/i586-uhu-linux/3.4.6/../../../crt1.o:(.got.plt+0x0): first defined here
    hello:(.rodata+0x4): multiple definition of `_IO_stdin_used'
    /usr/lib/gcc/i586-uhu-linux/3.4.6/../../../crt1.o:(.rodata.cst4+0x0): first defined here
    hello: In function `__data_start':
    : multiple definition of `__data_start'
    /usr/lib/gcc/i586-uhu-linux/3.4.6/../../../crt1.o:init.c:(.data+0x0): first defined here
    collect2: ld returned 1 exit status

    nos tanácstalan vok . Sánnátok rám még egy kis időt? köszi elöre is!

  • piskota2

    csendes tag

    SZIASZTOK!

    Én most kezdenék bele a c programozasba linux alatt csak kellene egy kezdö lökés
    hogy egy ilyen egyszereu progit ami kiirja hogy (hello világ!) mibe irjam meg és
    hogyan tudom utanna futtatni .Segitsetek nekem ebben legyetek szivesek.
    Gondolom ez alap golog de valahogy el kell kezdenem előre is köszönöm

Aktív témák