root:/sources# tar jxf module-init-tools-3.4.tar.bz2 root:/sources# cd module-init-tools-3.4 root:/sources/module-init-tools-3.4# patch -Np1 -i ../module-init-tools-3.4-manpages-1.patch patching file depmod.8 patching file depmod.conf.5 patching file insmod.8 patching file lsmod.8 patching file modinfo.8 patching file modprobe.8 patching file modprobe.conf.5 patching file modules.dep.5 patching file rmmod.8 root:/sources/module-init-tools-3.4# root:/sources/module-init-tools-3.4# ./configure && make check && make clean checking build system type... sparc64-unknown-linux-gnu checking host system type... sparc64-unknown-linux-gnu checking target system type... sparc64-unknown-linux-gnu checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 configure: Adding gcc options: -g -O2 -Wunused -Wall configure: creating ./config.status config.status: creating Makefile config.status: executing depfiles commands if gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"module-init-tools\" -DVERSION=\"3.4\" -I. -I. -g -O2 -Wunused -Wall -MT lsmod.o -MD -MP -MF ".deps/lsmod.Tpo" -c -o lsmod.o lsmod.c; \ then mv -f ".deps/lsmod.Tpo" ".deps/lsmod.Po"; else rm -f ".deps/lsmod.Tpo"; exit 1; fi gcc -g -O2 -Wunused -Wall -o lsmod lsmod.o if gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"module-init-tools\" -DVERSION=\"3.4\" -I. -I. -g -O2 -Wunused -Wall -MT insmod.o -MD -MP -MF ".deps/insmod.Tpo" -c -o insmod.o insmod.c; \ then mv -f ".deps/insmod.Tpo" ".deps/insmod.Po"; else rm -f ".deps/insmod.Tpo"; exit 1; fi gcc -g -O2 -Wunused -Wall -o insmod insmod.o if gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"module-init-tools\" -DVERSION=\"3.4\" -I. -I. -g -O2 -Wunused -Wall -MT modprobe.o -MD -MP -MF ".deps/modprobe.Tpo" -c -o modprobe.o modprobe.c; \ then mv -f ".deps/modprobe.Tpo" ".deps/modprobe.Po"; else rm -f ".deps/modprobe.Tpo"; exit 1; fi if gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"module-init-tools\" -DVERSION=\"3.4\" -I. -I. -g -O2 -Wunused -Wall -MT zlibsupport.o -MD -MP -MF ".deps/zlibsupport.Tpo" -c -o zlibsupport.o zlibsupport.c; \ then mv -f ".deps/zlibsupport.Tpo" ".deps/zlibsupport.Po"; else rm -f ".deps/zlibsupport.Tpo"; exit 1; fi gcc -g -O2 -Wunused -Wall -o modprobe modprobe.o zlibsupport.o if gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"module-init-tools\" -DVERSION=\"3.4\" -I. -I. -g -O2 -Wunused -Wall -MT rmmod.o -MD -MP -MF ".deps/rmmod.Tpo" -c -o rmmod.o rmmod.c; \ then mv -f ".deps/rmmod.Tpo" ".deps/rmmod.Po"; else rm -f ".deps/rmmod.Tpo"; exit 1; fi gcc -g -O2 -Wunused -Wall -o rmmod rmmod.o if gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"module-init-tools\" -DVERSION=\"3.4\" -I. -I. -g -O2 -Wunused -Wall -MT depmod.o -MD -MP -MF ".deps/depmod.Tpo" -c -o depmod.o depmod.c; \ then mv -f ".deps/depmod.Tpo" ".deps/depmod.Po"; else rm -f ".deps/depmod.Tpo"; exit 1; fi if gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"module-init-tools\" -DVERSION=\"3.4\" -I. -I. -g -O2 -Wunused -Wall -MT moduleops.o -MD -MP -MF ".deps/moduleops.Tpo" -c -o moduleops.o moduleops.c; \ then mv -f ".deps/moduleops.Tpo" ".deps/moduleops.Po"; else rm -f ".deps/moduleops.Tpo"; exit 1; fi if gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"module-init-tools\" -DVERSION=\"3.4\" -I. -I. -g -O2 -Wunused -Wall -MT tables.o -MD -MP -MF ".deps/tables.Tpo" -c -o tables.o tables.c; \ then mv -f ".deps/tables.Tpo" ".deps/tables.Po"; else rm -f ".deps/tables.Tpo"; exit 1; fi gcc -g -O2 -Wunused -Wall -o depmod depmod.o moduleops.o tables.o zlibsupport.o if gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"module-init-tools\" -DVERSION=\"3.4\" -I. -I. -g -O2 -Wunused -Wall -MT modinfo.o -MD -MP -MF ".deps/modinfo.Tpo" -c -o modinfo.o modinfo.c; \ then mv -f ".deps/modinfo.Tpo" ".deps/modinfo.Po"; else rm -f ".deps/modinfo.Tpo"; exit 1; fi modinfo.c: In function 'main': modinfo.c:345: warning: 'infosize' may be used uninitialized in this function gcc -g -O2 -Wunused -Wall -o modinfo modinfo.o zlibsupport.o gcc -g -O2 -Wunused -Wall -o insmod.static -static insmod.o make check-TESTS make[1]: Entering directory `/sources/module-init-tools-3.4' Building with --enable-zlib... Testing with --enable-zlib... Running tests for tests/test-depmod............... Running tests for tests/test-generate-modprobe.conf. Running tests for tests/test-insmod.... Running tests for tests/test-lsmod.... Running tests for tests/test-modinfo.... Running tests for tests/test-modprobe............................ Running tests for tests/test-rmmod...... Building with --disable-zlib... Testing with --disable-zlib... Running tests for tests/test-depmod............... Running tests for tests/test-generate-modprobe.conf. Running tests for tests/test-insmod.... Running tests for tests/test-lsmod.... Running tests for tests/test-modinfo.... Running tests for tests/test-modprobe............................ Running tests for tests/test-rmmod...... PASS: tests/runtests ================== All 1 tests passed ================== make[1]: Leaving directory `/sources/module-init-tools-3.4' test -z "lsmod" || rm -f lsmod test -z "insmod modprobe rmmod depmod modinfo insmod.static" || rm -f insmod modprobe rmmod depmod modinfo insmod.static rm -f *.o root:/sources/module-init-tools-3.4# root:/sources/module-init-tools-3.4# ./configure --prefix=/ --enable-zlib checking build system type... sparc64-unknown-linux-gnu checking host system type... sparc64-unknown-linux-gnu checking target system type... sparc64-unknown-linux-gnu checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 configure: Adding gcc options: -g -O2 -Wunused -Wall configure: creating ./config.status config.status: creating Makefile config.status: executing depfiles commands root:/sources/module-init-tools-3.4# root:/sources/module-init-tools-3.4# make if gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"module-init-tools\" -DVERSION=\"3.4\" -DCONFIG_USE_ZLIB=1 -I. -I. -g -O2 -Wunused -Wall -MT lsmod.o -MD -MP -MF ".deps/lsmod.Tpo" -c -o lsmod.o lsmod.c; \ then mv -f ".deps/lsmod.Tpo" ".deps/lsmod.Po"; else rm -f ".deps/lsmod.Tpo"; exit 1; fi gcc -g -O2 -Wunused -Wall -o lsmod lsmod.o -Wl,-Bstatic -lz -Wl,-Bdynamic if gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"module-init-tools\" -DVERSION=\"3.4\" -DCONFIG_USE_ZLIB=1 -I. -I. -g -O2 -Wunused -Wall -MT insmod.o -MD -MP -MF ".deps/insmod.Tpo" -c -o insmod.o insmod.c; \ then mv -f ".deps/insmod.Tpo" ".deps/insmod.Po"; else rm -f ".deps/insmod.Tpo"; exit 1; fi gcc -g -O2 -Wunused -Wall -o insmod insmod.o -Wl,-Bstatic -lz -Wl,-Bdynamic if gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"module-init-tools\" -DVERSION=\"3.4\" -DCONFIG_USE_ZLIB=1 -I. -I. -g -O2 -Wunused -Wall -MT modprobe.o -MD -MP -MF ".deps/modprobe.Tpo" -c -o modprobe.o modprobe.c; \ then mv -f ".deps/modprobe.Tpo" ".deps/modprobe.Po"; else rm -f ".deps/modprobe.Tpo"; exit 1; fi if gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"module-init-tools\" -DVERSION=\"3.4\" -DCONFIG_USE_ZLIB=1 -I. -I. -g -O2 -Wunused -Wall -MT zlibsupport.o -MD -MP -MF ".deps/zlibsupport.Tpo" -c -o zlibsupport.o zlibsupport.c; \ then mv -f ".deps/zlibsupport.Tpo" ".deps/zlibsupport.Po"; else rm -f ".deps/zlibsupport.Tpo"; exit 1; fi gcc -g -O2 -Wunused -Wall -o modprobe modprobe.o zlibsupport.o -Wl,-Bstatic -lz -Wl,-Bdynamic if gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"module-init-tools\" -DVERSION=\"3.4\" -DCONFIG_USE_ZLIB=1 -I. -I. -g -O2 -Wunused -Wall -MT rmmod.o -MD -MP -MF ".deps/rmmod.Tpo" -c -o rmmod.o rmmod.c; \ then mv -f ".deps/rmmod.Tpo" ".deps/rmmod.Po"; else rm -f ".deps/rmmod.Tpo"; exit 1; fi gcc -g -O2 -Wunused -Wall -o rmmod rmmod.o -Wl,-Bstatic -lz -Wl,-Bdynamic if gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"module-init-tools\" -DVERSION=\"3.4\" -DCONFIG_USE_ZLIB=1 -I. -I. -g -O2 -Wunused -Wall -MT depmod.o -MD -MP -MF ".deps/depmod.Tpo" -c -o depmod.o depmod.c; \ then mv -f ".deps/depmod.Tpo" ".deps/depmod.Po"; else rm -f ".deps/depmod.Tpo"; exit 1; fi if gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"module-init-tools\" -DVERSION=\"3.4\" -DCONFIG_USE_ZLIB=1 -I. -I. -g -O2 -Wunused -Wall -MT moduleops.o -MD -MP -MF ".deps/moduleops.Tpo" -c -o moduleops.o moduleops.c; \ then mv -f ".deps/moduleops.Tpo" ".deps/moduleops.Po"; else rm -f ".deps/moduleops.Tpo"; exit 1; fi if gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"module-init-tools\" -DVERSION=\"3.4\" -DCONFIG_USE_ZLIB=1 -I. -I. -g -O2 -Wunused -Wall -MT tables.o -MD -MP -MF ".deps/tables.Tpo" -c -o tables.o tables.c; \ then mv -f ".deps/tables.Tpo" ".deps/tables.Po"; else rm -f ".deps/tables.Tpo"; exit 1; fi gcc -g -O2 -Wunused -Wall -o depmod depmod.o moduleops.o tables.o zlibsupport.o -Wl,-Bstatic -lz -Wl,-Bdynamic if gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"module-init-tools\" -DVERSION=\"3.4\" -DCONFIG_USE_ZLIB=1 -I. -I. -g -O2 -Wunused -Wall -MT modinfo.o -MD -MP -MF ".deps/modinfo.Tpo" -c -o modinfo.o modinfo.c; \ then mv -f ".deps/modinfo.Tpo" ".deps/modinfo.Po"; else rm -f ".deps/modinfo.Tpo"; exit 1; fi modinfo.c: In function 'main': modinfo.c:345: warning: 'infosize' may be used uninitialized in this function gcc -g -O2 -Wunused -Wall -o modinfo modinfo.o zlibsupport.o -Wl,-Bstatic -lz -Wl,-Bdynamic gcc -g -O2 -Wunused -Wall -o insmod.static -static insmod.o root:/sources/module-init-tools-3.4# root:/sources/module-init-tools-3.4# make INSTALL=install install make[1]: Entering directory `/sources/module-init-tools-3.4' test -z "//bin" || mkdir -p -- "//bin" install 'lsmod' '//bin/lsmod' test -z "//sbin" || mkdir -p -- "//sbin" install 'insmod' '//sbin/insmod' install 'modprobe' '//sbin/modprobe' install 'rmmod' '//sbin/rmmod' install 'depmod' '//sbin/depmod' install 'modinfo' '//sbin/modinfo' install 'insmod.static' '//sbin/insmod.static' test -z "//sbin" || mkdir -p -- "//sbin" install 'generate-modprobe.conf' '//sbin/generate-modprobe.conf' test -z "/usr/share/man/man5" || mkdir -p -- "/usr/share/man/man5" install -m 644 './modprobe.conf.5' '/usr/share/man/man5/modprobe.conf.5' install -m 644 './modules.dep.5' '/usr/share/man/man5/modules.dep.5' install -m 644 './depmod.conf.5' '/usr/share/man/man5/depmod.conf.5' test -z "/usr/share/man/man8" || mkdir -p -- "/usr/share/man/man8" install -m 644 './depmod.8' '/usr/share/man/man8/depmod.8' install -m 644 './insmod.8' '/usr/share/man/man8/insmod.8' install -m 644 './lsmod.8' '/usr/share/man/man8/lsmod.8' install -m 644 './rmmod.8' '/usr/share/man/man8/rmmod.8' install -m 644 './modprobe.8' '/usr/share/man/man8/modprobe.8' install -m 644 './modinfo.8' '/usr/share/man/man8/modinfo.8' make[1]: Leaving directory `/sources/module-init-tools-3.4' root:/sources/module-init-tools-3.4#