Skip to contentSkip to conversation

2.4.23-pre4 compile failure in hw_random.c and aic7xxx on amd64

DISCUSSION Jeffrey W. Baker 1 participant 2 messages Sep 17, 2003

lore
Share & tools
lore
#0 lore raw

hw_random.c: In function `via_init':
hw_random.c:433: error: `MSR_VIA_RNG' undeclared (first use in this function) hw_random.c:433: error: (Each undeclared identifier is reported only once hw_random.c:433: error: for each function it appears in.) hw_random.c: In function `via_cleanup':
hw_random.c:459: error: `MSR_VIA_RNG' undeclared (first use in this function)

The strange bit is that I didn't even have Intel/AMD/VIA hardware rng configured, only AMD 768/8??? rng support. So it seems like some sort of bug in oldconfig. After removing CONFIG_HW_RANDOM I can build again.

I also still have compile failures in drivers/scsi/aic7xxx due to Werror.

-jwb

#1 lore raw
Quoted 7 lines · Jeffrey W. Baker

hw_random.c: In function `via_init':
hw_random.c:433: error: `MSR_VIA_RNG' undeclared (first use in this function) hw_random.c:433: error: (Each undeclared identifier is reported only once hw_random.c:433: error: for each function it appears in.) hw_random.c: In function `via_cleanup':
hw_random.c:459: error: `MSR_VIA_RNG' undeclared (first use in this function)

Quoted 6 lines

The strange bit is that I didn't even have Intel/AMD/VIA hardware rng configured, only AMD 768/8??? rng support. So it seems like some sort of bug in oldconfig. After removing CONFIG_HW_RANDOM I can build again.

I also still have compile failures in drivers/scsi/aic7xxx due to Werror.

Follow-up:

fs/fs.o(.text+0x23ed7): In function `interrupts_open':
: undefined reference to `show_interrupts'

This appears to be defined on ppc64 and i386, but not x86_64. Possibly #ifndef CONFIG_X86 confusion because x86_64 sets CONFIG_X86_64 and CONFIG_X86. Not sure how to fix.

-jwb