help configuring OpenGL

Alastair G. Hogge agh at
Sat May 8 17:19:20 PDT 2004

On Sunday, 09 May 2004 09:21, Earl Larsen wrote:

> A: OK. With a little research I found the following:
> A: To build and install DRM, cd /usr/src/sys/modules/drm && make all install
> A:
> A: DRM == Direct Rendering modules. This will hopefully give you radeon.ko
> A:
> A: Check out for more info
> Sorry that I have not tried that sooner. I have bean busy. When I do the
> make all install I get the fallowing:

Hello. Please, once again CC the freebsd-questions at when replying

> main# make all install
> ===> mga
> Warning: Object directory not changed from
> original /usr/src/sys/modules/drm/mga
> cc -O2 -pipe -ffast-math -march=pentiumpro  -D_KERNEL -DKLD_MODULE
> -nostdinc -I-   -I. -I@ -I@/../include -finline-limit=8000 -fno-common
> -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Wall
> -Wredundant-decls -Wnested-externs -Wstrict-prototypes 
> -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual 
> -fformat-extensions -std=c99 -c
> /usr/src/sys/modules/drm/mga/../../../dev/drm/mga_drv.c
> cc1: Invalid option `no-align-long-strings'
> cc1: unknown C standard `c99'
> cc1: Invalid option `-finline-limit=8000'
> *** Error code 1
> Stop in /usr/src/sys/modules/drm/mga.
> *** Error code 1
> Stop in /usr/src/sys/modules/drm.
> main#
Sorry, I can't help you. I've never encountered such a problem before. You may 
need to run a buildworld first, or a make clean in modules/drm or even cvsup 

Try editing the Makefile in /usr/src/sys/modules/drm to reflect:
"SUBDIR = radeon"
and see what happenes. It looks like make is failing at the Matrox module(mga)


More information about the freebsd-questions mailing list