-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
HMMM. Looks like a file /usr/include/asm/errno.h is missing. Normally this
is linked to a file in the kernel source tree.
Have you made any modifications to the kernel source tree? If you have the
kernel source
installed, here's one way to get it back:
cd /usr/src/linux
Now, run through a make config but don't change any options. After that,
do make dep then make clean. This will cause the kernel source to relink
the file properly.
Jacob Schmude
MailTo:[EMAIL PROTECTED]
ICQ: 53401220
Email me for public gpg key.
On Mon, 3 Jan 2000, Erik wrote:
> Hi,
>
> I downloaded a RPM for a GLX driver. I am trying to rebuild it for my
> video card so I can play quake III. i did an rpm -i and then went to
> the spec file. added a few lines for my card (I was instructed to do
> this on the loki newsgroup for q3). I then ran rpm -ba glx....spec and
> I get errors when it trys to build my rpm. This is what i get when I
> try. Can anyone help?
>
>
>
> Executing: %prep
> Executing: %build
> checking tools...
> configuring glx docs...
> creating cache ./config.cache
> checking for a BSD compatible install... /usr/bin/install -c
> checking whether ln -s works... yes
> checking whether make sets ${MAKE}... yes
> checking for cp... cp -f
> checking for rm... rm -f
> checking for mv... mv -f
> checking for mkdir... mkdir -p
> checking for jade... no
> checking for lynx... yes
> checking for jadetex... no
> checking for dvips... no
> checking for ps2pdf... yes
> setting targets to
> updating cache ./config.cache
> creating ./config.status
> creating Makefile
> configuring glx...
> creating cache ./config.cache
> checking for gcc... gcc
> checking whether the C compiler (gcc ) works... yes
> checking whether the C compiler (gcc ) is a cross-compiler... no
> checking whether we are using GNU C... yes
> checking whether gcc accepts -g... yes
> checking how to run the C preprocessor... gcc -E
> checking for a BSD compatible install... /usr/bin/install -c
> checking whether ln -s works... yes
> checking whether make sets ${MAKE}... yes
> checking for ranlib... ranlib
> checking for ar... ar
> checking for as... as
> checking for ld... ld
> checking for cp... cp -f
> checking for rm... rm -f
> checking for mv... mv -f
> checking for mkdir... mkdir -p
> checking for ctags... ctags
> checking for tclsh... tclsh
> checking for gccmakedep... gccmakedep
> checking for find... find
> checking for sh... /bin/sh
> checking for sed... sed
> checking for tar... tar
> checking for bzip2... bzip2
> checking for cvs... cvs
> checking host system type... i586-pc-linux-gnu
> checking for a local Mesa directory... yes './Mesa'
> checking Mesa source version... MesaLib version 3.1 or 3.2
> checking for GLU in the Mesa source tree... yes
> checking for glut in the Mesa source tree... yes
> checking host support for mmx... yes
> checking host support for 3dnow... yes
> checking compiler support for cpuid routine... yes
> checking compiler support for MMX... yes
> checking compiler support for 3Dnow... yes
> checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
> checking for dnet_ntoa in -ldnet... no
> checking for dnet_ntoa in -ldnet_stub... no
> checking for gethostbyname... yes
> checking for connect... yes
> checking for remove... yes
> checking for shmat... yes
> checking for IceConnectionNumber in -lICE... yes
> checking for ANSI C header files... yes
> checking for fcntl.h... yes
> checking for limits.h... yes
> checking for sys/ioctl.h... no
> checking for unistd.h... yes
> checking for floatingpoint.h... no
> checking for sys/types.h... yes
> checking for sys/mman.h... yes
> checking for sys/perm.h... yes
> checking for asm/sigcontext.h... no
> checking for asm/mtrr.h... no
> checking for linux/agpgart.h... no
> checking for working const... yes
> checking for size_t... yes
> checking size of long... 4
> checking whether gcc needs -traditional... no
> checking return type of signal handlers... int
> checking for vprintf... yes
> checking for strdup... yes
> checking for strerror... yes
> checking for strstr... yes
> checking for iopl... yes
> checking for XF86DGAQueryExtension in -lXxf86dga... yes
> checking for XextAddDisplay in -lXext... yes
> checking for dlopen in -ldl... yes
> updating cache ./config.cache
> creating ./config.status
> creating servGL/Makefile
> creating servGL/mesaglx/Makefile
> creating servGL/mesaglx/X86/Makefile
> creating servGL/serverglx/Makefile
> creating servGL/hwglx/Makefile
> creating servGL/hwglx/mga/Makefile
> creating servGL/hwglx/i810/Makefile
> creating servGL/hwglx/nv/Makefile
> creating servGL/hwglx/mach64/Makefile
> creating include/GL/Makefile
> creating libGL/Makefile
> creating libGLU/Makefile
> creating libglut/Makefile
> creating Make.options
> creating Makefile
> creating glx.conf
> creating utah_glx.spec
> Configuration complete. The glx module is configured for:
> Host type i586-pc-linux-gnu
> MesaLib source tree: /usr/src/redhat/BUILD/glx/Mesa
> MesaLib version: 3.1 or 3.2
> MesaLib SMP support: no
> Hardware acceleration: yes
> Chipset enabled: Mach64 (ATI Rage Pro)
> ****** WARNING: EXPERIMENTAL, UNDER DEVELOPMENT ******
> Native assembler support: x86 mmx 3dnow
> Client libraries to build: libGL.so libGLU.so libglut.so
> Server module to build: glx.so
>
> Installation directory for client libs /usr/X11R6/lib
> Installation directory for glx.so /usr/X11R6/lib/modules
> Installation directory for header files /usr/X11R6/include/GL
> Installation directory for glx.conf /etc/X11
>
>
>
> for i in include/GL libGL servGL docs libGLU libglut ; do \
> ( cd $i && make all ) || exit 1; \
> done
> make[1]: Entering directory `/usr/src/redhat/BUILD/glx/include/GL'
> rm -f gl.h
> ln -s /usr/src/redhat/BUILD/glx/Mesa/include/GL/gl.h gl.h
> rm -f glu.h
> ln -s /usr/src/redhat/BUILD/glx/Mesa/include/GL/glu.h glu.h
> rm -f glut.h
> ln -s /usr/src/redhat/BUILD/glx/Mesa/include/GL/glut.h glut.h
> rm -f glutf90.h
> ln -s /usr/src/redhat/BUILD/glx/Mesa/include/GL/glutf90.h glutf90.h
> make[1]: Leaving directory `/usr/src/redhat/BUILD/glx/include/GL'
> make[1]: Entering directory `/usr/src/redhat/BUILD/glx/libGL'
> tclsh genlib.tcl
> rm -f extensions.o
> gcc -O2 -m486 -fno-strength-reduce -march=pentium -DUSE_X86_ASM
> -DUSE_MMX_ASM
> -DUSE_3DNOW_ASM -Wall -Wno-uninitialized -O3 -fexpensive-optimizations
> -fomit-frame-pointer -finline-functions -funroll-loops -DNDEBUG
> -DMGA_LOG_ENABLED -DGLX_LOG -DHW_ACCEL -DDYNAMIC_MODULE -DNO_MTRR
> -DNO_AGPGART -DSTDC_HEADERS=1
> -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1
> -DHAVE_SYS_TYPES_H=1
> -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PERM_H=1 -DSIZEOF_LONG=4 -DRETSIGTYPE=int
> -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRSTR=1
> -DHAVE_IOPL=1 -DHAVE_LIBDL=1 -DXFreeXDGA -fPIC -DGLXEXT -DXDEBUG
> -DMESA31
> -DBUILD_COLOR_TABLE_EXT=1 -DGLX_MODULE -I../include
> -I/usr/src/redhat/BUILD/glx/Mesa/include -I../xc-headers/lib/X11
> -I../xc-headers/include -I../servGL/serverglx
> -I../xc-headers/programs/Xserver/hw/xfree86/common_hw
> -I../xc-headers/programs/Xserver/hw/xfree86/common
> -I../xc-headers/programs/Xserver/hw/xfree86/vga256/vga
> -I../xc-headers/programs/Xserver/hw/xfree86/os-support
> -I../xc-headers/programs/Xserver/hw/xfree86
> -I../xc-headers/programs/Xserver/include -I../xc-headers/include/fonts
> -I../xc-headers/include -I/usr/X11R6/include -fPIC -c extensions.c In
> file
> included from /usr/include/bits/errno.h:25, from
> /usr/include/errno.h:36, from
> ../xc-headers/lib/X11/Xlibint.h:205, from
> glxlib.h:31,
> from extensions.c:6: /usr/include/linux/errno.h:4:
> asm/errno.h: No
> such file or directory make[1]: *** [extensions.o] Error 1 make[1]:
> Leaving
> directory `/usr/src/redhat/BUILD/glx/libGL' make: *** [all] Error 1 Bad
> exit
> status from /var/tmp/rpm-tmp.78758 (%build)
>
>
> thanks,
>
> erik
>
>
> --
> To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> as the Subject.
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.0 (GNU/Linux)
Comment: Made with pgp4pine
iD8DBQE4cXU9GpdY0XMhJGQRAn5aAJwKgh0V+mjOU8qZIVat573B3OxfdwCghNch
PJk9Vvxmf3TCve6KbKkAEpY=
=8+5Y
-----END PGP SIGNATURE-----
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.