|
From: Søren K. <sq...@dt...> - 2025-09-22 14:16:05
|
Hi all
I have just upgrasded a relatively new server to ubuntu 24.04.3 and when
updating the Linux-gpib driver I got this error:
root@celletest-53:~/linux-gpib-4.3.6/linux-gpib-kernel-4.3.6# make
make -C /lib/modules/`uname -r`/build V=0 modules \
M="/root/linux-gpib-4.3.6/linux-gpib-kernel-4.3.6/drivers/gpib" \
GPIB_TOP_DIR=/root/linux-gpib-4.3.6/linux-gpib-kernel-4.3.6 \
CONFIG_GPIB_ISA="" \
GPIB_CONFIG_PCMCIA="0" \
HAVE_DEV_OF_NODE= \
GPIB_CONFIG_KERNEL_DEBUG=0
make[1]: Entering directory '/usr/src/linux-headers-6.14.0-29-generic'
make[2]: Entering directory
'/root/linux-gpib-4.3.6/linux-gpib-kernel-4.3.6/drivers/gpib'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu
13.3.0-6ubuntu2~24.04) 13.3.0
You are using: gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
CC [M] agilent_82350b/agilent_82350b_init.o
agilent_82350b/agilent_82350b_init.c:157:9: warning: no previous
prototype for ‘agilent_82350b_serial_poll_status’ [-Wmissing-prototypes]
157 | uint8_t agilent_82350b_serial_poll_status( gpib_board_t *board )
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
agilent_82350b/agilent_82350b_init.c:162:5: warning: no previous
prototype for ‘agilent_82350b_line_status’ [-Wmissing-prototypes]
162 | int agilent_82350b_line_status( const gpib_board_t *board )
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
agilent_82350b/agilent_82350b_init.c:168:14: warning: no previous
prototype for ‘agilent_82350b_t1_delay’ [-Wmissing-prototypes]
168 | unsigned int agilent_82350b_t1_delay( gpib_board_t *board,
unsigned int nanosec )
| ^~~~~~~~~~~~~~~~~~~~~~~
agilent_82350b/agilent_82350b_init.c:261:5: warning: no previous
prototype for ‘init_82350a_hardware’ [-Wmissing-prototypes]
261 | int init_82350a_hardware(gpib_board_t *board, const
gpib_board_config_t *config)
| ^~~~~~~~~~~~~~~~~~~~
agilent_82350b/agilent_82350b_init.c:326:5: warning: no previous
prototype for ‘test_sram’ [-Wmissing-prototypes]
326 | int test_sram(gpib_board_t *board)
| ^~~~~~~~~
agilent_82350b/agilent_82350b_init.c:353:5: warning: no previous
prototype for ‘agilent_82350b_generic_attach’ [-Wmissing-prototypes]
353 | int agilent_82350b_generic_attach(gpib_board_t *board, const
gpib_board_config_t *config, int use_fifos)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC [M] agilent_82350b/agilent_82350b_read.o
CC [M] agilent_82350b/agilent_82350b_write.o
CC [M] agilent_82350b/agilent_82350b_interrupt.o
LD [M] agilent_82350b/agilent_82350b.o
CC [M] agilent_82357a/agilent_82357a.o
agilent_82357a/agilent_82357a.c:55:5: warning: no previous prototype for
‘agilent_82357a_send_bulk_msg’ [-Wmissing-prototypes]
55 | int agilent_82357a_send_bulk_msg(agilent_82357a_private_t
*a_priv, void *data, int data_length, int *actual_data_length,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
agilent_82357a/agilent_82357a.c:132:5: warning: no previous prototype
for ‘agilent_82357a_receive_bulk_msg’ [-Wmissing-prototypes]
132 | int agilent_82357a_receive_bulk_msg(agilent_82357a_private_t
*a_priv, void *data, int data_length, int *actual_data_length,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
agilent_82357a/agilent_82357a.c:206:5: warning: no previous prototype
for ‘agilent_82357a_receive_control_msg’ [-Wmissing-prototypes]
206 | int agilent_82357a_receive_control_msg(agilent_82357a_private_t
*a_priv, __u8 request, __u8 requesttype, __u16 value,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
agilent_82357a/agilent_82357a.c:241:5: warning: no previous prototype
for ‘agilent_82357a_write_registers’ [-Wmissing-prototypes]
241 | int agilent_82357a_write_registers(agilent_82357a_private_t
*a_priv, const struct agilent_82357a_register_pairlet *writes,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
agilent_82357a/agilent_82357a.c:323:5: warning: no previous prototype
for ‘agilent_82357a_read_registers’ [-Wmissing-prototypes]
323 | int agilent_82357a_read_registers(agilent_82357a_private_t
*a_priv, struct agilent_82357a_register_pairlet *reads,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
agilent_82357a/agilent_82357a.c:471:5: warning: no previous prototype
for ‘agilent_82357a_read’ [-Wmissing-prototypes]
471 | int agilent_82357a_read(gpib_board_t *board, uint8_t *buffer,
size_t length, int *end, size_t *nbytes)
| ^~~~~~~~~~~~~~~~~~~
agilent_82357a/agilent_82357a.c:725:5: warning: no previous prototype
for ‘agilent_82357a_command’ [-Wmissing-prototypes]
725 | int agilent_82357a_command(gpib_board_t *board, uint8_t
*buffer, size_t length, size_t *bytes_written)
| ^~~~~~~~~~~~~~~~~~~~~~
agilent_82357a/agilent_82357a.c:730:5: warning: no previous prototype
for ‘agilent_82357a_take_control’ [-Wmissing-prototypes]
730 | int agilent_82357a_take_control(gpib_board_t *board, int
synchronous)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
agilent_82357a/agilent_82357a.c:764:5: warning: no previous prototype
for ‘agilent_82357a_go_to_standby’ [-Wmissing-prototypes]
764 | int agilent_82357a_go_to_standby(gpib_board_t *board)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
agilent_82357a/agilent_82357a.c:781:6: warning: no previous prototype
for ‘agilent_82357a_request_system_control’ [-Wmissing-prototypes]
781 | void agilent_82357a_request_system_control(gpib_board_t *board,
int request_control)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
agilent_82357a/agilent_82357a.c:811:6: warning: no previous prototype
for ‘agilent_82357a_interface_clear’ [-Wmissing-prototypes]
811 | void agilent_82357a_interface_clear(gpib_board_t *board, int
assert)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
agilent_82357a/agilent_82357a.c:831:6: warning: no previous prototype
for ‘agilent_82357a_remote_enable’ [-Wmissing-prototypes]
831 | void agilent_82357a_remote_enable(gpib_board_t *board, int enable)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
agilent_82357a/agilent_82357a.c:851:5: warning: no previous prototype
for ‘agilent_82357a_enable_eos’ [-Wmissing-prototypes]
851 | int agilent_82357a_enable_eos(gpib_board_t *board, uint8_t
eos_byte, int compare_8_bits)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
agilent_82357a/agilent_82357a.c:865:6: warning: no previous prototype
for ‘agilent_82357a_disable_eos’ [-Wmissing-prototypes]
865 | void agilent_82357a_disable_eos(gpib_board_t *board)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
agilent_82357a/agilent_82357a.c:928:5: warning: no previous prototype
for ‘agilent_82357a_primary_address’ [-Wmissing-prototypes]
928 | int agilent_82357a_primary_address(gpib_board_t *board,
unsigned int address)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
agilent_82357a/agilent_82357a.c:946:5: warning: no previous prototype
for ‘agilent_82357a_secondary_address’ [-Wmissing-prototypes]
946 | int agilent_82357a_secondary_address(gpib_board_t *board,
unsigned int address, int enable)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
agilent_82357a/agilent_82357a.c:953:5: warning: no previous prototype
for ‘agilent_82357a_parallel_poll’ [-Wmissing-prototypes]
953 | int agilent_82357a_parallel_poll(gpib_board_t *board, uint8_t
*result)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
agilent_82357a/agilent_82357a.c:993:6: warning: no previous prototype
for ‘agilent_82357a_parallel_poll_configure’ [-Wmissing-prototypes]
993 | void agilent_82357a_parallel_poll_configure(gpib_board_t
*board, uint8_t config)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
agilent_82357a/agilent_82357a.c:998:6: warning: no previous prototype
for ‘agilent_82357a_parallel_poll_response’ [-Wmissing-prototypes]
998 | void agilent_82357a_parallel_poll_response(gpib_board_t *board,
int ist)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
agilent_82357a/agilent_82357a.c:1003:6: warning: no previous prototype
for ‘agilent_82357a_serial_poll_response’ [-Wmissing-prototypes]
1003 | void agilent_82357a_serial_poll_response(gpib_board_t *board,
uint8_t status)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
agilent_82357a/agilent_82357a.c:1008:9: warning: no previous prototype
for ‘agilent_82357a_serial_poll_status’ [-Wmissing-prototypes]
1008 | uint8_t agilent_82357a_serial_poll_status( gpib_board_t *board )
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
agilent_82357a/agilent_82357a.c:1013:6: warning: no previous prototype
for ‘agilent_82357a_return_to_local’ [-Wmissing-prototypes]
1013 | void agilent_82357a_return_to_local( gpib_board_t *board )
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
agilent_82357a/agilent_82357a.c:1018:5: warning: no previous prototype
for ‘agilent_82357a_line_status’ [-Wmissing-prototypes]
1018 | int agilent_82357a_line_status( const gpib_board_t *board )
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
agilent_82357a/agilent_82357a.c:1066:14: warning: no previous prototype
for ‘agilent_82357a_t1_delay’ [-Wmissing-prototypes]
1066 | unsigned int agilent_82357a_t1_delay( gpib_board_t *board,
unsigned int nanosec )
| ^~~~~~~~~~~~~~~~~~~~~~~
agilent_82357a/agilent_82357a.c:1082:6: warning: no previous prototype
for ‘agilent_82357a_interrupt_complete’ [-Wmissing-prototypes]
1082 | void agilent_82357a_interrupt_complete(struct urb *urb PT_REGS_ARG)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
agilent_82357a/agilent_82357a.c:1370:5: warning: no previous prototype
for ‘agilent_82357a_attach’ [-Wmissing-prototypes]
1370 | int agilent_82357a_attach(gpib_board_t *board, const
gpib_board_config_t *config)
| ^~~~~~~~~~~~~~~~~~~~~
agilent_82357a/agilent_82357a.c:1497:6: warning: no previous prototype
for ‘agilent_82357a_detach’ [-Wmissing-prototypes]
1497 | void agilent_82357a_detach(gpib_board_t *board)
| ^~~~~~~~~~~~~~~~~~~~~
CC [M] cb7210/cb7210_init.o
cb7210/cb7210_init.c:321:5: warning: no previous prototype for
‘cb7210_allocate_private’ [-Wmissing-prototypes]
321 | int cb7210_allocate_private(gpib_board_t *board)
| ^~~~~~~~~~~~~~~~~~~~~~~
CC [M] cb7210/cb7210_cs.o
CC [M] cb7210/interrupt.o
CC [M] cb7210/cb7210_aux.o
CC [M] cb7210/cb7210_read.o
CC [M] cb7210/cb7210_write.o
cb7210/cb7210_write.c:21:5: warning: no previous prototype for
‘output_fifo_empty’ [-Wmissing-prototypes]
21 | int output_fifo_empty( const cb7210_private_t *cb_priv )
| ^~~~~~~~~~~~~~~~~
cb7210/cb7210_write.c:66:5: warning: no previous prototype for
‘fifo_write’ [-Wmissing-prototypes]
66 | int fifo_write( gpib_board_t *board, uint8_t *buffer, size_t
length, size_t *bytes_written)
| ^~~~~~~~~~
LD [M] cb7210/cb7210.o
CC [M] cec/init.o
cec/init.c:122:9: warning: no previous prototype for
‘cec_serial_poll_status’ [-Wmissing-prototypes]
122 | uint8_t cec_serial_poll_status( gpib_board_t *board )
| ^~~~~~~~~~~~~~~~~~~~~~
cec/init.c:127:14: warning: no previous prototype for ‘cec_t1_delay’
[-Wmissing-prototypes]
127 | unsigned int cec_t1_delay( gpib_board_t *board, unsigned int
nano_sec )
| ^~~~~~~~~~~~
cec/init.c:167:5: warning: no previous prototype for
‘cec_allocate_private’ [-Wmissing-prototypes]
167 | int cec_allocate_private(gpib_board_t *board)
| ^~~~~~~~~~~~~~~~~~~~
cec/init.c:327:12: warning: no previous prototype for ‘cec_init_module’
[-Wmissing-prototypes]
327 | int __init cec_init_module(void)
| ^~~~~~~~~~~~~~~
cec/init.c:342:6: warning: no previous prototype for ‘cec_exit_module’
[-Wmissing-prototypes]
342 | void cec_exit_module(void)
| ^~~~~~~~~~~~~~~
CC [M] cec/interrupt.o
LD [M] cec/cec_gpib.o
CC [M] fmh_gpib/fmh_gpib.o
fmh_gpib/fmh_gpib.c:52:5: warning: no previous prototype for
‘fmh_gpib_read’ [-Wmissing-prototypes]
52 | int fmh_gpib_read(gpib_board_t *board, uint8_t *buffer, size_t
length, int *end, size_t *bytes_read)
| ^~~~~~~~~~~~~
fmh_gpib/fmh_gpib.c:57:5: warning: no previous prototype for
‘fmh_gpib_write’ [-Wmissing-prototypes]
57 | int fmh_gpib_write(gpib_board_t *board, uint8_t *buffer, size_t
length, int send_eoi, size_t *bytes_written)
| ^~~~~~~~~~~~~~
fmh_gpib/fmh_gpib.c:62:5: warning: no previous prototype for
‘fmh_gpib_command’ [-Wmissing-prototypes]
62 | int fmh_gpib_command(gpib_board_t *board, uint8_t *buffer,
size_t length, size_t *bytes_written)
| ^~~~~~~~~~~~~~~~
fmh_gpib/fmh_gpib.c:67:5: warning: no previous prototype for
‘fmh_gpib_take_control’ [-Wmissing-prototypes]
67 | int fmh_gpib_take_control(gpib_board_t *board, int synchronous)
| ^~~~~~~~~~~~~~~~~~~~~
fmh_gpib/fmh_gpib.c:72:5: warning: no previous prototype for
‘fmh_gpib_go_to_standby’ [-Wmissing-prototypes]
72 | int fmh_gpib_go_to_standby(gpib_board_t *board)
| ^~~~~~~~~~~~~~~~~~~~~~
fmh_gpib/fmh_gpib.c:77:6: warning: no previous prototype for
‘fmh_gpib_request_system_control’ [-Wmissing-prototypes]
77 | void fmh_gpib_request_system_control( gpib_board_t *board, int
request_control )
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fmh_gpib/fmh_gpib.c:83:6: warning: no previous prototype for
‘fmh_gpib_interface_clear’ [-Wmissing-prototypes]
83 | void fmh_gpib_interface_clear(gpib_board_t *board, int assert)
| ^~~~~~~~~~~~~~~~~~~~~~~~
fmh_gpib/fmh_gpib.c:88:6: warning: no previous prototype for
‘fmh_gpib_remote_enable’ [-Wmissing-prototypes]
88 | void fmh_gpib_remote_enable(gpib_board_t *board, int enable)
| ^~~~~~~~~~~~~~~~~~~~~~
fmh_gpib/fmh_gpib.c:93:5: warning: no previous prototype for
‘fmh_gpib_enable_eos’ [-Wmissing-prototypes]
93 | int fmh_gpib_enable_eos(gpib_board_t *board, uint8_t eos_byte,
int compare_8_bits)
| ^~~~~~~~~~~~~~~~~~~
fmh_gpib/fmh_gpib.c:98:6: warning: no previous prototype for
‘fmh_gpib_disable_eos’ [-Wmissing-prototypes]
98 | void fmh_gpib_disable_eos(gpib_board_t *board)
| ^~~~~~~~~~~~~~~~~~~~
fmh_gpib/fmh_gpib.c:103:14: warning: no previous prototype for
‘fmh_gpib_update_status’ [-Wmissing-prototypes]
103 | unsigned int fmh_gpib_update_status( gpib_board_t *board,
unsigned int clear_mask )
| ^~~~~~~~~~~~~~~~~~~~~~
fmh_gpib/fmh_gpib.c:108:5: warning: no previous prototype for
‘fmh_gpib_primary_address’ [-Wmissing-prototypes]
108 | int fmh_gpib_primary_address(gpib_board_t *board, unsigned int
address)
| ^~~~~~~~~~~~~~~~~~~~~~~~
fmh_gpib/fmh_gpib.c:113:5: warning: no previous prototype for
‘fmh_gpib_secondary_address’ [-Wmissing-prototypes]
113 | int fmh_gpib_secondary_address(gpib_board_t *board, unsigned
int address, int enable)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
fmh_gpib/fmh_gpib.c:118:5: warning: no previous prototype for
‘fmh_gpib_parallel_poll’ [-Wmissing-prototypes]
118 | int fmh_gpib_parallel_poll(gpib_board_t *board, uint8_t *result)
| ^~~~~~~~~~~~~~~~~~~~~~
fmh_gpib/fmh_gpib.c:123:6: warning: no previous prototype for
‘fmh_gpib_parallel_poll_configure’ [-Wmissing-prototypes]
123 | void fmh_gpib_parallel_poll_configure( gpib_board_t *board,
uint8_t configuration )
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fmh_gpib/fmh_gpib.c:128:6: warning: no previous prototype for
‘fmh_gpib_parallel_poll_response’ [-Wmissing-prototypes]
128 | void fmh_gpib_parallel_poll_response( gpib_board_t *board, int
ist )
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fmh_gpib/fmh_gpib.c:133:6: warning: no previous prototype for
‘fmh_gpib_local_parallel_poll_mode’ [-Wmissing-prototypes]
133 | void fmh_gpib_local_parallel_poll_mode( gpib_board_t *board,
int local )
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fmh_gpib/fmh_gpib.c:148:6: warning: no previous prototype for
‘fmh_gpib_serial_poll_response2’ [-Wmissing-prototypes]
148 | void fmh_gpib_serial_poll_response2(gpib_board_t *board,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fmh_gpib/fmh_gpib.c:190:9: warning: no previous prototype for
‘fmh_gpib_serial_poll_status’ [-Wmissing-prototypes]
190 | uint8_t fmh_gpib_serial_poll_status( gpib_board_t *board )
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
fmh_gpib/fmh_gpib.c:195:6: warning: no previous prototype for
‘fmh_gpib_return_to_local’ [-Wmissing-prototypes]
195 | void fmh_gpib_return_to_local( gpib_board_t *board )
| ^~~~~~~~~~~~~~~~~~~~~~~~
fmh_gpib/fmh_gpib.c:203:5: warning: no previous prototype for
‘fmh_gpib_line_status’ [-Wmissing-prototypes]
203 | int fmh_gpib_line_status( const gpib_board_t *board )
| ^~~~~~~~~~~~~~~~~~~~
fmh_gpib/fmh_gpib.c:235:14: warning: no previous prototype for
‘fmh_gpib_t1_delay’ [-Wmissing-prototypes]
235 | unsigned int fmh_gpib_t1_delay( gpib_board_t *board, unsigned
int nano_sec )
| ^~~~~~~~~~~~~~~~~
fmh_gpib/fmh_gpib.c:1262:5: warning: no previous prototype for
‘fmh_gpib_allocate_private’ [-Wmissing-prototypes]
1262 | int fmh_gpib_allocate_private(gpib_board_t *board)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
fmh_gpib/fmh_gpib.c:1279:6: warning: no previous prototype for
‘fmh_gpib_generic_detach’ [-Wmissing-prototypes]
1279 | void fmh_gpib_generic_detach(gpib_board_t *board)
| ^~~~~~~~~~~~~~~~~~~~~~~
fmh_gpib/fmh_gpib.c:1294:5: warning: no previous prototype for
‘fmh_gpib_generic_attach’ [-Wmissing-prototypes]
1294 | int fmh_gpib_generic_attach(gpib_board_t *board)
| ^~~~~~~~~~~~~~~~~~~~~~~
fmh_gpib/fmh_gpib.c:1347:5: warning: no previous prototype for
‘fmh_gpib_init’ [-Wmissing-prototypes]
1347 | int fmh_gpib_init(fmh_gpib_private_t *e_priv, gpib_board_t
*board, int handshake_mode)
| ^~~~~~~~~~~~~
fmh_gpib/fmh_gpib.c:1561:5: warning: no previous prototype for
‘fmh_gpib_pci_attach_impl’ [-Wmissing-prototypes]
1561 | int fmh_gpib_pci_attach_impl(gpib_board_t *board, const
gpib_board_config_t *config, unsigned handshake_mode)
| ^~~~~~~~~~~~~~~~~~~~~~~~
CC [M] gpio/gpib_bitbang.o
gpio/gpib_bitbang.c:280:5: warning: no previous prototype for ‘bb_read’
[-Wmissing-prototypes]
280 | int bb_read(gpib_board_t *board, uint8_t *buffer, size_t length,
| ^~~~~~~
gpio/gpib_bitbang.c:345:13: warning: no previous prototype for
‘bb_DAV_interrupt’ [-Wmissing-prototypes]
345 | irqreturn_t bb_DAV_interrupt (int irq, void * arg) {
| ^~~~~~~~~~~~~~~~
gpio/gpib_bitbang.c:403:5: warning: no previous prototype for ‘bb_write’
[-Wmissing-prototypes]
403 | int bb_write(gpib_board_t *board, uint8_t *buffer, size_t length,
| ^~~~~~~~
gpio/gpib_bitbang.c:478:13: warning: no previous prototype for
‘bb_NRFD_interrupt’ [-Wmissing-prototypes]
478 | irqreturn_t bb_NRFD_interrupt(int irq, void * arg)
| ^~~~~~~~~~~~~~~~~
gpio/gpib_bitbang.c:540:13: warning: no previous prototype for
‘bb_NDAC_interrupt’ [-Wmissing-prototypes]
540 | irqreturn_t bb_NDAC_interrupt(int irq, void * arg)
| ^~~~~~~~~~~~~~~~~
gpio/gpib_bitbang.c:588:13: warning: no previous prototype for
‘bb_SRQ_interrupt’ [-Wmissing-prototypes]
588 | irqreturn_t bb_SRQ_interrupt(int irq, void * arg)
| ^~~~~~~~~~~~~~~~
gpio/gpib_bitbang.c:603:5: warning: no previous prototype for
‘bb_command’ [-Wmissing-prototypes]
603 | int bb_command(gpib_board_t *board, uint8_t *buffer,
| ^~~~~~~~~~
gpio/gpib_bitbang.c:735:5: warning: no previous prototype for
‘bb_take_control’ [-Wmissing-prototypes]
735 | int bb_take_control(gpib_board_t *board, int synchronous)
| ^~~~~~~~~~~~~~~
gpio/gpib_bitbang.c:743:5: warning: no previous prototype for
‘bb_go_to_standby’ [-Wmissing-prototypes]
743 | int bb_go_to_standby(gpib_board_t *board)
| ^~~~~~~~~~~~~~~~
gpio/gpib_bitbang.c:750:6: warning: no previous prototype for
‘bb_request_system_control’ [-Wmissing-prototypes]
750 | void bb_request_system_control(gpib_board_t *board, int
request_control )
| ^~~~~~~~~~~~~~~~~~~~~~~~~
gpio/gpib_bitbang.c:761:6: warning: no previous prototype for
‘bb_interface_clear’ [-Wmissing-prototypes]
761 | void bb_interface_clear(gpib_board_t *board, int assert)
| ^~~~~~~~~~~~~~~~~~
gpio/gpib_bitbang.c:774:6: warning: no previous prototype for
‘bb_remote_enable’ [-Wmissing-prototypes]
774 | void bb_remote_enable(gpib_board_t *board, int enable)
| ^~~~~~~~~~~~~~~~
gpio/gpib_bitbang.c:786:5: warning: no previous prototype for
‘bb_enable_eos’ [-Wmissing-prototypes]
786 | int bb_enable_eos(gpib_board_t *board, uint8_t eos_byte, int
compare_8_bits)
| ^~~~~~~~~~~~~
gpio/gpib_bitbang.c:797:6: warning: no previous prototype for
‘bb_disable_eos’ [-Wmissing-prototypes]
797 | void bb_disable_eos(gpib_board_t *board)
| ^~~~~~~~~~~~~~
gpio/gpib_bitbang.c:804:14: warning: no previous prototype for
‘bb_update_status’ [-Wmissing-prototypes]
804 | unsigned int bb_update_status(gpib_board_t *board, unsigned int
clear_mask )
| ^~~~~~~~~~~~~~~~
gpio/gpib_bitbang.c:835:5: warning: no previous prototype for
‘bb_primary_address’ [-Wmissing-prototypes]
835 | int bb_primary_address(gpib_board_t *board, unsigned int address)
| ^~~~~~~~~~~~~~~~~~
gpio/gpib_bitbang.c:842:5: warning: no previous prototype for
‘bb_secondary_address’ [-Wmissing-prototypes]
842 | int bb_secondary_address(gpib_board_t *board, unsigned int
address, int enable)
| ^~~~~~~~~~~~~~~~~~~~
gpio/gpib_bitbang.c:850:5: warning: no previous prototype for
‘bb_parallel_poll’ [-Wmissing-prototypes]
850 | int bb_parallel_poll(gpib_board_t *board, uint8_t *result)
| ^~~~~~~~~~~~~~~~
gpio/gpib_bitbang.c:855:6: warning: no previous prototype for
‘bb_parallel_poll_configure’ [-Wmissing-prototypes]
855 | void bb_parallel_poll_configure(gpib_board_t *board, uint8_t
config )
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
gpio/gpib_bitbang.c:859:6: warning: no previous prototype for
‘bb_parallel_poll_response’ [-Wmissing-prototypes]
859 | void bb_parallel_poll_response(gpib_board_t *board, int ist )
| ^~~~~~~~~~~~~~~~~~~~~~~~~
gpio/gpib_bitbang.c:862:6: warning: no previous prototype for
‘bb_serial_poll_response’ [-Wmissing-prototypes]
862 | void bb_serial_poll_response(gpib_board_t *board, uint8_t status)
| ^~~~~~~~~~~~~~~~~~~~~~~
gpio/gpib_bitbang.c:866:9: warning: no previous prototype for
‘bb_serial_poll_status’ [-Wmissing-prototypes]
866 | uint8_t bb_serial_poll_status(gpib_board_t *board )
| ^~~~~~~~~~~~~~~~~~~~~
gpio/gpib_bitbang.c:871:14: warning: no previous prototype for
‘bb_t1_delay’ [-Wmissing-prototypes]
871 | unsigned int bb_t1_delay( gpib_board_t *board, unsigned int
nano_sec )
| ^~~~~~~~~~~
gpio/gpib_bitbang.c:885:6: warning: no previous prototype for
‘bb_return_to_local’ [-Wmissing-prototypes]
885 | void bb_return_to_local(gpib_board_t *board )
| ^~~~~~~~~~~~~~~~~~
gpio/gpib_bitbang.c:890:5: warning: no previous prototype for
‘bb_line_status’ [-Wmissing-prototypes]
890 | int bb_line_status(const gpib_board_t *board )
| ^~~~~~~~~~~~~~
gpio/gpib_bitbang.c: In function ‘allocate_gpios’:
gpio/gpib_bitbang.c:966:56: error: ‘GPIOF_DIR_IN’ undeclared (first use
in this function); did you mean ‘GPIOD_IN’?
966 | if (gpio_request_one (gpios_vector[j],
GPIOF_DIR_IN, NULL)) break;
| ^~~~~~~~~~~~
| GPIOD_IN
gpio/gpib_bitbang.c:966:56: note: each undeclared identifier is reported
only once for each function it appears in
gpio/gpib_bitbang.c: At top level:
gpio/gpib_bitbang.c:993:6: warning: no previous prototype for
‘bb_detach’ [-Wmissing-prototypes]
993 | void bb_detach(gpib_board_t *board)
| ^~~~~~~~~
gpio/gpib_bitbang.c:1016:5: warning: no previous prototype for
‘bb_attach’ [-Wmissing-prototypes]
1016 | int bb_attach(gpib_board_t *board, const gpib_board_config_t
*config)
| ^~~~~~~~~
make[5]: ***
[/usr/src/linux-headers-6.14.0-29-generic/scripts/Makefile.build:207:
gpio/gpib_bitbang.o] Error 1
make[4]: ***
[/usr/src/linux-headers-6.14.0-29-generic/scripts/Makefile.build:465:
gpio] Error 2
make[3]: *** [/usr/src/linux-headers-6.14.0-29-generic/Makefile:2001: .]
Error 2
make[2]: *** [/usr/src/linux-headers-6.14.0-29-generic/Makefile:251:
__sub-make] Error 2
make[2]: Leaving directory
'/root/linux-gpib-4.3.6/linux-gpib-kernel-4.3.6/drivers/gpib'
make[1]: *** [Makefile:251: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.14.0-29-generic'
make: *** [Makefile:10: all] Error 2
root@celletest-53:~/linux-gpib-4.3.6/linux-gpib-kernel-4.3.6#
The error is for the bitbang driver, and as I only needed the NI4882
driver I could suppress it by commenting out the following line in
drivers/gpib/gpio/Makefile:
obj-m += gpib_bitbang.o
However for others who do need the bitbang driver this is not an option :-)
I am not suficiently fluent in kernel development to know what caused
this error but what is curious is that for a lot of older servers which
I also updated to 24-04-3 there was no problem....
Best regards
--
Søren Koch
Senior Development Engineer
Mob: +45 21325247
sq...@dt...
Fysikvej
Building 310
2800 Kgs. Lyngby
|