Re: omap compilation fixes



On Sat 2006-12-23 11:48:29, Tony Lindgren wrote:
Hi,

* Pavel Machek <pavel@xxxxxx> [061222 13:49]:
Hi!

This is not yet complete set. set_map() is missing in latest kernels.

Fix DECLARE_WORK()-change-related compilation problems. Please apply,

--- a/drivers/mmc/omap.c
+++ b/drivers/mmc/omap.c
@@ -2,7 +2,7 @@
* linux/drivers/media/mmc/omap.c
*
* Copyright (C) 2004 Nokia Corporation
- * Written by Tuukka Tikkanen and Juha Yrjölä<juha.yrjola@xxxxxxxxx>
+ * Written by Tuukka Tikkanen and Juha Yrjölä <juha.yrjola@xxxxxxxxx>
* Misc hacks here and there by Tony Lindgren <tony@xxxxxxxxxxx>
* Other hacks (DMA, SD, etc) by David Brownell
*

I already applied similar fixes to linux-omap for the workqueue changes,
so I only applied the MMC typo fix above.

I thought I got pretty recent -git:

omap git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git

...should I use another tree?

Aha, I did another pull now and it seems to be better... no, it is
not:

Recovering from a previously interrupted fetch...
Fetching pack (head and objects)...
Fetching tags...
Missing tag v2.6.20-rc1...
Generating pack...
Done counting 1 objects.
Deltifying 1 objects.
100% (1/1) done
Total 1, written 1 (delta 0), reused 1 (delta 0)
Unpacking 1 objects
100% (1/1) done
Up to date.

Applying changes...
Branch already fully merged.

Plus it still does not compile:

LD vmlinux
arch/arm/plat-omap/built-in.o(.text+0xd470): In function
`exmap_set_armmmu':
: undefined reference to `set_pte'
arch/arm/plat-omap/built-in.o(.text+0xd56c): In function
`exmap_set_armmmu':
: undefined reference to `set_pte'
make: *** [vmlinux] Error 1

Is this still a problem? Sounds like the latest tree was not yet
mirrored from master.kernel.org when you pulled.

Yep, it seems fixed.
Pavel

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: omap compilation fixes
    ... Fix DECLARE_WORK-change-related compilation problems. ... * Misc hacks here and there by Tony Lindgren ... : undefined reference to `set_pte' ...
    (Linux-Kernel)
  • Re: omap compilation fixes
    ... Fix DECLARE_WORK-change-related compilation problems. ... * Misc hacks here and there by Tony Lindgren ... : undefined reference to `set_pte' ...
    (Linux-Kernel)
  • Re: omap compilation fixes
    ... Fix DECLARE_WORK-change-related compilation problems. ... Copyright 2004 Nokia Corporation ... * Misc hacks here and there by Tony Lindgren ...
    (Linux-Kernel)