View previous topic :: View next topic |
Author |
Message |
RCMN Apprentice


Joined: 08 Jun 2003 Posts: 203 Location: fr-paris us-minneapolis
|
Posted: Tue Jun 22, 2004 3:32 am Post subject: kernel 2.4: make modules --> error on aicxxx |
|
|
i'm currently running on kernel 2.6.7 .But since i switch to 2.6 i have couple issues ,and i can't find fix for now.
So i decided to go back to 2.4 (source_gaming what ever..).
so
make dep :--> OK
make bzImage :--> OK
make modules : --> i get the following error for aic7xxx.
Code: | make -C aic7xxx modules
make[3]: Entering directory `/usr/src/linux-2.4.20-gaming-r13/drivers/scsi/aic7xxx'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-gaming-r13/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.20-gaming-r13/include/linux/modversions.h -nostdinc -iwithprefix include -DKBUILD_BASENAME=aic7xxx_osm -c -o aic7xxx_osm.o aic7xxx_osm.c
aic7xxx_osm.c:420:27: missing terminating " character
aic7xxx_osm.c:439:1: missing terminating " character
In file included from aic7xxx_osm.c:718:
/usr/src/linux-2.4.20-gaming-r13/include/linux/notifier.h:65:1: unterminated argument list invoking macro "MODULE_PARM_DESC"
In file included from aic7xxx_osm.c:719:
/usr/src/linux-2.4.20-gaming-r13/include/linux/reboot.h:37: error: syntax error before "extern"
aic7xxx_osm.c:721: error: variable `ahc_linux_notifier' has initializer but incomplete type
aic7xxx_osm.c:722: error: `ahc_linux_halt' undeclared here (not in a function)
aic7xxx_osm.c:722: warning: excess elements in struct initializer
aic7xxx_osm.c:722: warning: (near initialization for `ahc_linux_notifier')
aic7xxx_osm.c:722: warning: excess elements in struct initializer
aic7xxx_osm.c:722: warning: (near initialization for `ahc_linux_notifier')
aic7xxx_osm.c:723: warning: excess elements in struct initializer
aic7xxx_osm.c:723: warning: (near initialization for `ahc_linux_notifier')
aic7xxx_osm.c: In function `ahc_linux_register_host':
aic7xxx_osm.c:1208: error: `ahc_linux_select_queue_depth' undeclared (first use in this function)
aic7xxx_osm.c:1208: error: (Each undeclared identifier is reported only once
aic7xxx_osm.c:1208: error: for each function it appears in.)
aic7xxx_osm.c:1215: warning: implicit declaration of function `ahc_linux_next_unit'
aic7xxx_osm.c:1226: warning: implicit declaration of function `ahc_linux_initialize_scsi_bus'
aic7xxx_osm.c: At top level:
aic7xxx_osm.c:1248: warning: function declaration isn't a prototype
aic7xxx_osm.c:1248: warning: `ahc_linux_next_unit' was declared implicitly `extern' and later `static'
aic7xxx_osm.c:1215: warning: previous declaration of `ahc_linux_next_unit'
aic7xxx_osm.c:1270: warning: type mismatch with previous implicit declaration
aic7xxx_osm.c:1226: warning: previous implicit declaration of `ahc_linux_initialize_scsi_bus'
aic7xxx_osm.c:1270: warning: `ahc_linux_initialize_scsi_bus' was previously implicitly declared to return `int'
aic7xxx_osm.c: In function `ahc_linux_initialize_scsi_bus':
aic7xxx_osm.c:1329: warning: implicit declaration of function `ahc_linux_freeze_sim_queue'
aic7xxx_osm.c:1335: error: `ahc_linux_release_sim_queue' undeclared (first use in this function)
aic7xxx_osm.c: In function `ahc_platform_alloc':
aic7xxx_osm.c:1360: error: `ahc_runq_tasklet' undeclared (first use in this function)
aic7xxx_osm.c: In function `ahc_platform_set_tags':
aic7xxx_osm.c:1430: warning: implicit declaration of function `ahc_linux_get_device'
aic7xxx_osm.c:1432: warning: assignment makes pointer from integer without a cast
aic7xxx_osm.c:1448: warning: implicit declaration of function `ahc_linux_user_tagdepth'
aic7xxx_osm.c: In function `ahc_platform_abort_scbs':
aic7xxx_osm.c:1520: warning: assignment makes pointer from integer without a cast
aic7xxx_osm.c:1533: warning: implicit declaration of function `ahc_linux_queue_cmd_complete'
aic7xxx_osm.c: At top level:
aic7xxx_osm.c:1549: error: `ahc_linux_select_queue_depth' used prior to declaration
aic7xxx_osm.c: In function `ahc_linux_select_queue_depth':
aic7xxx_osm.c:1560: warning: implicit declaration of function `ahc_linux_device_queue_depth'
aic7xxx_osm.c: At top level:
aic7xxx_osm.c:1569: warning: `ahc_linux_user_tagdepth' was declared implicitly `extern' and later `static'
aic7xxx_osm.c:1448: warning: previous declaration of `ahc_linux_user_tagdepth'
aic7xxx_osm.c:1569: warning: type mismatch with previous implicit declaration
aic7xxx_osm.c:1448: warning: previous implicit declaration of `ahc_linux_user_tagdepth'
aic7xxx_osm.c:1569: warning: `ahc_linux_user_tagdepth' was previously implicitly declared to return `int'
aic7xxx_osm.c:1603: warning: `ahc_linux_device_queue_depth' was declared implicitly `extern' and later `static'
aic7xxx_osm.c:1560: warning: previous declaration of `ahc_linux_device_queue_depth'
aic7xxx_osm.c:1603: warning: type mismatch with previous implicit declaration
aic7xxx_osm.c:1560: warning: previous implicit declaration of `ahc_linux_device_queue_depth'
aic7xxx_osm.c:1603: warning: `ahc_linux_device_queue_depth' was previously implicitly declared to return `int'
aic7xxx_osm.c: In function `ahc_linux_queue':
aic7xxx_osm.c:1651: warning: assignment makes pointer from integer without a cast
aic7xxx_osm.c:1662: warning: implicit declaration of function `ahc_linux_run_device_queues'
aic7xxx_osm.c: In function `ahc_linux_run_device_queue':
aic7xxx_osm.c:1781: warning: implicit declaration of function `ahc_linux_map_seg'
aic7xxx_osm.c: In function `ahc_linux_isr':
aic7xxx_osm.c:1883: warning: implicit declaration of function `ahc_linux_next_device_to_run'
aic7xxx_osm.c:1883: warning: assignment makes pointer from integer without a cast
aic7xxx_osm.c:1893: warning: implicit declaration of function `ahc_linux_run_complete_queue'
aic7xxx_osm.c: In function `ahc_done':
aic7xxx_osm.c:2128: warning: implicit declaration of function `ahc_linux_unmap_scb'
aic7xxx_osm.c:2156: warning: implicit declaration of function `ahc_linux_sniff_command'
aic7xxx_osm.c:2159: warning: implicit declaration of function `ahc_linux_handle_scsi_status'
aic7xxx_osm.c: At top level:
aic7xxx_osm.c:2211: warning: `ahc_linux_handle_scsi_status' was declared implicitly `extern' and later `static'
aic7xxx_osm.c:2159: warning: previous declaration of `ahc_linux_handle_scsi_status'
aic7xxx_osm.c:2211: warning: type mismatch with previous implicit declaration
aic7xxx_osm.c:2159: warning: previous implicit declaration of `ahc_linux_handle_scsi_status'
aic7xxx_osm.c:2211: warning: `ahc_linux_handle_scsi_status' was previously implicitly declared to return `int'
aic7xxx_osm.c: In function `ahc_linux_handle_scsi_status':
aic7xxx_osm.c:2296: error: `ahc_linux_dev_timed_unfreeze' undeclared (first use in this function)
aic7xxx_osm.c: In function `ahc_linux_filter_command':
aic7xxx_osm.c:2356: warning: assignment makes pointer from integer without a cast
aic7xxx_osm.c: At top level:
aic7xxx_osm.c:2483: warning: `ahc_linux_freeze_sim_queue' was declared implicitly `extern' and later `static'
aic7xxx_osm.c:1329: warning: previous declaration of `ahc_linux_freeze_sim_queue'
aic7xxx_osm.c:2483: warning: type mismatch with previous implicit declaration
aic7xxx_osm.c:1329: warning: previous implicit declaration of `ahc_linux_freeze_sim_queue'
aic7xxx_osm.c:2483: warning: `ahc_linux_freeze_sim_queue' was previously implicitly declared to return `int'
aic7xxx_osm.c:2491: error: `ahc_linux_release_sim_queue' used prior to declaration
aic7xxx_osm.c:2523: error: `ahc_linux_dev_timed_unfreeze' used prior to declaration
aic7xxx_osm.c: In function `ahc_linux_queue_recovery_cmd':
aic7xxx_osm.c:2582: warning: assignment makes pointer from integer without a cast
aic7xxx_osm.c:2846: error: `ahc_runq_tasklet' used prior to declaration
aic7xxx_osm.c:2846: warning: implicit declaration of function `ahc_runq_tasklet'
aic7xxx_osm.c: In function `ahc_platform_dump_card_state':
aic7xxx_osm.c:3016: warning: assignment makes pointer from integer without a cast
aic7xxx_osm.c: At top level:
aic7xxx_osm.c:721: error: storage size of `ahc_linux_notifier' isn't known
aic7xxx_osm.c:726: warning: `ahc_linux_halt' defined but not used
aic7xxx_osm.c:1549: warning: `ahc_linux_select_queue_depth' defined but not used
aic7xxx_osm.c:1909: warning: `ahc_linux_alloc_target' defined but not used
aic7xxx_osm.c:1942: warning: `ahc_linux_alloc_device' defined but not used
aic7xxx_osm.c:2305: warning: `ahc_linux_filter_command' defined but not used
aic7xxx_osm.c:2491: warning: `ahc_linux_release_sim_queue' defined but not used
aic7xxx_osm.c:2523: warning: `ahc_linux_dev_timed_unfreeze' defined but not used
make[3]: *** [aic7xxx_osm.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.20-gaming-r13/drivers/scsi/aic7xxx'
make[2]: *** [_modsubdir_aic7xxx] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.20-gaming-r13/drivers/scsi'
make[1]: *** [_modsubdir_scsi] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20-gaming-r13/drivers'
make: *** [_mod_drivers] Error 2
|
suggestions ?? THX |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 55107 Location: 56N 3W
|
Posted: Tue Jun 22, 2004 5:33 pm Post subject: |
|
|
RCMN,
Ususally, only the first compile error is of interest. Later ones are often due to the effects of the first one propogating.
In this case, its Quote: | aic7xxx_osm.c:420:27: missing terminating " character | this suggests that the file aic7xxx_osm.c is corrupt. If you know what a C string looks like go to line 420 in that file and see if you can spot it.
Alternatives are configure out the aic7xxx driver. Its for some old SCSI cards. If you don't have SCSI you don't need it or download the kernel again. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
|