[U-Boot-Users] Compilation error for lubbock

Hello,
After checking out the latest u-boot source via CVS this week, I try to compile it for "lubbock" with pre-built arm-linux-gnu toolchain (arm-linux-gcc 3.4.0).
Undefined symbol in lib_arm/board.c (Revision: 1.29, Sun Jul 11 18:10:31 2004 UTC (3 days, 22 hours ago) by wdenk ) board.c: In function `start_armboot': board.c:257: error: `PAGE_SIZE' undeclared (first use in this function) board.c:257: error: (Each undeclared identifier is reported only once board.c:257: error: for each function it appears in.) make[1]: *** [board.o] Error 1 make: *** [lib_arm/libarm.a] Error 2
I also notice "PAGE_SIZE" was introduced after u-boot (1.1.1)
Assuming this error is not due to user error, has the latest CVS source been compiled for all supported boards? Or it is "user be aware"?
Thanks for the help.
Xiangyu Zou
mailto:Xiangyu.Zou@Motorola.com

Zou Xiangyu-W15716 wrote:
Assuming this error is not due to user error, has the latest CVS source been compiled for all supported boards? Or it is "user be aware"?
That was part of my patch submited on 01-07-2004, it is for LCD support for arm platform. If you look the original patch - post "patch board.c in arm" - you can see that after #ifdef CONFIG_LCD there are lines +# ifndef PAGE_SIZE +# define PAGE_SIZE 4096 +# endif
which would probably solve your problem, but they are not present in CVS. Looks like Wolfgang didn't apply those.
regards, himba

In message 40F81A12.9060502@siol.net you wrote:
support for arm platform. If you look the original patch - post "patch board.c in arm" - you can see that after #ifdef CONFIG_LCD there are lines +# ifndef PAGE_SIZE +# define PAGE_SIZE 4096 +# endif
which would probably solve your problem, but they are not present in CVS. Looks like Wolfgang didn't apply those.
Yes, I am to blame for that mess, as I intend to find out why we need PAGE_SIZE or why it's not defined. I just didn't find the time to do that yet.
Best regards,
Wolfgang Denk
participants (3)
-
himba
-
Wolfgang Denk
-
Zou Xiangyu-W15716