[devel] Xdtv Что-то я торможу или делаю неправильно
Damir Shayhutdinov
=?iso-8859-1?q?damir_=CE=C1_altlinux=2Eorg?=
Пн Сен 25 07:28:52 MSD 2006
> gcc -Wall -D_REENTRANT -O2 -DPREFIX=\"/usr/local\" -D_LARGEFILE64_SOURCE -DVERSION=\"1.6.1\" -DWITH_PNG -o
> xdtv_alevt-cap
> xdtv_alevt-cap.o ./.libs/libalevt.so -lX11 -lXext -lpthread -lpng -lz -lm
> ./.libs/libalevt.so: undefined reference to `XProcessInternalConnection'
> ./.libs/libalevt.so: undefined reference to `XFree'
> ./.libs/libalevt.so: undefined reference to
> `png_set_compression_mem_level'
> ./.libs/libalevt.so: undefined reference to
> `png_set_compression_window_bits'
> ./.libs/libalevt.so: undefined reference to `XStoreName'
> ./.libs/libalevt.so: undefined reference to `XLookupString'
> ./.libs/libalevt.so: undefined reference to `XRemoveConnectionWatch'
> ./.libs/libalevt.so: undefined reference to `XConvertSelection'
> ./.libs/libalevt.so: undefined reference to `XGetWindowProperty'
> ./.libs/libalevt.so: undefined reference to `png_set_PLTE'
> ./.libs/libalevt.so: undefined reference to `png_init_io'
> ./.libs/libalevt.so: undefined reference to `XSetClassHint'
> ./.libs/libalevt.so: undefined reference to `XCreateWindow'
> ./.libs/libalevt.so: undefined reference to `XCreateSimpleWindow'
> ./.libs/libalevt.so: undefined reference to `XOpenDisplay'
> ./.libs/libalevt.so: undefined reference to `XSetWMProperties'
> ./.libs/libalevt.so: undefined reference to `XCopyArea'
> ./.libs/libalevt.so: undefined reference to `XDeleteProperty'
> ./.libs/libalevt.so: undefined reference to `XDestroyWindow'
> ./.libs/libalevt.so: undefined reference to `XCloseDisplay'
> ./.libs/libalevt.so: undefined reference to `XBell'
> ./.libs/libalevt.so: undefined reference to `png_create_info_struct'
Дык залинкуйте libalevt.so с -lpng и -lX11. Компилятор же ясно пишет,
что недолинковано.
Подробная информация о списке рассылки Devel