I am trying to compile kernel 2.2.16 sources with the latest released gcc
2.96-52 but am
stumbling on punctuation errors in checksum.S   The relevant stanzas of
checksum.S are:

---------------------
....cut

 *
 * FIXME: could someone double-check whether I haven't mixed up some SRC and
 *        DST definitions? It's damn hard to trigger all cases.  I hope I got
 *        them all but there's no guarantee.
 */

#define SRC(y...)                       \
        9999: y;                        \
        .section __ex_table, "a";       \
        .long 9999b, 6001f      ;       \               /* line 230 */
        .previous

#define DST(y...)                       \
        9999: y;                        \
        .section __ex_table, "a";       \
        .long 9999b, 6002f      ;       \               /* line 236 */
        .previous

align 4
globl csum_partial_copy_generic

....cut

-----------------------

while the relevant compiler error message is:

make[2]: Nothing to be done for `all_targets'.
make[2]: Leaving directory `/usr/src/linux-2.2.16/arch/i386/mm'
make[1]: Leaving directory `/usr/src/linux-2.2.16/arch/i386/mm'
make -C  arch/i386/lib
make[1]: Entering directory `/usr/src/linux-2.2.16/arch/i386/lib'
make all_targets
make[2]: Entering directory `/usr/src/linux-2.2.16/arch/i386/lib'
gcc -D__KERNEL__ -I/usr/src/linux/include -D__ASSEMBLY__  
-traditional -c checksum.S -o checksum.o
checksum.S:230: badly punctuated parameter list in #define
checksum.S:236: badly punctuated parameter list in #define
make[2]: *** [checksum.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.2.16/arch/i386/lib'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.2.16/arch/i386/lib'
make: *** [_dir_arch/i386/lib] Error 2

------------------

I also upgraded to cpp-2.96-52. If anyone has a suggestion for fixing
the punctuation, please pass it along. This note was originally posted 
to comp.os.linux.development system two days ago without a 
response....so I am hoping to tap into all the wisdom here.

-- 
Jack Bowling
Prince George, BC



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to