Hello,
I have found a way arround the the issue.
The problem is induced by a faulty file :
/usr/include/GL/gl.h
I have replaced it by the gl.h file present on by desktop (Ubuntu
9.10).
I can now compile x11-server from the source rpm.
A bug has been posted to document the issue.
[1]http://bugzilla.moblin.org/show_bug.cgi?id=7920
Enjoy your day.
Dominig
--------------------------------------------------------
Hello,
I have compiled in the past, several times the x11-server to add the
support of the Nvidia ION following Brendan blog at :
[2]http://www.madeo.co.uk/?p=40
I have loaded the latest version of Moblin 2.1 and the process that I
used to recompile x11-server does not work anymore.
Here is my script.
1) Download xorg-x11-server-1.6.4.901-7.8.moblin2.src.rpm from
[3]http://repo.moblin.org/moblin/releases/2.1/source/
2) install it via the command
rpm -i xorg-x11-server-1.6.4.901-7.8.moblin2.src.rpm
3) build from r...@moblin-desktop SPECS with the command
rpmbuild --target=i586 -bb xorg-x11-server.spec (the spec is
unchanged)
I have the following error and have no clue of what could create it.
-------------------------- console extract --------------------------
mv -f .deps/renderpixswap.Tpo .deps/renderpixswap.Plo
../doltcompile gcc -DHAVE_CONFIG_H -I. -I../include
-I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus
-I../hw/xfree86/common -I../hw/xfree86/dri -I../mi
-DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT
-DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/pixman-1 -I/usr/include/hal
-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
-I/usr/kerberos/include -I../include -I../include -I../Xext
-I../composite -I../damageext -I../xfixes -I../Xi -I../mi
-I../miext/shadow -I../miext/damage -I../render -I../randr -I../fb
-I/usr/include/drm -I/usr/include/X11/dri -DXFree86Server -O2 -g -pipe
-Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i586 -fasynchronous-unwind-tables
-MT single2.lo -MD -MP -MF .deps/single2.Tpo -c -o single2.lo single2.c
rensize.c: In function '__glXImageSize':
rensize.c:222: error: 'GL_DEPTH_STENCIL_MESA' undeclared (first use in
this function)
rensize.c:222: error: (Each undeclared identifier is reported only once
rensize.c:222: error: for each function it appears in.)
rensize.c:261: error: 'GL_UNSIGNED_SHORT_15_1_MESA' undeclared (first
use in this function)
rensize.c:262: error: 'GL_UNSIGNED_SHORT_1_15_REV_MESA' undeclared
(first use in this function)
rensize.c:276: error: 'GL_UNSIGNED_INT_24_8_MESA' undeclared (first use
in this function)
rensize.c:277: error: 'GL_UNSIGNED_INT_8_24_REV_MESA' undeclared (first
use in this function)
make[1]: *** [rensize.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
mv -f .deps/single2.Tpo .deps/single2.Plo
make[1]: Leaving directory
`/root/rpmbuild/BUILD/xorg-server-1.6.4.901/glx'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.45Inud (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.45Inud (%build)
------------------------- End Console ------------------------------
Has someone succeeded to build x11-server from the rpm source for the
version 2.1 ?
Any clue ?
Thanks in advance
Dominique
--
Dominique Le Foll
References
1. http://bugzilla.moblin.org/show_bug.cgi?id=7920
2. http://www.madeo.co.uk/?p=40
3. http://repo.moblin.org/moblin/releases/2.1/source/
_______________________________________________
Moblin dev Mailing List
[email protected]
To manage or unsubscribe from this mailing list visit:
http://lists.moblin.org/listinfo/dev or your user account on http://moblin.org
once logged in.
For more information on the Moblin Developer Mailing lists visit:
http://moblin.org/community/mailing-lists