Bug 2778

Summary: Добавить в configure определение libusb и gettext
Product: WINE@Etersoft Reporter: Boris Savelev <boris>
Component: ДистрибутивAssignee: Vitaly Lipatov <lav>
Status: CLOSED FIXED QA Contact:
Severity: minor    
Priority: P4 CC: boris
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: FreeBSD   
Whiteboard:
Заявки RT: Связано с:
Дата напоминания:
Bug Depends on:    
Bug Blocks: 2710, 2781    

Description Boris Savelev 2008-10-30 19:15:51 MSK
речь про закрытую часть

libusb:
configure:27639: checking for usb_init,usb_get_string_simple in -lusb
configure:27674: gcc -o conftest -Wall -funsigned-char -O2 -D_FORTIFY_SOURCE=2 -I/usr/local/include
  conftest.c -lusb   >&5
conftest.c: In function 'main':
conftest.c:49: warning: left-hand operand of comma expression has no effect
/usr/bin/ld: cannot find -lusb
должно быть -lusb-0.1

gettext:
в freebsd валится сборка
cc -I/usr/local/include/freetype2 -I/usr/local/include -pedantic -DBINDIR=\"/usr/local/bin\" -Wall -funsigned-char -O2 -D_FORTIFY_SOURCE=2 -o winediag winediag-winediag.o winediag-threads.o winediag-setlock.o winediag-filelimits.o winediag-etercheck.o -L/usr/local/lib -lpthread -L/usr/X11R6/lib/ /usr/local/lib/libX11.so /usr/local/lib/libXau.so /usr/local/lib/libXdmcp.so -lrpcsvc -lwine -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib
winediag-winediag.o(.text+0x43): In function `main':
: undefined reference to `libintl_textdomain'
winediag-winediag.o(.text+0x57): In function `main':
: undefined reference to `libintl_bindtextdomain'
winediag-winediag.o(.text+0x63): In function `main':
: undefined reference to `libintl_gettext'
winediag-winediag.o(.text+0x8a): In function `main':
: undefined reference to `libintl_gettext'
winediag-winediag.o(.text+0xc7): In function `main':
: undefined reference to `libintl_gettext'
winediag-winediag.o(.text+0xe8): In function `main':
: undefined reference to `libintl_gettext'
winediag-winediag.o(.text+0x1d5): In function `main':
: undefined reference to `libintl_gettext'
winediag-winediag.o(.text+0x242): more undefined references to `libintl_gettext' follow
если добавить -lintl
то все собирается.
Comment 1 Vitaly Lipatov 2008-11-24 22:18:28 MSK
в сборку 1.0.9-eter14 добавил использование INTLLIBS
Про usb ничего не надо.