Getting FAS to work with 3.2.2
john.urban
urban at cbnewsl.att.com
Wed May 8 00:16:53 AEST 1991
In article <1991May7.022429.16710 at cunixf.cc.columbia.edu> puglia at cunixf.cc.columbia.edu writes:
>Has anybody gotten FAS to work with ATT 3.2.2? I can get the fas.c program
>to compile, but have been unable to get the kernel to link after I add
>the entry for it in the sdevices file. The kernel linking process fails with
>the message:
>ld: Driver.o cannot open ELF file.
>I have absolutely no idea which ELF file they are talking about. I have
>set up the directories and the sdevices entry as I have done with other
>drivers, but things just won't work. I think that I have removed all
>traces of the asy driver, but I can be 100% sure that that is not getting
>in the way. Any suggestions would be greatly appreciated.
>
The UNIX System V/386 Release 3.2 Version 2.x Installable Drivers/Tuneable
Parameter feature only supports COFF (Common Object Format Files) Driver.o's.
The boot code will only boot a pure COFF kernel. UNIX System V/386 Release 3.2
Version 2.2 does support limited ELF (Executable and Linking Format) executables
but not for kernel modules.
The compiler you're using to compile fas.c -> fas.o (then renamed to Driver.o)
is creating an ELF object file and not a COFF object file. Type in:
# cd /etc/conf/pack.d
# file kernel/*.o fas/*.o
And look at the output.
You'll need to get the proper compiler for SVR3.2.x to create COFF based Driver.o
instead of ELF based. Try using the AT&T CI4.1.5 or CI4.1.6 compiler.
Sincerely,
John Urban
More information about the Comp.unix.sysv386
mailing list