LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-06-2003, 02:40 PM   #1
Vencalator
Member
 
Registered: Sep 2003
Location: Prague
Distribution: Suse 8.2
Posts: 40

Rep: Reputation: 15
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
 
Old 10-06-2003, 03:52 PM   #2
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
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?
 
Old 10-06-2003, 04:10 PM   #3
Vencalator
Member
 
Registered: Sep 2003
Location: Prague
Distribution: Suse 8.2
Posts: 40

Original Poster
Rep: Reputation: 15
i just take what suse config says except nForce chipset

yes im root
 
Old 10-06-2003, 05:47 PM   #4
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
More specifically, then, are there any modules that you are expecting to be compiled, which aren't?
 
Old 10-07-2003, 04:32 AM   #5
Vencalator
Member
 
Registered: Sep 2003
Location: Prague
Distribution: Suse 8.2
Posts: 40

Original Poster
Rep: Reputation: 15
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
 
Old 10-07-2003, 04:33 AM   #6
Vencalator
Member
 
Registered: Sep 2003
Location: Prague
Distribution: Suse 8.2
Posts: 40

Original Poster
Rep: Reputation: 15
ahh and i forgot by make modules_install it make 2 errors

like

.......error 2
.......error 1

or something like this .
 
Old 10-07-2003, 06:27 AM   #7
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
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.
 
Old 10-07-2003, 08:22 AM   #8
Vencalator
Member
 
Registered: Sep 2003
Location: Prague
Distribution: Suse 8.2
Posts: 40

Original Poster
Rep: Reputation: 15
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

Last edited by Vencalator; 10-07-2003 at 08:26 AM.
 
Old 10-07-2003, 10:58 AM   #9
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
Quote:
Originally posted by Vencalator
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.
It looks like here's the error which kills it. A segmentation fault is usually a very bad thing, and it's surprising to see one happening in the gcc compiler! Anyway, it appears that something in the advansys.c source code is what is leading to the seg fault, so my first suggestion would be to run the kernel configuration again (make xconfig, or make menuconfig) and see if you can find something called advansys. Looks like it's a SCSI driver of some kind...? Someone else may know. Anyhow, unless you need whatever advansys is, you can elect not to compile it. Save the config and try compiling again.

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.
 
Old 10-07-2003, 11:51 AM   #10
Vencalator
Member
 
Registered: Sep 2003
Location: Prague
Distribution: Suse 8.2
Posts: 40

Original Poster
Rep: Reputation: 15
ok thx for a nice explain
i will give it a try
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Compilation Problem jonty_11 Programming 4 03-24-2005 09:45 PM
Third-party modules compilation... rickthemick Debian 4 11-26-2004 02:31 AM
c compilation problem edreddy Programming 5 06-02-2004 12:37 PM
Re: modprobe: Note: /etc/modules.conf is more recent than lib/modules/2.4.9/modules.d Andy.M Linux - General 1 01-24-2002 01:50 AM
Re: modprobe: Note: /etc/modules.conf is more recent than lib/modules/2.4.9/modules.d Andy.M Linux - Newbie 2 01-24-2002 01:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration