Modules Compilation problem
hi
i try to compile modules for 2.4.22 but get like 1000 s of this errors : "warning: comparison between signed and unsigned" by many drivers can i just ignore this ? i got just a few modules after proces like this : make menuconfig (then load suse orig config from /boot/vmlinuz.config) make dep make clean make modules make modules_install any Ideas ? thx |
That warning is pretty common. You can probably ignore it, though I don't know why you would only be getting a few modules compiled. Is your configuration such that it will compile more modules than you are actually getting?
And a dumb question: are you running make modules_install as root? |
i just take what suse config says except nForce chipset
yes im root |
More specifically, then, are there any modules that you are expecting to be compiled, which aren't?
|
ok
sound ,net ,fs modules this are most important for me and are not there in /lib/modules/2.4.22 is just a kernel folder but in 2.4.20-gb-suse are much more like fs ..... i hope this helps |
ahh and i forgot by make modules_install it make 2 errors
like .......error 2 .......error 1 or something like this . |
Can you post the last 20 or so lines of output from the compilation? "Error 1" and such is usually one of the last things it prints, but several lines before that it may have given an indication of what went wrong. That may help us to diagnose the problem better.
|
last few lines of make modules :
erred-stack-boundary=2 -march=athlon -DMODULE -nostdinc -iwithprefix include -DKBUILD_BASENAME=advansys -c -o advansys.o advansys.c In file included from /usr/src/linux-2.4.22/include/linux/blk.h:4, from advansys.c:797: /usr/src/linux-2.4.22/include/linux/blkdev.h: In function `blk_queue_bounce': /usr/src/linux-2.4.22/include/linux/blkdev.h:192: warning: comparison between signed and unsigned /usr/src/linux-2.4.22/include/linux/blkdev.h: In function `blk_finished_sectors': /usr/src/linux-2.4.22/include/linux/blkdev.h:333: warning: comparison between signed and unsigned advansys.c: In function `asc_dequeue': advansys.c:7575: warning: comparison between signed and unsigned advansys.c:7575: warning: comparison between signed and unsigned advansys.c: In function `asc_dequeue_list': advansys.c:7631: warning: comparison between signed and unsigned advansys.c:7631: warning: comparison between signed and unsigned advansys.c:7660: warning: comparison between signed and unsigned advansys.c:7660: warning: comparison between signed and unsigned advansys.c: In function `asc_rmqueue': advansys.c:7737: warning: comparison between signed and unsigned advansys.c:7737: warning: comparison between signed and unsigned {standard input}: Assembler messages: {standard input}:35205: Warning: partial line at end of file ignored gcc: Internal error: Segmentation fault (program cc1) Please submit a full bug report. See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions. make[2]: *** [advansys.o] Error 1 make[2]: Leaving directory `/usr/src/linux-2.4.22/drivers/scsi' make[1]: *** [_modsubdir_scsi] Error 2 make[1]: Leaving directory `/usr/src/linux-2.4.22/drivers' make: *** [_mod_drivers] Error 2 linux:/usr/src/linux # make modules_install : cp: cannot stat `3w-xxxx.o': No such file or directory cp: cannot stat `53c7,8xx.o': No such file or directory cp: cannot stat `AM53C974.o': No such file or directory cp: cannot stat `BusLogic.o': No such file or directory cp: cannot stat `NCR53c406a.o': No such file or directory cp: cannot stat `a100u2w.o': No such file or directory cp: cannot stat `aha152x.o': No such file or directory cp: cannot stat `aha1542.o': No such file or directory cp: cannot stat `aha1740.o': No such file or directory cp: cannot stat `aic7xxx_old.o': No such file or directory cp: cannot stat `atp870u.o': No such file or directory cp: cannot stat `cpqfc.o': No such file or directory cp: cannot stat `dmx3191d.o': No such file or directory cp: cannot stat `dpt_i2o.o': No such file or directory cp: cannot stat `dtc.o': No such file or directory cp: cannot stat `eata.o': No such file or directory cp: cannot stat `eata_dma.o': No such file or directory cp: cannot stat `eata_pio.o': No such file or directory cp: cannot stat `fdomain.o': No such file or directory cp: cannot stat `g_NCR5380.o': No such file or directory cp: cannot stat `gdth.o': No such file or directory cp: cannot stat `ide-scsi.o': No such file or directory cp: cannot stat `imm.o': No such file or directory cp: cannot stat `in2000.o': No such file or directory cp: cannot stat `initio.o': No such file or directory cp: cannot stat `ips.o': No such file or directory cp: cannot stat `megaraid.o': No such file or directory cp: cannot stat `ncr53c8xx.o': No such file or directory cp: cannot stat `nsp32.o': No such file or directory cp: cannot stat `osst.o': No such file or directory cp: cannot stat `pas16.o': No such file or directory cp: cannot stat `pci2000.o': No such file or directory cp: cannot stat `pci2220i.o': No such file or directory cp: cannot stat `ppa.o': No such file or directory cp: cannot stat `psi240i.o': No such file or directory cp: cannot stat `qla1280.o': No such file or directory cp: cannot stat `qlogicfas.o': No such file or directory cp: cannot stat `qlogicfc.o': No such file or directory cp: cannot stat `qlogicisp.o': No such file or directory cp: cannot stat `scsi_debug.o': No such file or directory cp: cannot stat `seagate.o': No such file or directory cp: cannot stat `sg.o': No such file or directory cp: cannot stat `sr_mod.o': No such file or directory cp: cannot stat `st.o': No such file or directory cp: cannot stat `sym53c416.o': No such file or directory cp: cannot stat `sym53c8xx.o': No such file or directory cp: cannot stat `t128.o': No such file or directory cp: cannot stat `tmscsim.o': No such file or directory cp: cannot stat `u14-34f.o': No such file or directory cp: cannot stat `ultrastor.o': No such file or directory cp: cannot stat `wd7000.o': No such file or directory make[2]: *** [_modinst__] Error 1 make[2]: Leaving directory `/usr/src/linux-2.4.22/drivers/scsi' make[1]: *** [_modinst_scsi] Error 2 make[1]: Leaving directory `/usr/src/linux-2.4.22/drivers' make: *** [_modinst_drivers] Error 2 |
Quote:
If that doesn't work, perhaps there is a problem with your gcc installation. If possible, try reinstalling all gcc-related packages. If you still get the segmentation fault, perhaps it really is a bug in gcc! Help the developers out by submitting a bug report. |
ok thx for a nice explain
i will give it a try |
All times are GMT -5. The time now is 06:14 PM. |