PROBLEM: conflicting types for `xquad_portio' with CONFIG_MULTIQUAD

=?BIG5?B?qMy6v7/f?= (imacat@mail.imacat.idv.tw)
Thu, 08 Aug 2002 00:42:17 +0800


--===[PGP/MIME_RFC2015]===3D514DDE.7F3A===
Content-Type: text/plain; charset="BIG5"
Content-Transfer-Encoding: 8bit

[1.] conflicting types for `xquad_portio' with CONFIG_MULTIQUAD
[2.] I tried to compile with CONFIG_MULTIQUAD, but it kept saying:

imacat@cotton /tmp/linux-2.4.19 % make install
bsetup.s: Assembler messages:
bsetup.s:1431: Warning: indirect lcall without `*'
misc.c:128: conflicting types for `xquad_portio'
/tmp/linux-2.4.19/include/asm/io.h:324: previous declaration of `xquad_portio'
make[2]: *** [misc.o] Error 1
make[1]: *** [compressed/bvmlinux] Error 2
make: *** [install] Error 2
imacat@cotton /tmp/linux-2.4.19 %

I have examined the misc.c and io.h. There are indeed 2 conflict
settings on xquad_portio at the specified lines when compiled with
CONFIG_MULTIQUAD, and misc.c includes io.h. It should not be working at
all. I wonder how other people could compile with CONFIG_MULTIQUAD.

I was compiling by the clean default options in "make menuconfig",
with only the CONFIG_MULTIQUAD turned on.

[3.] CONFIG_MULTIQUAD, xquad_portio, misc.c, io.h
[4.] 2.4.19
[5.]

imacat@cotton /tmp/linux-2.4.19 % make install
bsetup.s: Assembler messages:
bsetup.s:1431: Warning: indirect lcall without `*'
misc.c:128: conflicting types for `xquad_portio'
/tmp/linux-2.4.19/include/asm/io.h:324: previous declaration of `xquad_portio'
make[2]: *** [misc.o] Error 1
make[1]: *** [compressed/bvmlinux] Error 2
make: *** [install] Error 2
imacat@cotton /tmp/linux-2.4.19 %

[6.] N/A
[7.] Environment
[7.1.] Red Hat 7.3, gcc 3.1, glibc 2.2.5
[7.2.] AMD 1800+
[7.3.] none
[X.] none

--
Best regards,
imacat ^_*'
imacat@mail.imacat.idv.tw
PGP Key: http://www.imacat.idv.tw/me/pgpkey.txt

<<Woman's Voice>> News: http://www.wov.idv.tw/ Tavern IMACAT's: http://www.imacat.idv.tw/ TLUG List Manager: http://www.linux.org.tw/mailman/listinfo/tlug

--===[PGP/MIME_RFC2015]===3D514DDE.7F3A=== Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6-2 (MingW32) Comment: For info see http://www.gnupg.org

iD8DBQA9UU3di9gubzC5S1wRAg68AKCsHbMXotPilGEtajQfcTr8BTzemwCeJOXk tq+P4rY8jukeR/0CFgjCvVc= =79lv -----END PGP SIGNATURE-----

--===[PGP/MIME_RFC2015]===3D514DDE.7F3A===--

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