Не компилится ncurses татически.
$g++ akv.c conf_api.cpp libdscud5.a modb_ms.cpp -o akv_last -lpthread -lncurses -static
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libncurses.a(lib_mouse.o): In function `_nc_mouse_init':
(.text+0x833): undefined reference to `dlopen'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libncurses.a(lib_mouse.o): In function `_nc_mouse_init':
(.text+0x84d): undefined reference to `dlsym'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libncurses.a(lib_mouse.o): In function `_nc_mouse_init':
(.text+0x866): undefined reference to `dlsym'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libncurses.a(lib_mouse.o): In function `_nc_mouse_init':
(.text+0x87f): undefined reference to `dlsym'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libncurses.a(lib_mouse.o): In function `_nc_mouse_init':
(.text+0x898): undefined reference to `dlsym'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libncurses.a(lib_mouse.o): In function `_nc_mouse_init':
(.text+0x8b5): undefined reference to `dlclose'
Если убрать -static, то всё собирается без проблем. Кто сталкивался с таким?

Ответ на:
комментарий
от Sylvia

Ответ на:
комментарий
от Sylvia

Ответ на:
комментарий
от golodranez

Ответ на:
комментарий
от Sylvia

Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.
Похожие темы
- Форум статическая линковка в ghc (2012)
- Форум SDL, ошибки при «компиляции». (2009)
- Форум Роблемы с компиляцией Mplayer (2001)
- Форум Сборка Postfix с поддержкой SASL!? (2004)
- Форум Сборка SIM (2004)
- Форум qt 3.1.1 + xft? + redhat 8 (2003)
- Форум QT 3.1.1 + Xft2 + KDE 3.1 + Redhat 8 (2003)
- Форум помогите с си блин! (2004)
- Форум Косяки с glibc (2003)
- Форум Косяки с glibc (2003)