* [uml-devel] Compiling 2.4.22-4um
@ 2003-09-17 20:57 Frank Laub
2003-09-20 16:08 ` [uml-devel] FAQ: problems with 2.4.22-4um and answers BlaisorBlade
0 siblings, 1 reply; 2+ messages in thread
From: Frank Laub @ 2003-09-17 20:57 UTC (permalink / raw)
To: User-mode-linux-devel
I get the following error when trying to compile.
make[2]: Entering directory `/usr/src/uml-2.4.22-4um/arch/um/kernel'
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/usr/src/uml-2.4.22-4um/arch/um/include -I/usr/src/
uml-2.4.22-4um/arch/um/kernel/tt/include -I/usr/src/uml-2.4.22-4um/arch/um/k
ernel/skas/include -D_GNU_SOURCE -c -o umid.o umid.c
In file included from umid.c:18:
/usr/src/uml-2.4.22-4um/arch/um/include/os.h:41: warning: no semicolon at
end of struct or union
/usr/src/uml-2.4.22-4um/arch/um/include/os.h:41: parse error before `.'
/usr/src/uml-2.4.22-4um/arch/um/include/os.h:42: parse error before `.'
/usr/src/uml-2.4.22-4um/arch/um/include/os.h:43: parse error before `.'
make[2]: *** [umid.o] Error 1
make[2]: Leaving directory `/usr/src/uml-2.4.22-4um/arch/um/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/uml-2.4.22-4um/arch/um/kernel'
make: *** [_dir_arch/um/kernel] Error 2
Looking at os.h doesn't appear to look like any problem. I can send my
.config if need be.
Anyone have any hints?
TIA,
-Frank
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* [uml-devel] FAQ: problems with 2.4.22-4um and answers
2003-09-17 20:57 [uml-devel] Compiling 2.4.22-4um Frank Laub
@ 2003-09-20 16:08 ` BlaisorBlade
0 siblings, 0 replies; 2+ messages in thread
From: BlaisorBlade @ 2003-09-20 16:08 UTC (permalink / raw)
To: user-mode-linux-devel; +Cc: Frank Laub
There are two known frequent problems, already known, causing 2.4.22-4um(and
possibly patches based on it) to fail compilation:
- First, when you configure the uml, you must activate this option:
"Anonymous memory device"
or UML won't compile. So, activate it. By default it's off. Clear?
- if you instead see such messages:
/usr/src/uml-2.4.22-4um/arch/um/include/os.h:41: warning: no semicolon at
end of struct or union
it's for a known bug showing up on some systems(depends on changes in system
headers from glibc, showing up for instance on my Mdk9.1) which is already
being fixed. For now wait next patch or use 2.4.22-3um.
The problem that you, Frank Laub, had(I'm also answering to you) it's the
second one. By the way, what are your distro and glibc versions?
I'm posting this message because there are already enough people asking for
this problems.
--
cat <<EOSIGN
Paolo Giarrusso, aka Blaisorblade
Linux Kernel 2.4.21/2.6.0-test on an i686; Linux registered user n. 292729
EOSIGN
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-09-20 16:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-17 20:57 [uml-devel] Compiling 2.4.22-4um Frank Laub
2003-09-20 16:08 ` [uml-devel] FAQ: problems with 2.4.22-4um and answers BlaisorBlade
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox