#40 rc4/2.4.24 doesn't compile

closed-accepted
compiling (12)
6
2004-01-20
2004-01-20
Jouni Rinne
No

Hi!

I'm using Slackware 9.1 with gcc 3.2.3. Compilation of
Swsusp rc3 with kernel 2.4.23 went fine, and it also
worked fine :), but when I upgraded my kernel to 2.4.24
and applied the patches (rc4 core, 2.4.24 version
dependent) , the kernel compilation exited with the
following errors:

gcc -D__KERNEL__ -I/usr/src/linux-2.4.24/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2
-fno-strict-aliasing -fno-common -fomit-frame-pointer
-pipe -mpreferred-stack-boundary=2 -march=i586
-nostdinc -iwithprefix include -DKBUILD_BASENAME=proc
-c -o proc.o proc.c
proc.c: In function `swsusp_read_compat_proc':
proc.c:139: `swsusp_debug_state' undeclared (first use
in this function)
proc.c:139: (Each undeclared identifier is reported
only once
proc.c:139: for each function it appears in.)
/usr/src/linux-2.4.24/include/asm/mmu_context.h: At top
level:
proc.c:165: warning: `resume2_read_proc' defined but
not used
proc.c:174: warning: `resume2_write_proc' defined but
not used
make[3]: *** [proc.o] Error 1
make[3]: Leaving directory
`/usr/src/linux-2.4.24/kernel/power'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory
`/usr/src/linux-2.4.24/kernel/power'
make[1]: *** [_subdir_power] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.24/kernel'
make: *** [_dir_kernel] Error 2

What went wrong?

Yours

Jouni Rinne

Discussion

  • Logged In: YES
    user_id=672737

    My mistake; I did cleanups and failed to check correct compilation when
    debugging is disabled. If you turn on debugging support, it will work fine.
    A fix will be out soon.

    Nigel

     
    • labels: --> compiling
    • priority: 5 --> 6
    • assigned_to: nobody --> ncunningham
    • status: open --> closed-accepted