compile problem with redhat-7.3/kernel 2.4.18

John Cusick <[email protected]> Sun, 18 Aug 2002 13:49:09 -0400
Newsgroups gmane.linux.tape
Message-ID <[email protected]>
While compiling ftape-4.04a I get a ton of errors.

I am compiling on an intel 586 with the latest version of Redhet (7.3)

A little history...

I had tried the ftape module included with the redhat distro, recompiled 
for for my exabyte accellererator card, but it did not want to handle 
the raw devices for some odd reason. The included modules compiled and 
loaded successfully and accessed the tape drive, but wouldn't deal with 
the /dev/nrawft0 or /dev/nrawqft0 for some odd reason, see previous post 
from a couple of days ago.
(the devices exist in case anyone thinks they do not).

Having used the ftape distribution before with success on another intel 
586 and kernel 2.2.x before, I decided to recompile the 2.4.18 kernel on 
this box according to the 4.04a insstructions and then add the latest 
ftape modules.

Below is a copy of the final errors before make quits.

Any help would be appreciated

Regards,

John C.

-----------------------------------------------------------------------------

ftape_syms.c:84:1: warning: pasting "(" and "ftape_read_segment" does 
not give a valid preprocessing token
ftape_syms.c:85:1: warning: pasting "(" and "ftape_zap_read_buffers" 
does not give a valid preprocessing token
ftape_syms.c:86:1: warning: pasting "(" and "ftape_read_header_segment" 
does not give a valid preprocessing token
ftape_syms.c:87:1: warning: pasting "(" and 
"ftape_decode_header_segment" does not give a valid preprocessing token
ftape_syms.c:89:1: warning: pasting "(" and "ftape_write_segment" does 
not give a valid preprocessing token
ftape_syms.c:90:1: warning: pasting "(" and 
"ftape_loop_until_writes_done" does not give a valid preprocessing token
ftape_syms.c:91:1: warning: pasting "(" and "ftape_hard_error_recovery" 
does not give a valid preprocessing token
ftape_syms.c:93:1: warning: pasting "(" and "fdc_infos" does not give a 
valid preprocessing token
ftape_syms.c:94:1: warning: pasting "(" and "fdc_register" does not give 
a valid preprocessing token
ftape_syms.c:95:1: warning: pasting "(" and "fdc_unregister" does not 
give a valid preprocessing token
ftape_syms.c:96:1: warning: pasting "(" and "fdc_disable_irq" does not 
give a valid preprocessing token
ftape_syms.c:97:1: warning: pasting "(" and "fdc_enable_irq" does not 
give a valid preprocessing token
ftape_syms.c:99:1: warning: pasting "(" and "ftape_vmalloc" does not 
give a valid preprocessing token
ftape_syms.c:100:1: warning: pasting "(" and "ftape_vfree" does not give 
a valid preprocessing token
ftape_syms.c:101:1: warning: pasting "(" and "ftape_kmalloc" does not 
give a valid preprocessing token
ftape_syms.c:102:1: warning: pasting "(" and "ftape_kfree" does not give 
a valid preprocessing token
ftape_syms.c:103:1: warning: pasting "(" and "fdc_set_nr_buffers" does 
not give a valid preprocessing token
ftape_syms.c:104:1: warning: pasting "(" and "fdc_get_deblock_buffer" 
does not give a valid preprocessing token
ftape_syms.c:105:1: warning: pasting "(" and "fdc_put_deblock_buffer" 
does not give a valid preprocessing token
ftape_syms.c:107:1: warning: pasting "(" and "ftape_format_track" does 
not give a valid preprocessing token
ftape_syms.c:108:1: warning: pasting "(" and "ftape_format_status" does 
not give a valid preprocessing token
ftape_syms.c:109:1: warning: pasting "(" and "ftape_verify_segment" does 
not give a valid preprocessing token
ftape_syms.c:111:1: warning: pasting "(" and 
"ftape_ecc_set_segment_parity" does not give a valid preprocessing token
ftape_syms.c:112:1: warning: pasting "(" and "ftape_ecc_correct_data" 
does not give a valid preprocessing token
ftape_syms.c:115:1: warning: pasting "(" and "ftape_trace_call" does not 
give a valid preprocessing token
ftape_syms.c:116:1: warning: pasting "(" and "ftape_trace_exit" does not 
give a valid preprocessing token
ftape_syms.c:117:1: warning: pasting "(" and "ftape_trace_log" does not 
give a valid preprocessing token
ftape_syms.c:118:1: warning: pasting "(" and "ftape_tracings" does not 
give a valid preprocessing token
ftape_syms.c:119:1: warning: pasting "(" and 
"ftape_function_nest_levels" does not give a valid preprocessing token
In file included from /usr/src/linux-2.4/include/linux/fs.h:12,
                 from /usr/src/linux-2.4/include/linux/capability.h:17,
                 from /usr/src/linux-2.4/include/linux/binfmts.h:5,
                 from /usr/src/linux-2.4/include/linux/sched.h:9,
                 from ../../include/linux/ftape.h:35,
                 from ftape_syms.c:32:
/usr/src/linux-2.4/include/linux/wait.h: In function 
`__add_wait_queue_tail':
/usr/src/linux-2.4/include/linux/wait.h:222: warning: implicit 
declaration of function `list_add_tail'
In file included from ../../include/linux/ftape.h:35,
                 from ftape_syms.c:32:
/usr/src/linux-2.4/include/linux/sched.h: At top level:
/usr/src/linux-2.4/include/linux/sched.h:312: parse error before `list_t'
/usr/src/linux-2.4/include/linux/sched.h:312: warning: no semicolon at 
end of struct or union
/usr/src/linux-2.4/include/linux/sched.h:333: parse error before `:'
/usr/src/linux-2.4/include/linux/sched.h:364: parse error before `:'
/usr/src/linux-2.4/include/linux/sched.h:371: parse error before `:'
/usr/src/linux-2.4/include/linux/sched.h:418: parse error before `}'
/usr/src/linux-2.4/include/linux/sched.h:525: field `task' has 
incomplete type
/usr/src/linux-2.4/include/linux/sched.h: In function `hash_pid':
/usr/src/linux-2.4/include/linux/sched.h:542: dereferencing pointer to 
incomplete type
/usr/src/linux-2.4/include/linux/sched.h:542: dereferencing pointer to 
incomplete type
/usr/src/linux-2.4/include/linux/sched.h:544: dereferencing pointer to 
incomplete type
/usr/src/linux-2.4/include/linux/sched.h:545: dereferencing pointer to 
incomplete type
/usr/src/linux-2.4/include/linux/sched.h:545: dereferencing pointer to 
incomplete type
/usr/src/linux-2.4/include/linux/sched.h:547: dereferencing pointer to 
incomplete type
/usr/src/linux-2.4/include/linux/sched.h: In function `unhash_pid':
/usr/src/linux-2.4/include/linux/sched.h:552: dereferencing pointer to 
incomplete type
/usr/src/linux-2.4/include/linux/sched.h:553: dereferencing pointer to 
incomplete type
/usr/src/linux-2.4/include/linux/sched.h:553: dereferencing pointer to 
incomplete type
/usr/src/linux-2.4/include/linux/sched.h:554: dereferencing pointer to 
incomplete type
/usr/src/linux-2.4/include/linux/sched.h:554: dereferencing pointer to 
incomplete type
/usr/src/linux-2.4/include/linux/sched.h: In function `find_task_by_pid':
/usr/src/linux-2.4/include/linux/sched.h:561: dereferencing pointer to 
incomplete type
/usr/src/linux-2.4/include/linux/sched.h:561: dereferencing pointer to 
incomplete type
In file included from ../../include/linux/ftape.h:35,
                 from ftape_syms.c:32:
/usr/src/linux-2.4/include/linux/sched.h: In function `signal_pending':
/usr/src/linux-2.4/include/linux/sched.h:632: dereferencing pointer to 
incomplete type
/usr/src/linux-2.4/include/linux/sched.h:633: warning: control reaches 
end of non-void function
/usr/src/linux-2.4/include/linux/sched.h: In function 
`recalc_sigpending_R1bab4c35':
/usr/src/linux-2.4/include/linux/sched.h:671: dereferencing pointer to 
incomplete type
/usr/src/linux-2.4/include/linux/sched.h:671: dereferencing pointer to 
incomplete type
/usr/src/linux-2.4/include/linux/sched.h:671: dereferencing pointer to 
incomplete type
/usr/src/linux-2.4/include/linux/sched.h: In function `on_sig_stack':
/usr/src/linux-2.4/include/linux/sched.h:678: dereferencing pointer to 
incomplete type
/usr/src/linux-2.4/include/linux/sched.h:678: dereferencing pointer to 
incomplete type
/usr/src/linux-2.4/include/linux/sched.h:679: warning: control reaches 
end of non-void function
/usr/src/linux-2.4/include/linux/sched.h: In function `sas_ss_flags':
/usr/src/linux-2.4/include/linux/sched.h:683: dereferencing pointer to 
incomplete type
/usr/src/linux-2.4/include/linux/sched.h:685: warning: control reaches 
end of non-void function
/usr/src/linux-2.4/include/linux/sched.h: In function `suser':
/usr/src/linux-2.4/include/linux/sched.h:708: dereferencing pointer to 
incomplete type
/usr/src/linux-2.4/include/linux/sched.h:709: dereferencing pointer to 
incomplete type
/usr/src/linux-2.4/include/linux/sched.h: In function `fsuser':
/usr/src/linux-2.4/include/linux/sched.h:717: dereferencing pointer to 
incomplete type
/usr/src/linux-2.4/include/linux/sched.h:718: dereferencing pointer to 
incomplete type
/usr/src/linux-2.4/include/linux/sched.h: In function `capable':
/usr/src/linux-2.4/include/linux/sched.h:733: dereferencing pointer to 
incomplete type
/usr/src/linux-2.4/include/linux/sched.h:738: dereferencing pointer to 
incomplete type
/usr/src/linux-2.4/include/linux/sched.h: In function `unhash_process':
/usr/src/linux-2.4/include/linux/sched.h:888: dereferencing pointer to 
incomplete type
/usr/src/linux-2.4/include/linux/sched.h:888: dereferencing pointer to 
incomplete type
/usr/src/linux-2.4/include/linux/sched.h:888: dereferencing pointer to 
incomplete type
/usr/src/linux-2.4/include/linux/sched.h:888: dereferencing pointer to 
incomplete type
/usr/src/linux-2.4/include/linux/sched.h:888: dereferencing pointer to 
incomplete type
/usr/src/linux-2.4/include/linux/sched.h:888: dereferencing pointer to 
incomplete type
/usr/src/linux-2.4/include/linux/sched.h:888: dereferencing pointer to 
incomplete type
/usr/src/linux-2.4/include/linux/sched.h:888: dereferencing pointer to 
incomplete type
/usr/src/linux-2.4/include/linux/sched.h:888: dereferencing pointer to 
incomplete type
/usr/src/linux-2.4/include/linux/sched.h:888: dereferencing pointer to 
incomplete type
/usr/src/linux-2.4/include/linux/sched.h:888: dereferencing pointer to 
incomplete type
/usr/src/linux-2.4/include/linux/sched.h:888: dereferencing pointer to 
incomplete type
/usr/src/linux-2.4/include/linux/sched.h:889: dereferencing pointer to 
incomplete type
/usr/src/linux-2.4/include/linux/sched.h: In function `task_lock':
/usr/src/linux-2.4/include/linux/sched.h:896: dereferencing pointer to 
incomplete type
/usr/src/linux-2.4/include/linux/sched.h: In function `d_path':
/usr/src/linux-2.4/include/linux/sched.h:911: dereferencing pointer to 
incomplete type
/usr/src/linux-2.4/include/linux/sched.h:912: dereferencing pointer to 
incomplete type
/usr/src/linux-2.4/include/linux/sched.h:913: dereferencing pointer to 
incomplete type
/usr/src/linux-2.4/include/linux/sched.h: In function `set_need_resched':
/usr/src/linux-2.4/include/linux/sched.h:925: dereferencing pointer to 
incomplete type
/usr/src/linux-2.4/include/linux/sched.h: In function `clear_need_resched':
/usr/src/linux-2.4/include/linux/sched.h:930: dereferencing pointer to 
incomplete type
/usr/src/linux-2.4/include/linux/sched.h: In function 
`set_tsk_need_resched':
/usr/src/linux-2.4/include/linux/sched.h:935: dereferencing pointer to 
incomplete type
/usr/src/linux-2.4/include/linux/sched.h: In function 
`clear_tsk_need_resched':
/usr/src/linux-2.4/include/linux/sched.h:940: dereferencing pointer to 
incomplete type
/usr/src/linux-2.4/include/linux/sched.h: In function `need_resched':
/usr/src/linux-2.4/include/linux/sched.h:945: dereferencing pointer to 
incomplete type
In file included from ../../include/linux/ftape.h:36,
                 from ftape_syms.c:32:
