Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Dec 2005 19:56:16 -0800
From:      "Michael C. Shultz" <ringworm01@gmail.com>
To:        Undisclosed.Recipients: ;
Cc:        "Anthony M. Agelastos" <iqgrande@gmail.com>, freebsd-questions@freebsd.org
Subject:   Re: Upgrading xorg-server
Message-ID:  <200512041956.16824.ringworm01@gmail.com>
In-Reply-To: <624EACBF-B659-4877-A0D0-E0BF5DD93DA8@gmail.com>
References:  <624EACBF-B659-4877-A0D0-E0BF5DD93DA8@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 04 December 2005 19:34, Anthony M. Agelastos wrote:
> Hello everyone,
>
> Today, I tried updating xorg-server and it failed. Here is the
> primary error message:
>
> make: don't know how to make /diskad3/portsBuild/Usr/ports/x11-
> servers/xorg-server/work/xc/extras/Mesa/src/mesa/glapi/glapi.h. Stop
> *** Error code 2
>
> I tried updating it via portupgrade -arR, portupgrade xorg-server,
> and portmanager -u -l. I have the full session recorded via script so
> I can send that file compressed to whomever wants it (or additional
> information from it).

>
> I am running 6.0-STABLE. Has anyone had any problems doing the recent
> update? My make.conf is comprised of:
>
> CPUTYPE?=p3
> CFLAGS= -Os -pipe
> NO_BLUETOOTH=true
> CUPS_OVERWRITE_BASE=yes
> NO_LPR=true
> NO_PROFILE=true
> PERL_VER=5.8.7
> PERL_VERSION=5.8.7
>
> I also tried building it with
> CFLAGS= -O -pipe
> CFLAGS= -pipe
> instead of what is shown above. Each time, it fails at a different
> spot. The error message above was with -O in CFLAGS. With -Os, it is:
>
> panoramiX.c:1162: warning: unused variable `pScreen'
> rm -f panoramiXSwap.o
> cc -c -Os -pipe -march=pentium3 -ansi -pedantic -Wno-system-headers -
> Dasm=__asm 	-Wall -Wpointer-arith -Wundef    -fno-merge-constants -I.
> -I../include -I/diskad3/portsBuild/usr/ports/x11-servers/xorg-server/
> work/xc/exports/include/X11 -I/diskad3/portsBuild/usr/ports/x11-
> servers/xorg-server/work/xc/include/extensions 		-I/diskad3/
> portsBuild/usr/ports/x11-servers/xorg-server/work/xc/include/fonts -
> I../mi -I../render -I/diskad3/portsBuild/usr/ports/x11-servers/xorg-
> server/work/xc/programs/Xserver/hw/xfree86/common -I/diskad3/
> portsBuild/usr/ports/x11-servers/xorg-server/work/xc/include/fonts
> 		   -I/diskad3/portsBuild/usr/ports/x11-servers/xorg-server/work/xc -
> I/diskad3/portsBuild/usr/ports/x11-servers/xorg-server/work/xc/
> exports/include -I/usr/X11R6/include -I/usr/X11R6/include -
> DCSRG_BASED -DSHAPE -DXINPUT -DXKB  -DXAPPGROUP 	-DXCSECURITY -
> DTOGCUP  	-DXF86BIGFONT -DDPMSExtension 	  -DPANORAMIX 	 -DRENDER -
> DRANDR 	-DXFIXES -DDAMAGE -DCOMPOSITE -DXEVIE 	 -DGCCUSESGAS -
> DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH 				-DXFreeXDGA -DXvExtension
> 				-DXFree86LOADER  -DXFree86Server 				-DXF86VIDMODE 				-
> DXvMCExtension 				-DSMART_SCHEDULE 				-DBUILDDEBUG -DXResExtension
> 				-DX_BYTE_ORDER=X_LITTLE_ENDIAN 				-DXORG_VERSION_CURRENT="(((6)
> * 10000000) + ((8) * 100000) + ((2) * 1000) + 0)" -DNDEBUG   -
> DFUNCPROTO=15 -DNARROWPROTO   -DMITMISC -DXTEST -DXTRAP 	-DXSYNC -
> DXCMISC -DXRECORD 	-DMITSHM -DBIGREQS -DXF86VIDMODE 	-DXF86MISC -DDBE
> -DDPMSExtension -DEVI 	-DSCREENSAVER -DXV -DXVMC 	-DGLXEXT -DXF86DRI -
> DGLX_DIRECT_RENDERING -DGLX_USE_DLOPEN -DGLX_USE_MESA            -
> DRES   panoramiXSwap.c
> make: don't know how to make ../include/scRnintstr.h. Stop
> *** Error code 2
>
> With only -pipe in CFLAGS, it is
>
> cc -pipe -march=pentium3 -ansi -pedantic -Wno-system-headers -
> Dasm=__asm 	-Wall -Wpointer-arith -Wundef    -fno-merge-constants -I.
> -I/diskad3/portsBuild/usr/ports/x11-servers/xorg-server/work/xc/
> programs/Xserver/hw/xfree86/common -I/diskad3/portsBuild/usr/ports/
> x11-servers/xorg-server/work/xc/programs/Xserver/hw/xfree86/os-
> support            -I/diskad3/portsBuild/usr/ports/x11-servers/xorg-
> server/work/xc/programs/Xserver/mfb -I/diskad3/portsBuild/usr/ports/
> x11-servers/xorg-server/work/xc/programs/Xserver/mi 	   -I/diskad3/
> portsBuild/usr/ports/x11-servers/xorg-server/work/xc/programs/Xserver/
> hw/xfree86/xaa -I/diskad3/portsBuild/usr/ports/x11-servers/xorg-
> server/work/xc/programs/Xserver/hw/xfree86/rac            -I/diskad3/
> portsBuild/usr/ports/x11-servers/xorg-server/work/xc/programs/Xserver/
> cfb -I/diskad3/portsBuild/usr/ports/x11-servers/xorg-server/work/xc/
> programs/Xserver/hw/xfree86/xaa -I/diskad3/portsBuild/usr/ports/x11-
> servers/xorg-server/work/xc/programs/Xserver/hw/xfree86/ramdac 	   -I/
> diskad3/portsBuild/usr/ports/x11-servers/xorg-server/work/xc/programs/
> Xserver/hw/xfree86/vgahw -I/diskad3/portsBuild/usr/ports/x11-servers/
> xorg-server/work/xc/programs/Xserver/hw/xfree86/ddc -I/diskad3/
> portsBuild/usr/ports/x11-servers/xorg-server/work/xc/programs/Xserver/
> hw/xfree86/i2c 	   -I/diskad3/portsBuild/usr/ports/x11-servers/xorg-
> server/work/xc/programs/Xserver/Xext -I/diskad3/portsBuild/usr/ports/
> x11-servers/xorg-server/work/xc/programs/Xserver/hw/xfree86/vbe -I/
> diskad3/portsBuild/usr/ports/x11-servers/xorg-server/work/xc/programs/
> Xserver/fb           -I/diskad3/portsBuild/usr/ports/x11-servers/xorg-
> server/work/xc/include/fonts -I/diskad3/portsBuild/usr/ports/x11-
> servers/xorg-server/work/xc/programs/Xserver/include -I/diskad3/
> portsBuild/usr/ports/x11-servers/xorg-server/work/xc/exports/include/
> X11 	   -I/diskad3/portsBuild/usr/ports/x11-servers/xorg-server/work/
> xc/include/extensions -I/diskad3/portsBuild/usr/ports/x11-servers/
> xorg-server/work/xc/programs/Xserver/hw/xfree86/int10 -I/diskad3/
> portsBuild/usr/ports/x11-servers/xorg-server/work/xc/programs/Xserver/
> render  -I/diskad3/portsBuild/usr/ports/x11-servers/xorg-server/work/
> xc -I/diskad3/portsBuild/usr/ports/x11-servers/xorg-server/work/xc/
> exports/include -I/usr/X11R6/include -I/usr/X11R6/include -
> DCSRG_BASED -DSHAPE -DXINPUT -DXKB  -DXAPPGROUP 	-DXCSECURITY -
> DTOGCUP  	-DXF86BIGFONT -DDPMSExtension 	  -DPANORAMIX 	 -DRENDER -
> DRANDR 	-DXFIXES -DDAMAGE -DCOMPOSITE -DXEVIE 	 -DGCCUSESGAS -
> DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH 				-DXFreeXDGA -DXvExtension
> 				-DXFree86LOADER  -DXFree86Server 				-DXF86VIDMODE 				-
> DXvMCExtension 				-DSMART_SCHEDULE 				-DBUILDDEBUG -DXResExtension
> 				-DX_BYTE_ORDER=X_LITTLE_ENDIAN 				-DXORG_VERSION_CURRENT="(((6)
> * 10000000) + ((8) * 100000) + ((2) * 1000) + 0)" -DNDEBUG   -
> DFUNCPROTO=15 -DNARROWPROTO  -DIN_MODULE -DXFree86Module    -c
> i740_driver.c
> i740_driver.c: In function `I740PreInit':
> i740_driver.c:641: error: stray '\24' in program

				^^^^^^^^^^^^
here is the problem, go to that line in the source file, remove the crud then
cd /usr/ports/x11-servers/xorg-server && make

if it builds finish with

make deinstall && make install clean 

Now the question is how did that \24 get into the file?  Doesn't
seam othewrs have the same problem so is it something your system did?

-Mike

ps. you cross posted, to freebsd-x11 twice! Fixed the replies to something 
sane.

> i740_driver.c:641:10: invalid suffix "DrvMsg" on integer constant
> i740_driver.c:641: error: syntax error before numeric constant
> *** Error code 1
>
> Stop in /diskad3/portsBuild/usr/ports/x11-servers/xorg-server/work/xc/
> programs/Xserver/hw/xfree86/drivers/i740.
> *** Error code 1
>
>
> I have checked google.com/bsd as well as the archives. Any ideas?
> Thank you for the assistance.
> _______________________________________________
> freebsd-x11@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-x11
> To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512041956.16824.ringworm01>