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

Bug#170507: xfree86: FTBFS on hppa: 'SHMBLA' undeclared



>>>>> In <20021124094753.5F89C3D6B@apocalypse.deadbeast.net> 
>>>>>	Branden Robinson <branden@debian.org> wrote:
>> Package: xfree86
>> Version: unavailable; reported 2002-11-24
>> Severity: serious
>> Tags: help

>> gcc -c -g -O2 -ansi -pedantic -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wundef    -I. -I../include -I../../../exports/include/X11 -I../../../include/extensions 		-I../../../include/fonts -I../mi -I../render -I../../../programs/Xserver/hw/xfree86/common -I../../../include/fonts  		  -I../../.. -I../../../exports/include   -Dlinux -D__hppa__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE  -D_GNU_SOURCE  -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP -DXCSECURITY -DTOGCUP  -DXF86BIGFONT -DDPMSExtension  -DPIXPRIV -DPANORAMIX  -DRENDER  -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA -DXvExtension  -DXFree86Server -DXF86VIDMODE -DXvMCExtension  -DSMART_SCHEDULE -DBUILDDEBUG -DX_BYTE_ORDER=X_BIG_ENDIAN -DNDEBUG  -DFUNCPROTO=15 -DNARROWPROTO   -DMITMISC -DXTEST -DXTRAP -DXSYNC -DXCMISC -DXRECORD  -DMITSHM  -DBIGREQS -DXF86VIDMODE -DXF86MISC -DDBE -D
 DPM
>>  SExtension -DEVI -DSCREENSAVER -DXV -DXVMC -DGLXEXT  -DGLX_USE_MESA  -DFONTCACHE  -DHAS_SHM xf86bigfont.c
>> In file included from xf86bigfont.c:70:
>> ../include/extnsionst.h:109: warning: function declaration isn't a prototype
>> xf86bigfont.c: In function `XFree86BigfontExtensionInit':
>> xf86bigfont.c:168: `SHMLBA' undeclared (first use in this function)
>> xf86bigfont.c:168: (Each undeclared identifier is reported only once
>> xf86bigfont.c:168: for each function it appears in.)
>> make[6]: *** [xf86bigfont.o] Error 1
>> make[6]: Leaving directory `/build/buildd/xfree86-4.2.1/build-tree/xc/programs/Xserver/Xext'

>> What is that thing?  Is it some kernel symbol?

 SHMLBA is defined in /usr/include/bits/shm.h as:

/* Segment low boundary address multiple.  */
#define SHMLBA          (__getpagesize ())
extern int __getpagesize (void) __THROW __attribute__ ((__const__));

 But on hppa these defines are missing.
 I can not find these defines anywhere on the hppa environment.

 Is this glibc's bug on hppa environment?

-- 
ISHIKAWA Mutsumi
 <ishikawa@linux.or.jp>, <ishikawa@debian.org>, <ishikawa@netvillage.co.jp>




Reply to: