pkgsrc-Users archive

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

Can't build libXext in 2010Q2



Running NetBSD  5.99.23.

Trying to build in pkgsrc 2010Q2 I get the following errors (where did I go 
wrong?)

: ls -l /usr/pkgsrc
lrwxr-xr-x  1 root  wheel  13 Jan 28  2010 /usr/pkgsrc@ -> /glorp/pkgsrc

: cd /glorp/pkgsrc
: (cd x11/libXext && make update)

=> Bootstrap dependency digest>=20010302: found digest-20080510
===> Building for libXext-1.1.1
/usr/bin/make  all-recursive
Making all in man
Making all in src
  CC     DPMS.lo
In file included from DPMS.c:40:
../include/X11/extensions/dpms.h:37:38: error: X11/extensions/dpmsconst.h: No 
such file or directory
DPMS.c:41:38: error: X11/extensions/dpmsproto.h: No such file or directory
DPMS.c:48: error: 'DPMSExtensionName' undeclared here (not in a function)

I think the above error leads to all the problems:

DPMS.c:48: error: 'DPMSExtensionName' undeclared here (not in a function)
DPMS.c: In function 'find_display':
DPMS.c:74: error: 'DPMSNumberEvents' undeclared (first use in this function)
DPMS.c:74: error: (Each undeclared identifier is reported only once
DPMS.c:74: error: for each function it appears in.)
DPMS.c: In function 'DPMSGetVersion':
DPMS.c:105: error: 'xDPMSGetVersionReply' undeclared (first use in this 
function)
DPMS.c:105: error: expected ';' before 'rep'
DPMS.c:106: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' 
token
DPMS.c:106: warning: ISO C90 forbids mixed declarations and code
DPMS.c:106: error: 'req' undeclared (first use in this function)
DPMS.c:111: error: 'sz_xDPMSGetVersionReq' undeclared (first use in this 
function)
DPMS.c:111: error: 'xDPMSGetVersionReq' undeclared (first use in this function)
DPMS.c:111: error: expected expression before ')' token
DPMS.c:111: error: 'X_DPMSGetVersion' undeclared (first use in this function)
DPMS.c:114: error: 'rep' undeclared (first use in this function)
DPMS.c: In function 'DPMSCapable':
DPMS.c:130: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' 
token
DPMS.c:130: error: 'req' undeclared (first use in this function)
DPMS.c:131: error: 'xDPMSCapableReply' undeclared (first use in this function)
DPMS.c:131: error: expected ';' before 'rep'
DPMS.c:136: error: 'sz_xDPMSCapableReq' undeclared (first use in this function)
DPMS.c:136: error: 'xDPMSCapableReq' undeclared (first use in this function)
DPMS.c:136: error: expected expression before ')' token
DPMS.c:136: error: 'X_DPMSCapable' undeclared (first use in this function)
DPMS.c:140: error: 'rep' undeclared (first use in this function)
DPMS.c: In function 'DPMSSetTimeouts':
DPMS.c:154: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' 
token
DPMS.c:154: error: 'req' undeclared (first use in this function)
DPMS.c:167: error: 'sz_xDPMSSetTimeoutsReq' undeclared (first use in this 
function)
DPMS.c:167: error: 'xDPMSSetTimeoutsReq' undeclared (first use in this function)
DPMS.c:167: error: expected expression before ')' token
DPMS.c:167: error: 'X_DPMSSetTimeouts' undeclared (first use in this function)
DPMS.c: In function 'DPMSGetTimeouts':
DPMS.c:183: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' 
token
DPMS.c:183: error: 'req' undeclared (first use in this function)
DPMS.c:184: error: 'xDPMSGetTimeoutsReply' undeclared (first use in this 
function)
DPMS.c:184: error: expected ';' before 'rep'
DPMS.c:189: error: 'sz_xDPMSGetTimeoutsReq' undeclared (first use in this 
function)
DPMS.c:189: error: 'xDPMSGetTimeoutsReq' undeclared (first use in this function)
DPMS.c:189: error: expected expression before ')' token
DPMS.c:189: error: 'X_DPMSGetTimeouts' undeclared (first use in this function)
DPMS.c:193: error: 'rep' undeclared (first use in this function)
DPMS.c: In function 'DPMSEnable':
DPMS.c:210: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' 
token
DPMS.c:210: error: 'req' undeclared (first use in this function)
DPMS.c:214: error: 'sz_xDPMSEnableReq' undeclared (first use in this function)
DPMS.c:214: error: 'xDPMSEnableReq' undeclared (first use in this function)
DPMS.c:214: error: expected expression before ')' token
DPMS.c:214: error: 'X_DPMSEnable' undeclared (first use in this function)
DPMS.c: In function 'DPMSDisable':  
DPMS.c:227: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' 
token
DPMS.c:227: error: 'req' undeclared (first use in this function)
DPMS.c:231: error: 'sz_xDPMSDisableReq' undeclared (first use in this function)
DPMS.c:231: error: 'xDPMSDisableReq' undeclared (first use in this function)
DPMS.c:231: error: expected expression before ')' token
DPMS.c:231: error: 'X_DPMSDisable' undeclared (first use in this function)
DPMS.c: In function 'DPMSForceLevel':
DPMS.c:245: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' 
token
DPMS.c:245: error: 'req' undeclared (first use in this function)
DPMS.c:249: error: 'DPMSModeOn' undeclared (first use in this function)
DPMS.c:250: error: 'DPMSModeStandby' undeclared (first use in this function)
DPMS.c:251: error: 'DPMSModeSuspend' undeclared (first use in this function)
DPMS.c:252: error: 'DPMSModeOff' undeclared (first use in this function)
DPMS.c:256: error: 'sz_xDPMSForceLevelReq' undeclared (first use in this 
function)
DPMS.c:256: error: 'xDPMSForceLevelReq' undeclared (first use in this function)
DPMS.c:256: error: expected expression before ')' token
DPMS.c:256: error: 'X_DPMSForceLevel' undeclared (first use in this function)
DPMS.c: In function 'DPMSInfo':
DPMS.c:270: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' 
token
DPMS.c:270: error: 'req' undeclared (first use in this function)
DPMS.c:271: error: 'xDPMSInfoReply' undeclared (first use in this function)
DPMS.c:271: error: expected ';' before 'rep'
DPMS.c:276: error: 'sz_xDPMSInfoReq' undeclared (first use in this function)
DPMS.c:276: error: 'xDPMSInfoReq' undeclared (first use in this function)
DPMS.c:276: error: expected expression before ')' token
DPMS.c:276: error: 'X_DPMSInfo' undeclared (first use in this function)
DPMS.c:280: error: 'rep' undeclared (first use in this function)
*** Error code 1


TIA,
Paul


Home | Main Index | Thread Index | Old Index