Red Hat Bugzilla – Bug 142513
PowerPC asm headers require asm-m68k/setup.h
Last modified: 2015-01-04 17:13:46 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.7.3)
Description of problem:
When trying to build the linux-wlan-ng driver from
http://www.linux-wlan.com/, I came across a problem with the PowerPC
kernel package's asm header directory.
#define m68k_num_memory ppc_num_memory
#define m68k_memory ppc_memory
/* We have a bigger command line buffer. */
#define COMMAND_LINE_SIZE 512
#endif /* _PPC_SETUP_H */
#endif /* __KERNEL__ */
This references asm-m68k/setup.h, which does not get installed by the
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Try to build the linux-wlan-ng driver, referencing the header files in
Actual Results: [...]
make: Entering directory `/lib/modules/2.6.9-1.1020_FC4/build'
CC [M] /tmp/linux-wlan-ng-0.2.1pre23/src/p80211/p80211mod.o
In file included from include/asm/machdep.h:8,
include/asm/setup.h:8:28: asm-m68k/setup.h: No such file or directory
Copying asm-m68k/setup.h from the kernel source tree into
/lib/modules/2.6.9-1.1020_FC4/build/include fixes the build error.
The asm/setup.h included in the glibc-kernheaders-2.4-9.1.87 package
does not contain a reference to asm-m68k:
# define __ASM_STUB_SETUP_H__
# if defined __powerpc__ && !defined __powerpc64__
# include <asm-ppc/setup.h>
# if defined __powerpc64__
# include <asm-ppc64/setup.h>
fixed in cvs. will be in a build soon.
I have been waiting to test this but there has not been a 32-bit
PowerPC kernel built for Raw Hide in quite some time.
ppc32 hasn't been building recently, I'll try again tomorrow.
sigh, upstream still broken. I'll try and look into it, but no promises about
when it'll get fixed yet..
This seems fixed as of 2.6.10-1.1134_FC4.