Skip to contentSkip to conversation

Still can't get an 2.6.6-rcX UML

uml-devel gboutwel 2 participants 2 messages Apr 30, 2004 User-mode Linux (UML)

lore
Share & tools
lore

gboutwel

author
#0 lore raw
Quoted 3 lines · Blaisorblade

Well, something has been *really* been messed up. If I understand

things properly, you are able to compile fine a 2.6.5 UML,

right?

You're telling me.. Yes I can compile an 2.6.5 host, an 2.6.5 UML, and an 2.6.6-rc1/2/3 HOST, but not an 2.6.6-rc1/2/3 guest.

Quoted 5 lines

The problem is that:

a) I think that file should include the "kernelspace" headers...

however the kludges needed to do it are very fragile when Kbuild

changes a

Quoted 1 line

bit (this problem has repeatedly showed up against Linux 2.6).

Ok. If it where including kernelspace headers I don't think this would be a problem.

Quoted 5 lines

However, things should succeed anyway, BUT

b) your distro headers are messed up...; the first thing I

see

Quoted 1 line

is that it uses the 2.6 headers. Now, the missing header should

be located in

Quoted 1 line

/usr/include/asm/mach-default/. Probably it is there; however

the

Quoted 1 line

kernel uses normally a -Iasm/mach-default, so that #include

works.

Quoted 1 line

Since one cannot require user programs to add -I to compile,

Debian

Quoted 1 line

should symlink everything from /usr/include/asm/mach-default/

into

Quoted 1 line

/usr/include;

As I understand it SID installs as it's 'de facto' headers not
2.6, but 2.5.999-test7. See: http://packages.debian.org/unstable/devel/linux-kernel-headers

And it would seem that this area (in kernel headers) has recently changed (when compared to 2.5) or up to this point UML builds have been going against kernel provided headers instead of the 2.5 headers debian's shipping.

Quoted 5 lines

i.e.:

ln -s /usr/include/asm/mach-default/* /usr/include.

I'll try it, but I had really hoped not to mess with those headers as it's my understanding that important pieces of code (ie glibc, etc) are compiled against those headers.

I'll write back to the list whatever I find out.

Thanks,

George

----------------------------

Love to laugh?

Good Clean Jokes at Praize

http://www.praize.com/jokes/

-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

#1 lore raw

Alle 20:31, venerdì 30 aprile 2004, gboutwel ha scritto:

Quoted 6 lines
Quoted 4 lines · Blaisorblade

The problem is that:

a) I think that file should include the "kernelspace" headers...

Quoted 8 lines
Quoted 1 line

however the kludges needed to do it are very fragile when Kbuild

changes a

Quoted 1 line

bit (this problem has repeatedly showed up against Linux 2.6).

Ok. If it where including kernelspace headers I don't think this would be a problem.

Yes, what I mean is that the proper fix is probably to make it use the kernel headers as it did before. Would you post the output of the failing make command with the V=1 option added, to see the actual build command?

Quoted 8 lines

As I understand it SID installs as it's 'de facto' headers not 2.6, but 2.5.999-test7. See:
http://packages.debian.org/unstable/devel/linux-kernel-headers

And it would seem that this area (in kernel headers) has recently changed (when compared to 2.5) or up to this point UML builds have been going against kernel provided headers instead of the 2.5 headers debian's shipping.

I think the 2nd thing holds, and that my suggestions is a workaround that should work (I hope)...

Bye

Signature · 14 lines
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE. 
http://ads.osdn.com/?ad_id149&alloc_id66&opÌk
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel