2002-08-10 08:16:15

by Jean-Luc Coulon (f5ibh)

[permalink] [raw]
Subject: 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.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 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 set
CONFIG_APM_CPU_IDLE=y
CONFIG_APM_DISPLAY_BLANK=y
CONFIG_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)


2002-08-10 08:37:13

by Stephane Wirtel

[permalink] [raw]
Subject: Re: 2.4.20-pre1-ac1 does not compile

there is a patch for this problem.

you can take this patch with a nntp client : the newsgroup is :
linux.kernel

stephane wirtel

On sam, 10 ao? 2002, Jean-Luc Coulon wrote:
> 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.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 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 set
> CONFIG_APM_CPU_IDLE=y
> CONFIG_APM_DISPLAY_BLANK=y
> CONFIG_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)
> -
> 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/
>

--
Stephane Wirtel <[email protected]>
Web : http://www.linux-mons.be "Linux Is Not UniX !!!"
Address :
Rue de cartier, 53
6030 Marchienne-au-Pont
Belgium
Phone : +32 474 768 072