DSL Tips and Tricks :: A quick guide on compiling XOrg 7.0 on DSL



Another note: could you build the Xserver package again, this time specifying --with-kdrive (not sure if that's the one, check with configure --help)?
As tiny X isn't built by default, and Xorg 7.2 included some new ones compared to Xfree 4.6, you could then post the Tiny X servers that weren't in Xfree..

Quote
On another note, did you use the security patches/fixes on xorg 7.2 ?
No, but I did use the latest versions of the various tarballs in the "everything" directory - so if these files were already patched, then yes.

Quote
Another note: could you build the Xserver package again, this time specifying --with-kdrive
It took 3-4 weeks to compile the first time - so maybe, but not this week...

Not the full Xorg! Just Xserver, manually...
It will only take a couple of hours...

OK, it's been more than a week but here goes:
Code Sample
$ mydsl-load xorg72.tar.gz
$ mydsl-load xorg/xorg72-dev.tar.gz
$ export LDFLAGS=-L/opt/xorg72/lib
$ export CFLAGS=-I/opt/xorg72/include
$ export PKG_CONFIG_PATH=/opt/xorg72/lib/pkgconfig
$ cd /usr/src/libdrm-2.3.0
$ ./configure --prefix=/opt/xorg72
$ make
$ sudo make install
$ cd /usr/src/xorg-server-1.2.0
$ ./configure --prefix=/opt/xorg72 --enable-kdrive

There's no errors in config and it mentions preparing the make file for several kdrives, but then:
Code Sample
$ make
...
Making all in dri
...
gcc: cannot specify -o with -c or -S and multiple compilations
make[4]: *** [libdri_la-dri.lo] Error 1
make[4]: Leaving directory `/ramdisk/usr/src/xorg-server-1.2.0/hw/xfree86/dri'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/ramdisk/usr/src/xorg-server-1.2.0/hw/xfree86'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/ramdisk/usr/src/xorg-server-1.2.0/hw/xfree86'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/ramdisk/usr/src/xorg-server-1.2.0/hw'
make: *** [all-recursive] Error 1

Any ideas? The version of gcc maybe?

Quote (Juanito @ Sep. 30 2007,05:57)
gcc: cannot specify -o with -c or -S and multiple compilations

I asked about this also: http://damnsmalllinux.org/cgi-bin....t=19132

This seems to be a bug in gcc; mismatches with headers??

Next Page...
original here.