If you are using ELF you can now recompile svgalib now out of the box in ELF (kindly contributed by Stephen Lee ). Just change the links gl/Makefile, src/Makefile to the Makefile.elf in the same directories. Please send ELF related problems directly to Stephen. When using the ELF Makefiles you can change which drivers to include in the library. Note that several files have to be recompiled after changing the makefile. So issue a "make clean" to force a recompile. Also do not use makeshared or the main makefile. Issue "make installheaders" from the maindir and then "make all" with the ELF Makefiles in the src and gl subdirs. There is currently no automatic ELF installation, so move the libraries where you like them. Then you can make the remaining progs.