Issues compiling latest xorg-x11 release

Garrett Cooper youshi10 at u.washington.edu
Sun Oct 9 18:38:50 PDT 2005


On Oct 9, 2005, at 2:27 PM, Gerard Seibert wrote:

> On Sun, 9 Oct 2005 13:55:34 -0700, Garrett Cooper  
> <youshi10 at u.washington.edu>
> Subject: Issues compiling latest xorg-x11 release
> Wrote these words of wisdom:
>
>
>> Hi,
>>      It appears that I'm having serious trouble compiling the latest
>> xorg release. I tried installing something Xaw related (XawPlus and
>> libXaw), but both failed to install for me. Any ideas?
>>      Thanks!
>> -Garrett
>>
>> Arch/release info:
>> root at sprsd# uname -a
>> FreeBSD sprsd 5.4-RELEASE FreeBSD 5.4-RELEASE #5: Wed Jun 22 19:52:09
>> PDT 2005     root at sprsd:/usr/src/sys/i386/compile/CUSTOM  i386
>>
>> Video card:
>> Currently headless, but I have an nVidia GeForce4 Ti 4200 plugged
>> into it, from time to time.
>>
>> Compile error message:
>> cc -o xorgcfg -O2 -pipe -ansi -pedantic -Wno-system-headers -
>> Dasm=__asm         -Wall -Wpointer-arith -Wundef     -L/usr/ports/ 
>> x11-
>> servers/xorg-server/work/xc/exports/lib  -L/usr/X11R6/lib accessx.o
>> cards.o config.o        card-cfg.o      expert.o        help.o
>> interface.o     keyboard-cfg.o  libc_wrapper.o loader.o
>> loadmod.o       monitor-cfg.o   mouse-cfg.o     options.o
>> screen-cfg.o    screen.o                startx.o
>> stubs.o text-mode.o     vidmode.o       xf86config.o -lxkbui -
>> lxkbfile -lxf86config -lXxf86misc                   -lXxf86vm -lXaw -
>> lXmu -lXt -lSM -lICE -lXext -lX11 -lXt -lSM -lICE             - 
>> lXpm  -
>> L../loader -lxloader -L../dummylib -ldummy -rdynamic             -
>> lXext -lX11 -lncurses  -lm -L/usr/X11R6/lib     -Wl,-rpath,/usr/ 
>> X11R6/
>> lib -Wl,-rpath-link,/usr/ports/x11-servers/xorg-server/work/xc/
>> exports/lib
>> /usr/X11R6/lib/libXaw.so: warning: warning: tmpnam() possibly used
>> unsafely; consider using mkstemp()
>> help.o(.text+0xf9): In function `Html_ModeEnd':
>> : undefined reference to `XawTextSourceClearEntities'
>> help.o(.text+0x262): In function `Html_AddEntities':
>> : undefined reference to `XawTextGetSink'
>> help.o(.text+0x272): In function `Html_AddEntities':
>> : undefined reference to `XawTextSinkCopyProperty'
>> help.o(.text+0x29f): In function `Html_AddEntities':
>> : undefined reference to `XawTextSinkGetProperty'
>> help.o(.text+0x2ae): In function `Html_AddEntities':
>> : undefined reference to `XawTextSinkCombineProperty'
>> help.o(.text+0x2da): In function `Html_AddEntities':
>> : undefined reference to `XawTextSinkAddProperty'
>> help.o(.text+0x38b): In function `Html_AddEntities':
>> : undefined reference to `XawTextSourceAddEntity'
>> help.o(.text+0x3e7): In function `Html_AddEntities':
>> : undefined reference to `XawTextSourceAddEntity'
>> help.o(.text+0x406): In function `Html_AddEntities':
>> : undefined reference to `XawTextSinkCombineProperty'
>> help.o(.text+0x41f): In function `Html_AddEntities':
>> : undefined reference to `XawTextSinkCombineProperty'
>> help.o(.text+0x513): In function `Html_Commit':
>> : undefined reference to `XawTextSourceAddEntity'
>> help.o(.text+0x2877): In function `Help':
>> : undefined reference to `XawTextSourceClearEntities'
>> help.o(.text+0x2a80): In function `Help':
>> : undefined reference to `XawTextSinkConvertPropertyList'
>> help.o(.text+0x2a98): In function `Help':
>> : undefined reference to `XawTextGetSink'
>> help.o(.text+0x2cbd): In function `Html_AArgs':
>> : undefined reference to `XawTextGetSink'
>> help.o(.text+0x2cc5): In function `Html_AArgs':
>> : undefined reference to `XawTextSinkCopyProperty'
>> help.o(.text+0x2d21): In function `Html_FontArgs':
>> : undefined reference to `XawTextGetSink'
>> help.o(.text+0x2d29): In function `Html_FontArgs':
>> : undefined reference to `XawTextSinkCopyProperty'
>> *** Error code 1
>>
>> Stop in /usr/ports/x11-servers/xorg-server/work/xc/programs/Xserver/
>> hw/xfree86/xf86cfg.
>> *** Error code 1
>>
>> Stop in /usr/ports/x11-servers/xorg-server/work/xc/programs/Xserver/
>> hw/xfree86.
>> *** Error code 1
>>
>> Stop in /usr/ports/x11-servers/xorg-server/work/xc/programs/Xserver.
>> *** Error code 1
>>
>> Stop in /usr/ports/x11-servers/xorg-server.
>> ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/
>> portupgrade96005.63 make
>> ** Fix the problem and try again.
>> --->  Skipping 'x11/xorg' (xorg-6.8.2) because a requisite package
>> 'xorg-server-6.8.2' (x11-servers/xorg-server) failed (specify -k to
>> force)
>> ** Listing the failed packages (*:skipped / !:failed)
>>          ! x11-servers/xorg-server (xorg-server-6.8.2)   (new
>> compiler error)
>>          * x11/xorg (xorg-6.8.2)
>> --->  Packages processed: 0 done, 278 ignored, 1 skipped and 1 failed
>> root at sprsd#
>
>
> ***** REPLY SEPARATOR *****
> On 10/9/2005 5:13:20 PM, Gerard Seibert Replied:
>
> I have had problems in the past with 'xorg' also. The latest  
> version of
> the server is 'xorg-server-6.8.2_6'
>
> You might try doing a make clean in the
> /usr/ports/x11-servers/xorg-server directory and then deleting any  
> files
> in the /usr/ports/distfiles directory. Conversely, you could also run
> 'portsclean -C -D -L to clean up any extraneous garbage. I would now
> update your ports to be sure you have the latest version and then try
> installing 'xorg-server' again.
>
> -- 
> Gerard Seibert
> gerard at seibercom.net

     Doing that didn't solve the issue, but uninstalling and  
reinstalling xorg-server did the trick. Thanks for the help though =)!
-Garrett


More information about the freebsd-questions mailing list