lkml.org 
[lkml]   [2000]   [Jul]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [2.4.0pre3-6] Compilation failure with APM
> > {standard input}: Assembler messages:
> > {standard input}:253: Warning: Indirect lcall without `*'
> > {standard input}:330: Warning: Indirect lcall without `*'
> > make[2]: *** [apm.o] Error 1
> >
> > Commenting it out seemed to compile fine.
>
> Commenting it out will mean APM doesnt work, although the box will probably
> not do anything like crash, just not do APM.
>
> Remove the -Werror option instead

It is not the aaembler warning that cause the compiler to report an error.
Someone else pointed out that apm_setup is not needed if apm is compiled
as a module and should be ifdef'd out.

Indeed, ifdef'ing out the code that causes the above warnings would make the
apm driver stop doing anything ...

[The assembelr warnings come from the newer binutils, but if you fix this,
then the older binutils will fail to build apm at all. Has the required
binutils for 2.4.x been updated enough so that I can fix this?]

Cheers,
Stephen Rothwell sfr@linuxcare.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.062 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site