linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* prerelease total nonmodular compile, compiler warnings, linking errors
@ 2001-01-02 13:56 Elmer Joandi
  2001-01-02 20:30 ` Andreas Bombe
  0 siblings, 1 reply; 3+ messages in thread
From: Elmer Joandi @ 2001-01-02 13:56 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: TEXT/PLAIN, Size: 223 bytes --]


compiling everything builtin, (exept RCPCI, which does not compile)

linking errors:
drivers/ieee1394/ieee1394.a is not made, quick hack to use .o to see other
errors.

compiling warnings and linking errors are included



[-- Attachment #2: Linking errors --]
[-- Type: TEXT/PLAIN, Size: 1853 bytes --]

drivers/sound/sounddrivers.o: In function `cleanup_module':
drivers/sound/sounddrivers.o(.text.exit+0xf30): multiple definition of `cleanup_module'
drivers/isdn/isdn.a(.text+0x176d4): first defined here
ld: Warning: size of symbol `cleanup_module' changed from 105 to 45 in drivers/sound/sounddrivers.o
drivers/sound/sounddrivers.o: In function `init_module':
drivers/sound/sounddrivers.o(.text.init+0xade0): multiple definition of `init_module'
drivers/isdn/isdn.a(.text+0x17670): first defined here
ld: Warning: size of symbol `init_module' changed from 97 to 25 in drivers/sound/sounddrivers.o
drivers/net/net.o: In function `network_ldisc_init':
drivers/net/net.o(.text.init+0x532f): undefined reference to `mkiss_init_ctrl_dev'
drivers/net/net.o(.data.init+0x52890): undefined reference to `yam_init'
drivers/net/tokenring/tr.a(smctr.o): In function `smctr_reset_adapter':
smctr.o(.text+0x392a): undefined reference to `__bad_udelay'
smctr.o(.text+0x3938): undefined reference to `__bad_udelay'
drivers/ieee1394/ieee1394.o: In function `register_builtin_highlevels':
drivers/ieee1394/ieee1394.o(.text+0x27b9): undefined reference to `init_raw1394'
drivers/ieee1394/ieee1394.o: In function `register_builtin_lowlevels':
drivers/ieee1394/ieee1394.o(.text.init+0x24): undefined reference to `get_lynx_template'
drivers/ieee1394/ieee1394.o(.text.init+0x51): undefined reference to `get_ohci_template'
drivers/video/video.o: In function `aty_set_pll18818':
drivers/video/video.o(.text+0xc121): undefined reference to `__bad_udelay'
drivers/video/video.o: In function `init_vgachip':
drivers/video/video.o(.text.init+0x41ad): undefined reference to `__bad_udelay'
drivers/net/irda/irda.o: In function `toshoboe_gotosleep':
drivers/net/irda/irda.o(.text+0x6b81): undefined reference to `__bad_udelay'
make: *** [vmlinux] Error 1

