followup on my Mod4 disappearing problem

SirDice sirdice at xs4all.nl
Fri Dec 22 07:26:26 PST 2006


I meant to send this to the list too but as it turned out I replied to 
Scott only.

Scott Robbins wrote:
 > It turned out the the original update of xorg-server failed--it seemed
 > to be tied in with xkeyboard-config and the directory
 > /usr/X11R6/share/X11/xkb.

Florent recently readded xkeyboard-config to the git tree, it seems it 
was removed together with xkbdata.
With all the recent changes I decided to do a clean install again. 
Building xorg-server fails in "Make install in xkb".
It fails on test -z "/usr/X11R6/share/xkb/compiled", proceeds to 
install-sh -d "/usr/X11R6/share/X11/xkb/compiled" which ends in mkdir: 
/usr/X11R6/share/X11/xkb/compiled: File exists. And the whole build 
bombs out.. Sounds like the same problem.

As far as I can tell xkeyboard-config creates a symlink from 
/usr/X11R6/share/X11/xkb/compiled to /var/lib/xkb but doesn't actually 
create /var/lib/xkb. After creating it by hand the build proceeded 
without errors....

Unfortunately, after building xorg-server, I ran into the same error as 
Michael McCaskill mentioned:
 >As it stands now, I cannot finish installation of xorg-drivers because 
of an
 >error with xf86-video-mga with mga_driver.c:

cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include/xorg 
-I/usr/X11R6/include -I/usr/local/include -I/usr/local/include/drm 
-I/usr/X11R6/include/X11/dri -O2 -fno-strict-aliasing -pipe -MT 
mga_driver.lo -MD -MP -MF .deps/mga_driver.Tpo -c mga_driver.c  -fPIC 
-DPIC -o .libs/mga_driver.o
mga_driver.c:443: error: syntax error before ',' token
mga_driver.c:444: warning: initialization makes integer from pointer 
without a cast
mga_driver.c:444: error: initializer element is not computable at load time
mga_driver.c:444: error: (near initialization for `mgaVersRec.patchlevel')
mga_driver.c:445: warning: initialization makes pointer from integer 
without a cast
mga_driver.c:446: warning: initialization makes integer from pointer 
without a cast
mga_driver.c:447: warning: braces around scalar initializer
mga_driver.c:447: warning: (near initialization for 
`mgaVersRec.moduleclass')
mga_driver.c:447: warning: excess elements in scalar initializer
mga_driver.c:447: warning: (near initialization for 
`mgaVersRec.moduleclass')
mga_driver.c:447: warning: excess elements in scalar initializer
mga_driver.c:447: warning: (near initialization for 
`mgaVersRec.moduleclass')
mga_driver.c:447: warning: excess elements in scalar initializer
mga_driver.c:447: warning: (near initialization for 
`mgaVersRec.moduleclass')


Cheers,

Remko C.


More information about the freebsd-x11 mailing list