[avahi] avahi & openbsd

Julien TOUCHE julien.touche at lycos.com
Sun Jan 28 07:41:30 PST 2007


Hello

has someone compile or make a port of avahi (0.6.16) on openbsd ? (test
on 4.0-stable/i386)

configure without all options (only core & daemon) blocks on pthread option.

here, an extract on config.log

configure:19720: checking whether pthreads work with -pthread
configure:19813: cc -o conftest -O2 -pipe -pthread   conftest.c   >&5
configure:19819: $? = 0
configure:19839: result: yes
configure:19858: checking for joinable pthread attribute
configure:19883: cc -o conftest -O2 -pipe -pthread   conftest.c   >&5
configure:19889: $? = 0
configure:19906: result: PTHREAD_CREATE_JOINABLE
configure:19916: checking if more special flags are required for pthreads
configure:19923: result: no
configure:19985: checking whether to check for GCC pthread/shared
inconsistencies
configure:19995: result: yes
configure:20021: checking whether -pthread is sufficient with -shared
configure:20046: cc -o conftest -shared -fPIC -Wl,-z,defs -O2 -pipe
-pthread   conftest.c   >&5
/tmp//ccqr6841.o(.text+0x1c): In function `main':
: undefined reference to `__guard'
/tmp//ccqr6841.o(.text+0x29): In function `main':
: undefined reference to `pthread_join'
/tmp//ccqr6841.o(.text+0x29): In function `main':
: undefined reference to `pthread_join'
/tmp//ccqr6841.o(.text+0x35): In function `main':
: undefined reference to `pthread_attr_init'
/tmp//ccqr6841.o(.text+0x40): In function `main':
: undefined reference to `pthread_cleanup_push'
/tmp//ccqr6841.o(.text+0x4d): In function `main':
: undefined reference to `pthread_create'
/tmp//ccqr6841.o(.text+0x57): In function `main':
: undefined reference to `pthread_cleanup_pop'
/tmp//ccqr6841.o(.text+0x72): In function `main':
: undefined reference to `__stack_smash_handler'
collect2: ld returned 1 exit status
configure:20052: $? = 1
configure: failed program was:
[...]
configure:20073: result: no
configure:20082: checking whether -lpthread fixes that
configure:20108: cc -o conftest -shared -fPIC -Wl,-z,defs -O2 -pipe
-pthread   conftest.c -lpthread   >&5
/tmp//ccF13229.o(.text+0x1c): In function `main':
: undefined reference to `__guard'
/tmp//ccF13229.o(.text+0x72): In function `main':
: undefined reference to `__guard'
/tmp//ccF13229.o(.text+0x72): In function `main':
: undefined reference to `__stack_smash_handler'
collect2: ld returned 1 exit status
configure:20114: $? = 1
configure: failed program was:
[...]
configure:20136: result: no
configure:20144: checking whether -lc_r fixes that
configure:20170: cc -o conftest -shared -fPIC -Wl,-z,defs -O2 -pipe
-pthread   conftest.c -lc_r   >&5
/usr/bin/ld: cannot find -lc_r
collect2: ld returned 1 exit status
configure:20176: $? = 1
[...]
configure:20198: result: no
configure:20204: WARNING: Impossible to determine how to use pthreads
with shared libraries
configure:20233: error: Missing POSIX Threads support


thanks
Regards


		Julien



More information about the avahi mailing list