Citat:
Predrag Damnjanovic:
Alex, u sta se kladimo :)
Evo, probao sam na par masina kod mene:
Code:
login as: alex
Sent username "alex"
[email protected]'s password:
Last login: Thu Oct 3 14:33:57 2002 from rsp05.landspitali.is
[alex@postur alex]$ cat /etc/redhat-release
Red Hat Linux release 7.0 (Guinness)
[alex@postur alex]$ vi zastita.c
[alex@postur alex]$ gcc -o zastita zastita.c
/tmp/cceqD6ej.o: In function `main':
/tmp/cceqD6ej.o(.text+0x14): undefined reference to `cos'
collect2: ld returned 1 exit status
[alex@postur alex]$
To je bio RH 7.0
Code:
login as: alex
Sent username "alex"
[email protected]'s password:
Last login: Thu Oct 3 14:40:47 from rsp05.landspitali.is
[alex@apache alex]$ cat /etc/redhat-release
Red Hat Linux release 7.3 (Valhalla)
[alex@apache alex]$ gcc -o zastita zastita.c
/tmp/cc8sJCDm.o: In function `main':
/tmp/cc8sJCDm.o(.text+0x14): undefined reference to `cos'
collect2: ld returned 1 exit status
[alex@apache alex]$
To je bio RH 7.3
Trenutno nisam na poslu, pa ne mogu da se ulogujem na jos dve masine (RH 7.1 i RH 7.2), ali cu biti u firmi za par sati, pa cu i to probati i poslati ti rezultate.
Mada, zasigurno to nije ni potrebno, cim se libm.so ne linkuje po defaultu ni na 7.0 ni na 7.3..
Pozdrav,
alex.
Alex: My favorite site is
http://localhost/
R.J. Oppenheimer: "I am become death, destroyer of worlds" (1945 AD)
tweet.13x ||
linkedin.13x