pkgsrc-Users archive

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

modular Xorg on i386-current?



Building modular-xorg-server (pkgsrc-2016Q1) on i386-current (7.99.29)
with GCC 5.3.0 fails, when an automatically generated file "sdksyms.c"
is mis-generated.  It results in the error:

[...]
gmake[4]: Entering directory '/var/tmp/pkgsrc/x11/modular-xorg-server/work/xorg-server-1.18.2/hw/xfree86'
  CC       sdksyms.o
/usr/libexec/cc1: text relocations
sdksyms.c:1069:15: error: expected expression before ',' token
     (void *) &,                                                  /* ../../include/client.h:51 */
               ^
Makefile:809: recipe for target 'sdksyms.o' failed
[...]

'sdksyms.sh' parses "${WRKSRC}/include/client.h", but for some reason
can't figure out symbols of type "pid_t".  This results in the broken
expression above.  Lines 51 and 56 of "client.h" contain the same "pid_t"
declaration and the later expression in "sdksyms.c" is likewise malformed.

The two symbols are "DetermineClientPid" and "GetClientPid", respectively.

-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645



Home | Main Index | Thread Index | Old Index