Evo:
gcc -o -g program program.c
program: In function `_init':
program(.init+0x0): multiple definition of `_init'
/usr/lib/crti.o(.init+0x0): first defined here
program(.text+0x0): multiple definition of `_start'
/usr/lib/crt1.o(.text+0x0): first defined here
program: In function `_fini':
program(.fini+0x0): multiple definition of `_fini'
/usr/lib/crti.o(.fini+0x0): first defined here
program(.got+0x0): multiple definition of `_GLOBAL_OFFSET_TABLE_'
/usr/lib/crti.o(.got.plt+0x0): first defined here
program(.rodata+0x4): multiple definition of `_IO_stdin_used'
/usr/lib/crt1.o(.rodata+0x4): first defined here
program(.data+0x0): multiple definition of `__data_start'
/usr/lib/crt1.o(.data+0x0): first defined here
/tmp/cc06DpbC.o: In function `main':
/tmp/cc06DpbC.o(.text+0x0): multiple definition of `main'
program(.text+0xb0): first defined here
/tmp/cc06DpbC.o: In function `resolve':
/tmp/cc06DpbC.o(.text+0x2b8): multiple definition of `resolve'
program(.text+0x368): first defined here
/usr/lib/crti.o(.dynamic+0x0): multiple definition of `_DYNAMIC'
program(.dynamic+0x0): first defined here
collect2: ld returned 1 exit status
Compilation exited abnormally with code 1 at Thu Oct 10 04:11:23
a bez g opcije sve u redu:
gcc -o program klijentHR.c
Compilation finished at Thu Oct 10 04:13:47
Nekad sam bio mlad ;)