[-- Attachment #3: Compile warnings --]
[-- Type: TEXT/PLAIN, Size: 11259 bytes --]

md5sum: WARNING: 11 of 12 computed checksums did NOT match
ec.c:279: warning: `ec_space_setup' defined but not used
{standard input}: Assembler messages:
{standard input}:765: Warning: Indirect lcall without `*'
{standard input}:849: Warning: Indirect lcall without `*'
{standard input}:936: Warning: Indirect lcall without `*'
{standard input}:976: Warning: Indirect lcall without `*'
{standard input}:1008: Warning: Indirect lcall without `*'
{standard input}:1040: Warning: Indirect lcall without `*'
{standard input}:1071: Warning: Indirect lcall without `*'
{standard input}:1100: Warning: Indirect lcall without `*'
{standard input}:1129: Warning: Indirect lcall without `*'
{standard input}:1411: Warning: Indirect lcall without `*'
{standard input}:1504: Warning: Indirect lcall without `*'
net/network.o: In function `atm_ioctl':
net/network.o(.text+0x3c742): undefined reference to `atm_lane_init'
net/network.o(.text+0x3c7f2): undefined reference to `atm_mpoa_init'
make: *** [vmlinux] Error 1
objcopy: Warning: Output file cannot represent architecture UNKNOWN!
ip2/i2cmd.c:142: warning: `ct89' defined but not used
sx.c:1623: warning: `do_memtest_w' defined but not used
i2o_block.c:595: warning: #warning "RACE"
md5sum: WARNING: 11 of 12 computed checksums did NOT match
bttv-cards.c: In function `bttv_check_chipset':
bttv-cards.c:1389: warning: unused variable `i'
bttv-cards.c: At top level:
bttv-cards.c:1379: warning: `needs_etbf' defined but not used
mtdchar.c: In function `init_mtdchar':
mtdchar.c:452: warning: unused variable `mtd'
mtdchar.c:451: warning: unused variable `name'
mtdchar.c:450: warning: unused variable `i'
ftl.c:139: warning: `debug' defined but not used
nftlmount.c: In function `check_and_mark_free_block':
nftlmount.c:363: warning: unused variable `buf'
nftlmount.c:362: warning: unused variable `i'
sunhme.c:2791: warning: #warning This needs to be corrected... -DaveM
sdla_chdlc.c: In function `if_send':
sdla_chdlc.c:936: warning: unsigned int format, long unsigned int arg (arg 3)
sdla_chdlc.c: In function `wpc_isr':
sdla_chdlc.c:1501: warning: unsigned int format, long unsigned int arg (arg 3)
sdla_ppp.c: In function `if_send':
sdla_ppp.c:901: warning: unsigned int format, long unsigned int arg (arg 3)
qla1280.c:1609: warning: `qla1280_do_dpc' defined but not used
NCR5380.c:795: warning: `NCR5380_print_options' defined but not used
sr.c: In function `sr_init_command':
sr.c:347: warning: `block' might be used uninitialized in this function
cs46xx.c:2867: warning: `amp_voyetra_4294' defined but not used
cs4281.c: In function `cs4281_write_ac97':
cs4281.c:607: warning: `status' might be used uninitialized in this function
plusb.c:985: warning: initialization from incompatible pointer type
mdacon.c:133: warning: `test_mda_b' defined but not used
matroxfb_g450.c:7: warning: `matroxfb_g450_get_reg' defined but not used
intrep.c:96: warning: `jffs_hexdump' defined but not used
dn_table.c:872: warning: `dn_fib_del_tree' defined but not used
irlap.c: In function `irlap_change_speed':
irlap.c:892: warning: implicit declaration of function `irlap_queue_xmit'
qos.c:609: warning: `byte_value' defined but not used
irias_object.c:37: warning: braces around scalar initializer
irias_object.c:37: warning: (near initialization for `missing.len')
irsyms.c:222: warning: `irda_cleanup' defined but not used
{standard input}: Assembler messages:
{standard input}:193: Warning: Indirect lcall without `*'
{standard input}:270: Warning: Indirect lcall without `*'
ec.c:279: warning: `ec_space_setup' defined but not used
objcopy: Warning: Output file cannot represent architecture UNKNOWN!
cm206.c:218: warning: `cm206' defined but not used
In file included from mcdx.c:81:
mcdx.h:180: warning: #warning You have not edited mcdx.h
mcdx.h:181: warning: #warning Perhaps irq and i/o settings are wrong.
ip2/i2cmd.c:142: warning: `ct89' defined but not used
ip2/i2ellis.c:107: warning: `iiEllisCleanup' defined but not used
ip2main.c:431: warning: `clear_requested_irq' defined but not used
riscom8.c:1837: warning: initialization from incompatible pointer type
sx.c:1623: warning: `do_memtest_w' defined but not used
i2c-core.c: In function `i2c_init_all':
i2c-core.c:1322: warning: implicit declaration of function `i2c_bitlp_init'
i2c-core.c:1325: warning: implicit declaration of function `i2c_bitelv_init'
i2c-core.c:1328: warning: implicit declaration of function `i2c_bitvelle_init'
i2c-core.c:1336: warning: implicit declaration of function `i2c_pcfisa_init'
i2c-elv.c:119: warning: `bit_elv_exit' defined but not used
i2c-velleman.c:107: warning: `bit_velle_exit' defined but not used
i2c-elektor.c:174: warning: `pcf_isa_exit' defined but not used
i2o_config.c:45: warning: `i2o_buffer' defined but not used
i2o_block.c:595: warning: #warning "RACE"
module.c: In function `act2000_setup':
module.c:865: warning: unused variable `j'
module.c: At top level:
module.c:71: warning: `act2000_clear_msn' defined but not used
b1pci.c:126: warning: `b1pci_pci_tbl' defined but not used
t1pci.c:98: warning: `t1pci_pci_tbl' defined but not used
c4.c:118: warning: `c4_pci_tbl' defined but not used
md5sum: WARNING: 11 of 12 computed checksums did NOT match
md5sum: WARNING: 11 of 12 computed checksums did NOT match
config.c: In function `HiSax_init':
config.c:1333: warning: unused variable `nzproto'
config.c:1332: warning: unused variable `j'
config.c: At top level:
config.c:1710: warning: `hisax_pci_tbl' defined but not used
isdnloop.c:1053: warning: `isdnloop_stopallcards' defined but not used
ld: Warning: size of symbol `divert_if' changed from 4 to 24 in divert/vmlinux-obj.o
cpia.c:1299: warning: `proc_cpia_destroy' defined but not used
bttv-cards.c: In function `bttv_check_chipset':
bttv-cards.c:1389: warning: unused variable `i'
bttv-cards.c: At top level:
bttv-cards.c:1379: warning: `needs_etbf' defined but not used
map_ram.c:34: warning: static declaration for `map_ram_probe' follows non-static
mtdchar.c: In function `init_mtdchar':
mtdchar.c:452: warning: unused variable `mtd'
mtdchar.c:451: warning: unused variable `name'
mtdchar.c:450: warning: unused variable `i'
ftl.c:139: warning: `debug' defined but not used
nftlmount.c: In function `check_and_mark_free_block':
nftlmount.c:363: warning: unused variable `buf'
nftlmount.c:362: warning: unused variable `i'
iph5526.c:114: warning: `iph5526_pci_tbl' defined but not used
w83977af_ir.c:276: warning: `w83977af_close' defined but not used
olympic.c:104: warning: `olympic_pci_tbl' defined but not used
smctr.c:24: warning: `cardname' defined but not used
comx.c: In function `comx_write_proc':
comx.c:613: warning: unused variable `str'
sdla_chdlc.c: In function `if_send':
sdla_chdlc.c:936: warning: unsigned int format, long unsigned int arg (arg 3)
sdla_chdlc.c: In function `wpc_isr':
sdla_chdlc.c:1501: warning: unsigned int format, long unsigned int arg (arg 3)
sdla_ppp.c: In function `if_send':
sdla_ppp.c:901: warning: unsigned int format, long unsigned int arg (arg 3)
sunhme.c:2791: warning: #warning This needs to be corrected... -DaveM
dgrs.c:134: warning: `dgrs_pci_tbl' defined but not used
acenic.c:122: warning: `acenic_pci_tbl' defined but not used
hp100.c:278: warning: `hp100_pci_tbl' defined but not used
eepro.c:1731: warning: `dev_eepro' defined but not used
eepro.c:1733: warning: `io' defined but not used
eepro.c:1734: warning: `irq' defined but not used
eepro.c:1735: warning: `mem' defined but not used
eepro.c:1738: warning: `autodetect' defined but not used
eepro.c:1740: warning: `n_eepro' defined but not used
arlan.c:22: warning: `probe' defined but not used
qla1280.c:1609: warning: `qla1280_do_dpc' defined but not used
NCR5380.c:795: warning: `NCR5380_print_options' defined but not used
tmscsim.c:292: warning: type defaults to `int' in declaration of `MODULE_DEVICE_TABLE'
tmscsim.c:292: warning: parameter names (without types) in function declaration
tmscsim.c:292: warning: data definition has no type or storage class
tmscsim.c:689: warning: initialization from incompatible pointer type
tmscsim.c:283: warning: `tmscsim_pci_tbl' defined but not used
sr.c: In function `sr_init_command':
sr.c:347: warning: `block' might be used uninitialized in this function
cs4232.c:320: warning: `synthirq' defined but not used
sb_common.c: In function `probe_sbmpu':
sb_common.c:1229: warning: assignment makes pointer from integer without a cast
cmpci.c: In function `cm_release_mixdev':
cmpci.c:1171: warning: unused variable `s'
cs46xx.c:2867: warning: `amp_voyetra_4294' defined but not used
cs4281.c: In function `cs4281_write_ac97':
cs4281.c:607: warning: `status' might be used uninitialized in this function
ixj.c: In function `ixj_init':
ixj.c:6234: warning: unused variable `old_dev'
ixj.c:6234: warning: unused variable `dev'
ixj.c:6233: warning: unused variable `func'
whiteheat.c:100: warning: `id_table_combined' defined but not used
ftdi_sio.c:110: warning: `id_table_combined' defined but not used
keyspan_pda.c:99: warning: `id_table_combined' defined but not used
keyspan.h:305: warning: `keyspan_ids_combined' defined but not used
digi_acceleport.c:475: warning: `id_table_combined' defined but not used
belkin_sa.c:89: warning: `id_table_combined' defined but not used
plusb.c:985: warning: initialization from incompatible pointer type
matroxfb_g450.c:7: warning: `matroxfb_g450_get_reg' defined but not used
mdacon.c:133: warning: `test_mda_b' defined but not used
intrep.c:96: warning: `jffs_hexdump' defined but not used
dn_table.c:872: warning: `dn_fib_del_tree' defined but not used
irlap.c: In function `irlap_change_speed':
irlap.c:892: warning: implicit declaration of function `irlap_queue_xmit'
qos.c:609: warning: `byte_value' defined but not used
irttp.c: In function `irttp_proc_read':
irttp.c:1568: warning: int format, long int arg (arg 3)
irttp.c:1570: warning: int format, long int arg (arg 3)
irda_device.c: In function `irda_device_dongle_init':
irda_device.c:461: warning: unused variable `modname'
irias_object.c:37: warning: braces around scalar initializer
irias_object.c:37: warning: (near initialization for `missing.len')
{standard input}: Assembler messages:
{standard input}:765: Warning: Indirect lcall without `*'
{standard input}:849: Warning: Indirect lcall without `*'
{standard input}:936: Warning: Indirect lcall without `*'
{standard input}:976: Warning: Indirect lcall without `*'
{standard input}:1008: Warning: Indirect lcall without `*'
{standard input}:1040: Warning: Indirect lcall without `*'
{standard input}:1071: Warning: Indirect lcall without `*'
{standard input}:1100: Warning: Indirect lcall without `*'
{standard input}:1129: Warning: Indirect lcall without `*'
{standard input}:1411: Warning: Indirect lcall without `*'
{standard input}:1504: Warning: Indirect lcall without `*'
{standard input}: Assembler messages:
{standard input}:179: Warning: Indirect lcall without `*'
{standard input}:256: Warning: Indirect lcall without `*'
ld: cannot open drivers/ieee1394/ieee1394.a: No such file or directory
make: *** [vmlinux] Error 1

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: prerelease total nonmodular compile, compiler warnings, linking errors
  2001-01-02 13:56 prerelease total nonmodular compile, compiler warnings, linking errors Elmer Joandi
@ 2001-01-02 20:30 ` Andreas Bombe
  2001-01-02 21:28   ` Elmer Joandi
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Bombe @ 2001-01-02 20:30 UTC (permalink / raw)
  To: Elmer Joandi; +Cc: linux-kernel

On Tue, Jan 02, 2001 at 03:56:54PM +0200, Elmer Joandi wrote:
> 
> compiling everything builtin, (exept RCPCI, which does not compile)
> 
> linking errors:
> drivers/ieee1394/ieee1394.a is not made, quick hack to use .o to see other
> errors.

You're then using the ieee1394.o module object which doesn't include the
hardware and highlevel drivers.  I've sent a patch to Linus already and
cc'd the mailing list also.

-- 
 Andreas E. Bombe <andreas.bombe@munich.netsurf.de>    DSA key 0x04880A44
http://home.pages.de/~andreas.bombe/    http://linux1394.sourceforge.net/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: prerelease total nonmodular compile, compiler warnings, linking errors
  2001-01-02 20:30 ` Andreas Bombe
@ 2001-01-02 21:28   ` Elmer Joandi
  0 siblings, 0 replies; 3+ messages in thread
From: Elmer Joandi @ 2001-01-02 21:28 UTC (permalink / raw)
  To: Andreas Bombe; +Cc: linux-kernel

[-- Attachment #1: Type: TEXT/PLAIN, Size: 622 bytes --]



On Tue, 2 Jan 2001, Andreas Bombe wrote:
> You're then using the ieee1394.o module object which doesn't include the
> hardware and highlevel drivers.  I've sent a patch to Linus already and
> cc'd the mailing list also.


!!! there were heaps of other (not related to ieee1394 stuff )
linking errors.
hack was for to see other errors

I hope I did not confuse anybody, and those ohter linking errors are
attached again with this letter.

I'd like to see if by grub can load a nonmodular kernel with everything
compiled in (should be about 20MB ? ). Not that it would of any value
other than being nice to see.

elmer.



[-- Attachment #2: Type: TEXT/PLAIN, Size: 1853 bytes --]

drivers/sound/sounddrivers.o: In function `cleanup_module':
drivers/sound/sounddrivers.o(.text.exit+0xf30): multiple definition of `cleanup_module'
drivers/isdn/isdn.a(.text+0x176d4): first defined here
ld: Warning: size of symbol `cleanup_module' changed from 105 to 45 in drivers/sound/sounddrivers.o
drivers/sound/sounddrivers.o: In function `init_module':
drivers/sound/sounddrivers.o(.text.init+0xade0): multiple definition of `init_module'
drivers/isdn/isdn.a(.text+0x17670): first defined here
ld: Warning: size of symbol `init_module' changed from 97 to 25 in drivers/sound/sounddrivers.o
drivers/net/net.o: In function `network_ldisc_init':
drivers/net/net.o(.text.init+0x532f): undefined reference to `mkiss_init_ctrl_dev'
drivers/net/net.o(.data.init+0x52890): undefined reference to `yam_init'
drivers/net/tokenring/tr.a(smctr.o): In function `smctr_reset_adapter':
smctr.o(.text+0x392a): undefined reference to `__bad_udelay'
smctr.o(.text+0x3938): undefined reference to `__bad_udelay'
drivers/ieee1394/ieee1394.o: In function `register_builtin_highlevels':
drivers/ieee1394/ieee1394.o(.text+0x27b9): undefined reference to `init_raw1394'
drivers/ieee1394/ieee1394.o: In function `register_builtin_lowlevels':
drivers/ieee1394/ieee1394.o(.text.init+0x24): undefined reference to `get_lynx_template'
drivers/ieee1394/ieee1394.o(.text.init+0x51): undefined reference to `get_ohci_template'
drivers/video/video.o: In function `aty_set_pll18818':
drivers/video/video.o(.text+0xc121): undefined reference to `__bad_udelay'
drivers/video/video.o: In function `init_vgachip':
drivers/video/video.o(.text.init+0x41ad): undefined reference to `__bad_udelay'
drivers/net/irda/irda.o: In function `toshoboe_gotosleep':
drivers/net/irda/irda.o(.text+0x6b81): undefined reference to `__bad_udelay'
make: *** [vmlinux] Error 1

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-01-02 21:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-02 13:56 prerelease total nonmodular compile, compiler warnings, linking errors Elmer Joandi
2001-01-02 20:30 ` Andreas Bombe
2001-01-02 21:28   ` Elmer Joandi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).