Hey guys,

        I got the server to build, but when I go to build the drm module,
I'm getting further errors:

[ root@sorrow - 
/home/adamk/dri/xc/xc/programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel/radeon ]: 
make
cc -O2  -I. -I.. -ffreestanding   -Werror  -nostdinc -I. 
-I/home/adamk/dri/xc/xc/programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel/radeon 
-isystem /sys -isystem /sys/arch -D_KERNEL -D_LKM  -c 
/home/adamk/dri/xc/xc/programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel/radeon/../radeon_cp.c
In file included from
/home/adamk/dri/xc/xc/programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel/radeon/../drm_os_netbsd.h:33,
                 from
/home/adamk/dri/xc/xc/programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel/radeon/../drmP.h:75,
                 from
/home/adamk/dri/xc/xc/programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel/radeon/../radeon_cp.c:32:
/sys/dev/pci/pcivar.h:146: locators.h: No such file or directory
In file included from
/home/adamk/dri/xc/xc/programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel/radeon/../drmP.h:75,
                 from
/home/adamk/dri/xc/xc/programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel/radeon/../radeon_cp.c:32:
/home/adamk/dri/xc/xc/programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel/radeon/../drm_os_netbsd.h:45:
opt_drm.h: No such file or directory
*** Error code 1

Stop.

So close, and yet so far :-)

On Thu, 13 Feb 2003, Erik Reid wrote:

