Screen Machine Module in 2.0.X

Luca Maranzano (
Fri, 21 Feb 1997 00:06:28 +0100 (MET)

Hello all!

I'm trying to use the ScreenMachineII driver 2.0 with the latest
kernel version (2.0.29).

The problem is that the object file is in a.out format (and yes,
the manufacturer doesn't release sources!). The configure program
makes this:

---- from the configure script of the ScreenMachine --------------
# Generate file
echo Writing Space.c
cat > ./Space.c << EOM
#ifdef LINUX
#include "/usr/include/linux/version.h"
int smiiMajor = $major;
char kernel_version[] = UTS_RELEASE;
short smiiPortAddress = $base;
char *smiiLicense="${owner}~${serial}~${license}";
echo Building new smii_module
cc -DMODULE -D__KERNEL__ -DLINUX -c Space.c
ld -r -o smii_module smii.o Space.o

smii.o is the binary-only version (OMAGIC) of the driver. ld exits
with a Segmentation Fault.

I've tryed to use the /usr/i486-linuxaout version of gcc but it's
the same, insmod -f can't load the module.

The kernel is obviously compiled as ELF. May be that compiling
the kernel a.out could help? Is this possible?

Thank you in advance for any answers!

Best regards,