undefined reference to `_malloc_options'

adv1453

Yardımsever Üye
Yardımsever Üye
MT Üye
Mesaj
438
Çözümler
42
Beğeni
215
Puan
844
Ticaret Puanı
0
Az önce karşılaştığım build sorununun çözümü;

db src --> Main.cpp

bul:
#ifdef __FreeBSD__
_malloc_options = "A";
#endif

değiştir:
#if defined  (__FreeBSD__) && !defined (__GNUC__)
_malloc_options = "A";
#endif

Sorun;
Kod:
.obj/Main.o: In function `main':
/root/workspace/mainline_released/mainline_sg/Srcs/Server/db/src/Main.cpp:69: undefined reference to `_malloc_options'
collect2: error: ld returned 1 exit status
gmake: *** [Makefile:48: ../db_r40146] Error 1

Linkleri görebilmek için giriş yap veya kayıt ol.
 
Geri
Üst