bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libvirt 0.9.9 doesn't build on OpenBSD 5.0-current (i386)


From: Bruno Haible
Subject: Re: libvirt 0.9.9 doesn't build on OpenBSD 5.0-current (i386)
Date: Mon, 16 Jan 2012 05:32:05 +0100
User-agent: KMail/4.7.4 (Linux/3.1.0-1.2-desktop; KDE/4.7.4; x86_64; ; )

Hello,

Jiri B wrote:
> gmake  all-am
> gmake[3]: Entering directory `/home/karl/tmp/libvirt-0.9.9/gnulib/lib'
>   CC     allocator.lo
> In file included from ./unistd.h:44,
>                  from ./stdlib.h:90,
>                  from ./pthread.h:38,
>                  from ./signal.h:65,
>                  from ./sys/select.h:58,
>                  from /usr/include/sys/types.h:224,
>                  from ./sys/types.h:28,
>                  from /usr/include/stdlib.h:41,
>                  from ./stdlib.h:35,
>                  from allocator.c:4:
> /usr/include/unistd.h:255: error: expected declaration specifiers or '...' 
> before 'fd_set'
> /usr/include/unistd.h:255: error: expected declaration specifiers or '...' 
> before 'fd_set'
> /usr/include/unistd.h:255: error: expected declaration specifiers or '...' 
> before 'fd_set'
> gmake[3]: *** [allocator.lo] Error 1
> gmake[3]: Leaving directory `/home/karl/tmp/libvirt-0.9.9/gnulib/lib'
> gmake[2]: *** [all] Error 2
> gmake[2]: Leaving directory `/home/karl/tmp/libvirt-0.9.9/gnulib/lib'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/home/karl/tmp/libvirt-0.9.9'
> gmake: *** [all] Error 2

Thanks for the report. It a bit difficult to debug remotely. Therefore,
can you please
  1) Run "gmake V=1" to see precisely which command is used to compile
     allocator.c,
  2) Remove the -c and "-o .libs/allocator.o" options from this command
     and instead add   -E > allocator.i
  3) Please send us a tarball with the following files:
       allocator.i
       stdlib.h
       /usr/include/stdlib.h
       sys/types.h
       /usr/include/sys/types.h
       sys/select.h
       /usr/include/sys/select.h
       signal.h
       /usr/include/signal.h
       pthread.h
       /usr/include/pthread.h
       unistd.h
       /usr/include/unistd.h

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]