> Date: Thu, 13 Feb 2003 11:08:59 -0700
> From: Erik Reid <[EMAIL PROTECTED]>
> To: Adam K Kirchhoff <[EMAIL PROTECTED]>
> Cc: Eric Anholt <[EMAIL PROTECTED]>
> Subject: Re: [Dri-devel] CVS branches.
>
> Quoth Adam K Kirchhoff:
> >
> >Errr, FYI, I pulled the bsd-4-0-0-branch on my NetBSD machine (which had
> >no copies of the DRI cvs on it), an I'm getting quite a few errors:
> >
> >making all in lib/xtrans...
> >making all in lib/Xi...
> >cd: can't cd to Xi
> >making all in lib/xkbfile...
> >make: don't know how to make all. Stop
> >
> >make: stopped in /usr/home/adamk/dri/xc/xc/lib/xkbfile
> >making all in lib/lbxutil...
> >make: don't know how to make all. Stop
> >
> >make: stopped in /usr/home/adamk/dri/xc/xc/lib/lbxutil
> >making all in lib/Xv...
> >make: don't know how to make all. Stop
> >
> >make: stopped in /usr/home/adamk/dri/xc/xc/lib/Xv
> >making all in lib/GL...
> >make: don't know how to make all. Stop
> >
> >make: stopped in /usr/home/adamk/dri/xc/xc/lib/GL
> >making all in lib/XvMC...
> >make: don't know how to make all. Stop
> >
> >make: stopped in /usr/home/adamk/dri/xc/xc/lib/XvMC
> >making all in lib/font...
> >make: don't know how to make all. Stop
> >
> >make: stopped in /usr/home/adamk/dri/xc/xc/lib/font
> >*** Error code 2
>
> You'll either want to define BuildXInputLib to NO in your host.def, or copy
> xc/lib/Xi from netbsd's xsrc..  I'm pretty sure defining it to NO would be 'better',
> but I did the latter and it still works. :)
>
> The branch(or perhaps DRI CVS altogether) doesn't have xc/lib/Xi for some reason,
> I'm not really sure why.
>
> >It continues, and tries to work in the Xserver directory, but dies with:
> >
> >making all in programs/Xserver/Xext/extmod...
> >rm -f ../../../../exports/lib/modules/extensions/libextmod.a
> >+ cd ../../../../exports/lib/modules/extensions
> >+ ln -s ../../../../programs/Xserver/Xext/extmod/libextmod.a .
> >making all in programs/Xserver/xkb...
> >rm -f xkbout.o
> >gcc -c -O2 -ansi -Wall -Wpointer-arith -Wstrict-prototypes
> >-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -pipe -g
> >-I../include -I../../../exports/include/X11 -I../../../include/extensions
> >-I../../../programs/Xserver/Xext
> >-I../../../programs/Xserver/mi  -I../../.. -I../../../exports/include
> >-I/usr/X11R6/include  -DCSRG_BASED -DSHAPE -DXINPUT -DXKB -DLBX
> >-DXAPPGROUP -DXCSECURITY -DTOGCUP  -DXF86BIGFONT -DDPMSExtension
> >-DPANORAMIX  -DRENDER -DRANDR -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV
> >-DSINGLEDEPTH -DXFreeXDGA -DXvExtension -DXFree86LOADER  -DXFree86Server
> >-DXF86VIDMODE -DXvMCExtension  -DSMART_SCHEDULE -DBUILDDEBUG
> >-DXResExtension -DX_BYTE_ORDER=X_LITTLE_ENDIAN -DNDEBUG  -DFUNCPROTO=15
> >-DNARROWPROTO   -DXKB_IN_SERVER     xkbout.c
> >xkbout.c:57: extensions/XKBfile.h: No such file or directory
> >*** Error code 1
>
> Yeah, I just kludged this as well.  It's probably because make Makefiles dies
> in xc/lib when it can't get into lib/Xi.
>
> >On 12 Feb 2003, Eric Anholt wrote:
> >
> >> Date: 12 Feb 2003 17:10:48 -0800
> >> From: Eric Anholt <[EMAIL PROTECTED]>
> >> To: Adam K Kirchhoff <[EMAIL PROTECTED]>
> >> Cc: DRI <[EMAIL PROTECTED]>
> >> Subject: Re: [Dri-devel] CVS branches.
> >>
> >> On Wed, 2003-02-12 at 04:23, Adam K Kirchhoff wrote:
> >> > Hey folks,
> >> >
> >> >  I'm trying to find out the branch to use for NetBSD.  I know that
> >> > Eric Anholt posted it here in the not-too-distant past, but I can't seem
> >> > to find the e-mail from him anywhere (and the search mechanism on
> >> > sourceforge doesn't seem to be working).
> >> >
> >> >  Also, would it be possible to actually update:
> >> >
> >> > http://dri.sourceforge.net/doc/cvs.html
> >> >
> >> >  For example, the r200-0-1, s3virge-0-0-1, tdfx-2-1, and
> >> > gamma-2-0-0 branches can probably all be moved from the "Current" section
> >> > to the "Old" section.  I think the bsd-3-0-0 branch can as well.  And the
> >> > newest mesa and texmem branches should be listed under "Current".
> >> >
> >> > Adam
> >>
> >> I thought Erik Reid would be making some sort of announcement, but here
> >> it is: bsd-4-0-0-branch compiles on NetBSD-current as LKMs (I don't know
> >> the status of older releases), and I've successfully used it for
> >> glxgears with r200, r100, r128, and g400.  Same build/install process as
> >> FreeBSD, then modload /usr/lkm/<card>.o, then start X.  I was trying to
> >> get module loading automatically by the X Server, but for some reason it
> >> was causing hanging.
> >>
> >> Also note: if you cvs update to bsd-4-0-0-branch from an already-built
> >> trunk, mesa compiling will fail because it tries to build/depend on some
> >> of the dead links that didn't get removed (Mesa uses globbing for some
> >> filenames I think).
> >>
> >> Once I get some time I'll merge it to trunk.
> >>
> >> --
> >> Eric Anholt                                [EMAIL PROTECTED]
> >> http://people.freebsd.org/~anholt/         [EMAIL PROTECTED]
> >>
> >>
> >
> >
> >
> >-------------------------------------------------------
> >This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
> >are you planning your Web Server Security? Click here to get a FREE
> >Thawte SSL guide and find the answers to all your  SSL security issues.
> >http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
> >_______________________________________________
> >Dri-devel mailing list
> >[EMAIL PROTECTED]
> >https://lists.sourceforge.net/lists/listinfo/dri-devel
>
>



-------------------------------------------------------
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to