pkgsrc-Bugs archive

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

pkg/45555: net/unbound: compile error under OpenIndiana



>Number:         45555
>Category:       pkg
>Synopsis:       net/unbound: compile error under OpenIndiana
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 01 09:30:00 +0000 2011
>Originator:     Andrey N. Oktyabrski
>Release:        OpenIndiana 151a
>Organization:
>Environment:
>Description:
./libtool --quiet --tag=CC --mode=compile gcc -I. -I/usr/pkg/include 
-I/usr/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -O 
-I/usr/include -I/usr/pkg/include -g -O2 -flto -D_REENTRANT -pthreads -o 
build/util/netevent.lo -c util/netevent.c
util/netevent.c: In function 'comm_point_send_udp_msg_if':
util/netevent.c:415:5: error: 'struct msghdr' has no member named 'msg_control'
util/netevent.c:417:5: error: 'struct msghdr' has no member named 
'msg_controllen'
util/netevent.c:419:5: error: 'struct msghdr' has no member named 'msg_flags'
util/netevent.c:422:7: warning: assignment makes pointer from integer without a 
cast [enabled by default]
util/netevent.c:425:6: error: 'struct msghdr' has no member named 
'msg_controllen'
util/netevent.c:430:18: warning: passing argument 1 of 'memmove' makes pointer 
from integer without a cast [enabled by default]
/usr/include/iso/string_iso.h:79:14: note: expected 'void *' but argument is of 
type 'int'
util/netevent.c:445:6: error: 'struct msghdr' has no member named 
'msg_controllen'
util/netevent.c:450:18: warning: passing argument 1 of 'memmove' makes pointer 
from integer without a cast [enabled by default]
/usr/include/iso/string_iso.h:79:14: note: expected 'void *' but argument is of 
type 'int'
util/netevent.c:454:6: error: 'struct msghdr' has no member named 
'msg_controllen'
util/netevent.c:458:44: warning: passing argument 1 of 'memset' makes pointer 
from integer without a cast [enabled by default]
/usr/include/iso/string_iso.h:80:14: note: expected 'void *' but argument is of 
type 'int'
util/netevent.c: In function 'comm_point_udp_ancil_callback':
util/netevent.c:521:6: error: 'struct msghdr' has no member named 'msg_control'
util/netevent.c:523:6: error: 'struct msghdr' has no member named 
'msg_controllen'
util/netevent.c:525:6: error: 'struct msghdr' has no member named 'msg_flags'
util/netevent.c:538:12: warning: assignment makes pointer from integer without 
a cast [enabled by default]
util/netevent.c:539:9: warning: assignment makes pointer from integer without a 
cast [enabled by default]
util/netevent.c:544:20: warning: passing argument 2 of 'memmove' makes pointer 
from integer without a cast [enabled by default]
/usr/include/iso/string_iso.h:79:14: note: expected 'const void *' but argument 
is of type 'int'
util/netevent.c:551:20: warning: passing argument 2 of 'memmove' makes pointer 
from integer without a cast [enabled by default]
/usr/include/iso/string_iso.h:79:14: note: expected 'const void *' but argument 
is of type 'int'
gmake: *** [build/util/netevent.lo] Error 1
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/net/unbound

>How-To-Repeat:
$ cd /usr/pkgsrc/net/unbound
$ bmake
>Fix:



Home | Main Index | Thread Index | Old Index