From: Baris Metin (baris@metin.org)
Date: Tue 22 Apr 2003 - 12:16:43 EEST
Selamlar,
Tue, Apr 22, 2003 at 09:55:42AM +0300 , A. Murat EREN :
> Hayatimin bir kac saatinin cok üzüntülü gecmesine neden olan bir hatayi sizle paylasmak ve akil danismak istiyorum. Mailin sonuna bir kaynak kod yapistiricam, o kodu,
>
> [meren@sesua net]$ g++ -g -o net net.cpp
>
> ile derledigimde sorunsuz sekilde derleniyor ve binary dosya olusturuluyor. fakat,
>
> [meren@sesua net]$ gcc -g -o net net.cpp
> /tmp/ccoGn6yl.o(.text+0x513): In function `main':
> /home/meren/net/net.cpp:19: `operator new(unsigned)'ye tanımsız başvuru
> /tmp/ccoGn6yl.o(.text+0x526):/home/meren/net/net.cpp:20: `operator new(unsigned)'ye tanımsız başvuru
> /tmp/ccoGn6yl.o(.text+0x592):/home/meren/net/net.cpp:29: `operator new(unsigned)'ye tanımsız başvuru
> /tmp/ccoGn6yl.o(.text+0x668):/home/meren/net/net.cpp:39: `operator delete(void*)'ye tanımsız başvuru
> /tmp/ccoGn6yl.o(.eh_frame+0x11): In function `__init_()':
> /home/meren/net/f_imps.cpp:15: `__gxx_personality_v0'ye tanımsız başvuru
> collect2: ld çıkış durumu 1 ile döndü
Illa gcc kullanacagim diyorsaniz "-lstdc++" yeterli olacaktir :).
iyi calismalar,
-- Baris Metin -- Attached file included as plaintext by Ecartis -- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) Comment: http://metin.org iD8DBQE+pQh7/NpXVJSThIIRAp7FAJ0Xungh1UXpfzxB89E5XX6OkliX7ACfewDp rKRO+uYNj8nLrPeTZOVBbG0= =jpei -----END PGP SIGNATURE-----