Bug 19828
Summary: | 2.2.17 fails to compile, even with kgcc | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Andreas-Johann Ulvestad <aj> |
Component: | kernel | Assignee: | Michael K. Johnson <johnsonm> |
Status: | CLOSED NOTABUG | QA Contact: | Brock Organ <borgan> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 7.0 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2000-10-26 06:50:42 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Andreas-Johann Ulvestad
2000-10-25 19:14:43 UTC
This _REALLY_ looks like you are NOT using kgcc. Did you do an "export CC=kgcc" before make bzImage ? (or edit the makefile to change CC (not hostcc)) Ooops.. I changed HOSTCC.... After changning from CC =$(CROSS_COMPILE)cc -D__KERNEL__ -I$(HPATH) to CC =kgcc -D__KERNEL__ -I$(HPATH) , it worked. Is this actually DOCUMENTED anywhere? kgcc -D__KERNEL__ -I/usr/src/linux-2.2.17/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -D__SMP__ -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.2.17/include/linux/modversions.h -c -o radio-miropcm20.o radio-miropcm20.c In file included from radio-miropcm20.c:13: ../sound/lowlevel/miroaci.h:9: #error Compiling a driver that needs the ACI-mixer but without ACI-mixer support radio-miropcm20.c: In function `pcm20_mute': radio-miropcm20.c:33: warning: implicit declaration of function `aci_write_cmd' radio-miropcm20.c: In function `pcm20_setfreq': radio-miropcm20.c:73: warning: implicit declaration of function `aci_write_cmd_d' radio-miropcm20.c: In function `pcm20_getsigstr': radio-miropcm20.c:81: warning: implicit declaration of function `aci_indexed_cmd' {standard input}: Assembler messages: {standard input}:9: Warning: Ignoring changed section attributes for .modinfo make[2]: *** [radio-miropcm20.o] Error 1 make[2]: Leaving directory `/usr/src/linux-2.2.17/drivers/char' make[1]: *** [_modsubdir_char] Error 2 make[1]: Leaving directory `/usr/src/linux-2.2.17/drivers' make: *** [_mod_drivers] Error 2 "../sound/lowlevel/miroaci.h:9: #error Compiling a driver that needs the ACI-mixer but without ACI-mixer support" I think that says it all. You need to also enable the "ACI mixer" in the sound/lowlevel section. Its documented in the Readme. Documenting it better is on the list for the next release and a valid complaint. |