/usr/src/linux-2.4/include/linux/mm.h: In function `pf_gfp_mask':
/usr/src/linux-2.4/include/linux/mm.h:676: dereferencing pointer to 
incomplete type
In file included from ftape-tracing.h:35,
                 from ftape_syms.c:33:
../lowlevel/ftape-init.h: In function `ft_sigblockall':
../lowlevel/ftape-init.h:55: dereferencing pointer to incomplete type
../lowlevel/ftape-init.h:56: dereferencing pointer to incomplete type
../lowlevel/ftape-init.h:57: dereferencing pointer to incomplete type
../lowlevel/ftape-init.h: In function `ft_sigrestore':
../lowlevel/ftape-init.h:63: dereferencing pointer to incomplete type
../lowlevel/ftape-init.h:64: dereferencing pointer to incomplete type
../lowlevel/ftape-init.h: In function `ft_sigtest':
../lowlevel/ftape-init.h:70: dereferencing pointer to incomplete type
../lowlevel/ftape-init.h:71: warning: control reaches end of non-void 
function
make[2]: *** [ftape_syms.o] Error 1
make[2]: Leaving directory `/usr/local/src/ftape-4.04a/ftape/lowlevel'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/local/src/ftape-4.04a/ftape'
make: *** [all] Error 2


-
To unsubscribe from this list: send the line "unsubscribe linux-tape" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html