pkgsrc-Bugs archive

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

pkg/38996: parallel/pvm3 doesn't compile in DragonFly



>Number:         38996
>Category:       pkg
>Synopsis:       parallel/pvm3 doesn't compile in DragonFly
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 20 06:05:00 +0000 2008
>Originator:     Hasso Tepper
>Release:        DragonFly
>Organization:
>Environment:
DragonFly
>Description:
../../src/pmsg.c:785: error: static declaration of 'xdr_float' follows 
non-static declaration
/usr/include/rpc/xdr.h:267: error: previous declaration of 'xdr_float' was here
../../src/pmsg.c:794: error: static declaration of 'xdr_double' follows 
non-static declaration
/usr/include/rpc/xdr.h:268: error: previous declaration of 'xdr_double' was here
make[2]: *** [pmsg.o] Error 1

The point is that files/DRAGONFLY.def has -DFAKEXDRFLOAT in ARCHCFLAGS. I don't 
understand why it's there because /usr/include/rpc/xdr.h always had xdr_float 
and xdr_double in DragonFly. And how it worked before? gcc4 being stricter than 
gcc3 in this regard?
>How-To-Repeat:

>Fix:
The patch to fix the problem is available at
http://leaf.dragonflybsd.org/~hasso/pkgsrc-parallel-pvm3.patch



Home | Main Index | Thread Index | Old Index