linux-um archives
 help / color / mirror / Atom feed
* [uml-devel] arch/um/sys-i386/bugs.c compile error
@ 2003-11-15 21:19 Laurence J. Lane
  2003-11-15 22:33 ` Bastian Blank
  0 siblings, 1 reply; 3+ messages in thread
From: Laurence J. Lane @ 2003-11-15 21:19 UTC (permalink / raw)
  To: user-mode-linux-devel

[-- Attachment #1: Type: text/plain, Size: 136 bytes --]

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?

[-- Attachment #2: bugs --]
[-- Type: text/plain, Size: 1432 bytes --]

[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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-11-16 19:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-15 21:19 [uml-devel] arch/um/sys-i386/bugs.c compile error Laurence J. Lane
2003-11-15 22:33 ` Bastian Blank
2003-11-16 19:01   ` Laurence J. Lane

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox