2.4.20-pre1-ac1 does not compile
And here are the messages :
gcc -D__KERNEL__ -I/usr/src/kernel-source-2.4.20-pre1-ac1/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=k6 -nostdinc -I /usr/lib/gcc-lib/i386-linux/2.95.4/include -DKBUILD_BASENAME=apm -c -o apm.o apm.capm.c: In function `apm_bios_call':
apm.c:605: called object is not a function
apm.c:605: warning: unused variable `cpus'apm.c: In function `apm_bios_call_simple':
apm.c:654: called object is not a function
apm.c:654: warning: unused variable `cpus'apm.c: In function `apm_power_off':
apm.c:938: called object is not a function
{entrée standard}: Messages de l'assembleur:
{entrée standard}:239: AVERTISSEMENT:indirect lcall sans « * » {entrée standard}:333: AVERTISSEMENT:indirect lcall sans « * » make[2]: *** [apm.o] Erreur 1
make[2]: Leaving directory `/usr/src/kernel-source-2.4.20-pre1-ac1/arch/i386/kernel' make[1]: *** [_dir_arch/i386/kernel] Erreur 2
2.4.20-pre1 compiles fine
And here my apm related config :CONFIG_APM=y
# CONFIG_APM_IGNORE_USER_SUSPEND is not set
# CONFIG_APM_DO_ENABLE is not setCONFIG_APM_CPU_IDLE=yCONFIG_APM_DISPLAY_BLANK=yCONFIG_APM_RTC_IS_GMT=y
# CONFIG_APM_ALLOW_INTS is not set
# CONFIG_APM_REAL_MODE_POWER_OFF is not set
----
regards
Jean-Luc
(I'm not on the list)
there is a patch for this problem.
you can take this patch with a nntp client : the newsgroup is :
linux.kernel
stephane wirtel
Quoted 45 lines · Jean-Luc Coulon
And here are the messages :
gcc -D__KERNEL__ -I/usr/src/kernel-source-2.4.20-pre1-ac1/include -Wall(quoted diff) +0
-4-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=k6 -nostdinc -I /usr/lib/gcc-lib/i386-linux/2.95.4/include -DKBUILD_BASENAME=apm -c -o apm.o apm.c
apm.c: In function `apm_bios_call':
apm.c:605: called object is not a function apm.c:605: warning: unused variable `cpus'apm.c: In function `apm_bios_call_simple':
apm.c:654: called object is not a function apm.c:654: warning: unused variable `cpus'apm.c: In function `apm_power_off':
apm.c:938: called object is not a function
{entrée standard}: Messages de l'assembleur:
{entrée standard}:239: AVERTISSEMENT:indirect lcall sans « * » {entrée standard}:333: AVERTISSEMENT:indirect lcall sans « * » make[2]: *** [apm.o] Erreur 1
make[2]: Leaving directory `/usr/src/kernel-source-2.4.20-pre1-ac1/arch/i386/kernel' make[1]: *** [_dir_arch/i386/kernel] Erreur 22.4.20-pre1 compiles fine
And here my apm related config :
CONFIG_APM=y
#CONFIG_APM_IGNORE_USER_SUSPENDis not set
#CONFIG_APM_DO_ENABLEis not setCONFIG_APM_CPU_IDLE=yCONFIG_APM_DISPLAY_BLANK=yCONFIG_APM_RTC_IS_GMT=y
#CONFIG_APM_ALLOW_INTSis not set
#CONFIG_APM_REAL_MODE_POWER_OFFis not set----
regards
Jean-Luc(I'm not on the list)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Signature · 7 lines
Stephane Wirtel <[email protected]> Web : www.linux-mons.be "Linux Is Not UniX !!!" Address : Rue de cartier, 53 6030 Marchienne-au-Pont Belgium Phone : +32 474 768 072