Skip to contentSkip to conversation

NEVERMIND! Re: can't compile emu10k1 drivers

DISCUSSION Paco 2 participants 3 messages Apr 6, 2000 – Apr 7, 2000 Sound

lore
Share & tools
lore

Paco

author
#0 lore raw

I had to hack the Makefiles a bit, but I finally got the drivers compiled and working.

thanks anyway,
-Paco

#1 lore raw
Quoted 4 lines · Paco

I had to hack the Makefiles a bit, but I finally got the drivers compiled and working.

What was the problem? So that I can fix it in CVS...

Rui Sousa

author
#2 lore raw
In reply to Paco
Quoted 10 lines · Rui Sousa
Quoted 4 lines · Paco

I had to hack the Makefiles a bit, but I finally got the drivers compiled and working.

What was the problem? So that I can fix it in CVS...

Rui Sousa

Rui,

The first problem was that gcc kept complaining about "malformed options" when trying to compile the driver for my Athlon. The second problem was the compilers inablility to find emu_wrapper.h .

To fix problem (1)
-----------------
In the Makefile.i386 (for 2.4), I had to modify the following line:

CFLAGS := $(CFLAGS) -DCPUh6 -march=pentiumpro -mpentiumpro -malign-functions=4 -fschedule-insns2 -mwide-multiply -fexpensive-optimizations

to read

CFLAGS := $(CFLAGS) -DCPU 686

I probably could have left most of these options alone. Only the "pentiumpro" stuff was causing me problems.

To fix problem (2)
-----------------
Changed all lines like this:

#include <emu_wrapper.h>

to read

#include "emu_wrapper.h"

regards,
Chad