I was trying to compile a new kernel that included the ethersis[1] driver,
but I come across the following error when running `mk 'CONF=pcf'`

        8c -FTVw ethersis.c
        ethersis.c:118 external redeclaration of: Sse
                GLOBL ENUM ethersis.c:118
                GLOBL ENUM <eof>
        mk: 8c -FTVw ethersis.c  : exit status=rc 3504: 8c 3506: error

I did some grepping in /sys/src/9/pc and found out that dat.h declares
Sse first.  Anyone know a workaround? My config for the kernel is the
normal pcf config, with the following change:

        % 9 diff -c pcf pcfn 
        pcf:65,70 - pcfn:65,72
                ethersink
                ethersmc        devi82365 cis
                etherwavelan    wavelan devi82365 cis pci
        + # sis 900
        +       ethersis        pci
                ethermedium
                pcmciamodem
                netdevmedium

[1]http://mirtchovski.com/lanlp9/sis900/ethersis.c

Attachment: pgpAM1p4wUl06.pgp
Description: PGP signature

Reply via email to