http://bugs.winehq.org/show_bug.cgi?id=17896
Summary: Cups not detected on OpenBSD Product: Wine Version: 1.1.18 Platform: PC OS/Version: OpenBSD Status: NEW Keywords: download, source Severity: minor Priority: P2 Component: build-env AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com
Compile script is: #!/bin/sh export CFLAGS="-I/usr/local/include -I/usr/local/include/libpng" export LDFLAGS="-lm -lz -lcrypto -L/usr/local/lib" export X_EXTRA_LIBS="-lXau -lXdmcp" export CPPFLAGS="-I/usr/local/include" ./configure
From config.log:
configure:16073: checking for -lcups configure:16108: gcc -o conftest -I/usr/local/include -I/usr/local/include/libpng -I/usr/local/include -I/usr/local/include -lm -lz -lcrypto -L/usr/local/lib conftest.c -lcups -Wl,-R/usr/local/lib -L/usr/local/lib -lossaudio -li386 >&5 /usr/local/lib/libcups.so.3.0: warning: strcpy() is almost always misused, please use strlcpy() /usr/local/lib/libcups.so.3.0: warning: sprintf() is often misused, please use snprintf() /usr/local/lib/libcups.so.3.0: undefined reference to `pthread_getspecific' /usr/local/lib/libcups.so.3.0: undefined reference to `pthread_once' /usr/local/lib/libcups.so.3.0: undefined reference to `pthread_key_create' /usr/local/lib/libcups.so.3.0: undefined reference to `pthread_mutex_unlock' /usr/local/lib/libcups.so.3.0: undefined reference to `pthread_mutex_lock' /usr/local/lib/libcups.so.3.0: undefined reference to `pthread_setspecific' collect2: ld returned 1 exit status
perhaps we need to #include pthread.h?