Skip to contentSkip to conversation

arch/um/sys-i386/bugs.c compile error

uml-devel Laurence J. Lane 3 participants 3 messages Nov 15, 2003 – Nov 16, 2003 User-mode Linux (UML)

lore
Share & tools
lore
#0 lore raw

I get the same arch/um/sys-i386/bugs.c compile error on 2.6.0-test9-1-um and 2.4.22-6-um. Anyone have an idea of what causes the error?

[2.4.22-6-um with a stock config ]

make[2]: Entering directory `/u0/work/linux-2.4.22/arch/um/sys-i386'
gcc -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -U__i386__ -Ui386 -DUM_FASTCALL -g -D__arch_um__ -DSUBARCH=\"i386\" -D_LARGEFILE64_SOURCE -I/u0/work/linux-2.4.22/arch/um/include -I/u0/work/linux-2.4.22/arch/um/kernel/tt/include -I/u0/work/linux-2.4.22/arch/um/kernel/skas/include -D_GNU_SOURCE -c -o bugs.o bugs.c
bugs.c: In function `disable_lcall':
bugs.c:111: error: storage size of ldt' isn't known bugs.c:118: warning: implicit declaration of function modify_ldt' bugs.c:111: warning: unused variable `ldt'
make[2]: *** [bugs.o] Error 1

[2.6.0-test9-1.um stock config, with xfs and module loading disabled]

gcc -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -U__i386__ -Ui386 -D__arch_um__ -DSUBARCH=\"i386\" -D_LARGEFILE64_SOURCE -Iarch/um/include -I/u0/work/linux-2.6.0-test9/arch/um/kernel/tt/include -I/u0/work/linux-2.6.0-test9/arch/um/kernel/skas/include -D_GNU_SOURCE -c -o arch/um/sys-i386/bugs.o arch/um/sys-i386/bugs.c
arch/um/sys-i386/bugs.c: In function `disable_lcall':
arch/um/sys-i386/bugs.c:110: error: storage size of ldt' isn't known arch/um/sys-i386/bugs.c:117: warning: implicit declaration of function modify_ldt' arch/um/sys-i386/bugs.c:110: warning: unused variable `ldt'
make[1]: *** [arch/um/sys-i386/bugs.o] Error 1

#1 lore raw
Quoted 2 lines · Laurence J. Lane

I get the same arch/um/sys-i386/bugs.c compile error on 2.6.0-test9-1-um and 2.4.22-6-um. Anyone have an idea of what causes the error?

debian unstable with linux-kernel-headers (2.6.0)?

i get this message since they do that change.

bastian

Signature · 15 lines
	"Get back to your stations!"
	"We're beaming down to the planet, sir."
		-- Kirk and Mr. Leslie, "This Side of Paradise",
		   stardate 3417.3


-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
#2 lore raw
Quoted 7 lines · Bastian Blank
Quoted 3 lines

I get the same arch/um/sys-i386/bugs.c compile error on 2.6.0-test9-1-um and 2.4.22-6-um. Anyone have an idea of what causes the error?

debian unstable with linux-kernel-headers (2.6.0)?

i get this message since they do that change.

Right. I'll investigate there. Thanks.

-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel