Ticket #1078 (closed task)

Opened 8 years ago

Compilation errors unresolved (can't figure out what's wrong) (Examined/Solved - lm_sensors 2.6.5 Linux red 2.4.18-17.8.0)

Reported by: contact Owned by: somebody
Priority: minor Milestone:
Component: kernel Version:
Keywords: Cc:

Description

I tried to follow the building instructions as closely as possible. However,

when I get to kernel/busses/dmi_scan.c in the make process, I get a bunch of

errors with respect to include files. I have included the error output below

and if you need it I can always send the make log as well. I'm desparate as

I've spent way too much time late at night trying to figure this out. Help!

Thanks in advance,

Stuart


kernel/chips/lm87.c:1063:6: warning: multi-line string literals are deprecated

kernel/busses/i2c-ali1535.c:675:6: warning: multi-line string literals are

deprecated

kernel/busses/i2c-ali1535.c:675:6: warning: multi-line string literals are

deprecated

In file included from /usr/src/linux-2.4/include/linux/prefetch.h:13,

from /usr/src/linux-2.4/include/linux/list.h:6,

from /usr/src/linux-2.4/include/linux/module.h:12,

from kernel/busses/dmi_scan.c:6:

/usr/src/linux-2.4/include/asm/processor.h:51: warning: parameter names (without

types) in function declaration

/usr/src/linux-2.4/include/asm/processor.h:51: field 'loops_per_jiffy_R_ver_str'

declared as a function

/usr/src/linux-2.4/include/asm/processor.h:73: invalid suffix on integer

constant

/usr/src/linux-2.4/include/asm/processor.h:73: parse error before numeric

constant

/usr/src/linux-2.4/include/asm/processor.h:256: invalid suffix on integer

constant

/usr/src/linux-2.4/include/asm/processor.h:256: parse error before numeric

constant

/usr/src/linux-2.4/include/asm/processor.h:260: warning: parameter names

(without types) in function declaration

/usr/src/linux-2.4/include/asm/processor.h:436: invalid suffix on floating

constant

/usr/src/linux-2.4/include/asm/processor.h:436: parse error before numeric

constant

/usr/src/linux-2.4/include/asm/processor.h:436: 'kernel_thread_R_ver_str'

declared as function returning a function

In file included from kernel/busses/dmi_scan.c:6:

/usr/src/linux-2.4/include/linux/module.h:183: invalid suffix on integer

constant

/usr/src/linux-2.4/include/linux/module.h:183: parse error before numeric

constant

/usr/src/linux-2.4/include/linux/module.h:183: 'inter_module_register_R_ver_str'

declared as function returning a function

/usr/src/linux-2.4/include/linux/module.h:184: invalid suffix on integer

constant

/usr/src/linux-2.4/include/linux/module.h:184: parse error before numeric

constant

/usr/src/linux-2.4/include/linux/module.h:184:

'inter_module_unregister_R_ver_str' declared as function returning a function

/usr/src/linux-2.4/include/linux/module.h:185: 'inter_module_get_R_ver_str'

declared as function returning a function

/usr/src/linux-2.4/include/linux/module.h:185: warning: parameter names (without

types) in function declaration

/usr/src/linux-2.4/include/linux/module.h:186:

'inter_module_get_request_R_ver_str' declared as function returning a function

/usr/src/linux-2.4/include/linux/module.h:186: warning: parameter names (without

types) in function declaration

/usr/src/linux-2.4/include/linux/module.h:187: invalid suffix on integer

constant

/usr/src/linux-2.4/include/linux/module.h:187: parse error before numeric

constant

/usr/src/linux-2.4/include/linux/module.h:187: 'inter_module_put_R_ver_str'

declared as function returning a function

/usr/src/linux-2.4/include/linux/module.h:196: 'try_inc_mod_count_R_ver_str'

declared as function returning a function

/usr/src/linux-2.4/include/linux/module.h:196: warning: parameter names (without

types) in function declaration

make: *** [kernel/busses/dmi_scan.o] Error 1

--- well I just fixed the multi-line string warnings. thanks.

For the errors, your headers look in bad shape.

Does /usr/src/linux-2.4 contain the source for the kernel you are running?

Perhaps make LINUX=..... to point to better headers would help.

If it's only dmi_scan that is dying

(run make -k to keep going even after errors) then only

i2c-piix4 won't compile, the rest will be fine.

Good luck.

MDS 11/4/02

Note: See TracTickets for help on using tickets.