=== cbrake is now known as cbrake_away | ||
zhangxing | who can help me about the binutils 2.15 compiling problem | 03:32 |
---|---|---|
zhangxing | make[2]: *** [/home/zhangxing/armlinux/build-tools/build-glibc/csu/sysdep.o] 错误 1 | 09:07 |
zhangxing | make[2]:正在离开目录 `/home/zhangxing/armlinux/build-tools/glibc-2.3.2/csu' | 09:07 |
zhangxing | make[1]: *** [csu/subdir_lib] 错误 2 | 09:07 |
zhangxing | make[1]:正在离开目录 `/home/zhangxing/armlinux/build-tools/glibc-2.3.2' | 09:07 |
zhangxing | make: *** [all] 错误 2 what's the problem ??? | 09:07 |
amitk | zhangxing: all the error messages are in Chinese, so it is a bit hard to say... | 09:10 |
zhangxing | yeah, | 09:10 |
ogra | prefix your testbuild with LANG=C | 09:10 |
zhangxing | I want to build the arm-linux | 09:11 |
zhangxing | and when I configure the glibc-2.3.2 and the glibc-linuxthreads-2.3.2 there's no problem but when I make it, the error happens | 09:12 |
zhangxing | who can tell me what the problem is ?? | 09:15 |
amitk | zhangxing: as ogra said, add LANG=C before your make command and then post the results in English | 09:19 |
zhangxing | ok I'll have a try | 09:19 |
zhangxing | make[2]: *** [/home/zhangxing/armlinux/build-tools/build-glibc/csu/sysdep.o] Error 1 | 09:20 |
zhangxing | make[2]: Leaving directory `/home/zhangxing/armlinux/build-tools/glibc-2.3.2/csu' | 09:20 |
zhangxing | make[1]: *** [csu/subdir_lib] Error 2 | 09:20 |
zhangxing | make[1]: Leaving directory `/home/zhangxing/armlinux/build-tools/glibc-2.3.2' | 09:20 |
zhangxing | make: *** [all] Error 2 | 09:20 |
zhangxing | now it's the English version | 09:21 |
ogra | that doesnt have the actual error message | 09:21 |
lool | zhangxing: That's not the first error | 09:21 |
ogra | the error must be above somewhere | 09:21 |
zhangxing | asm-generic/errno.h: No such file or directory | 09:23 |
zhangxing | is this error ?? | 09:24 |
ogra | you are missing the linux headers | 09:24 |
ogra | linux-libc-dev or the linux-headers package for your kernel have it | 09:24 |
zhangxing | yeah I had copyed the linux header files "linux" and "asm-arm "of include files to my arm-linux | 09:26 |
amitk | it is better if you install the header package. Your copies files are probably in the wrong location. | 09:29 |
amitk | *copied | 09:29 |
zhangxing | yeah it's the first time I build the env of ARMLINUX as the book told.. | 09:32 |
ogra | phew, ok, i have the latest cvs of ecosconfig working | 09:46 |
ogra | that should help with the redboot building | 09:47 |
ogra | and it will actually be pristine upstream, not "some tarball we recieved" | 09:48 |
ogra | hmm, i dont get why ecos and redboot are separate in michaels packaging | 09:50 |
ogra | they should happily build alongside | 09:50 |
ogra | in the same tree just adding the FSL patches | 09:50 |
zhangxing | :::/tmp/cc0maz0E.s:71: Error: junk at end of line, first unrecognized character is `,' | 09:59 |
zhangxing | how to find the error source and the tmp file ?? | 09:59 |
zhangxing | :/home/zhangxing/armlinux/build-tools/build-glibc/libc_pic.a(madvise.os)(.text+0x0):/home/zhangxing::/armlinux/build-tools/glibc-2.3.6/misc/<stdin>:2: multiple definition of `posix_madvise' | 12:07 |
zhangxing | /home/zhangxing/armlinux/build-tools/build-glibc/libc_pic.a(posix_madvise.os)(.text+0x0):../sysdeps/generic/posix_madvise.c:30: first defined here | 12:07 |
zhangxing | /home/zhangxing/armlinux/tools/lib/gcc-lib/arm-linux/3.3.6/../../../../arm-linux/bin/ld: Warning: size of symbol `posix_madvise' changed from 8 in /home/zhangxing/armlinux/build-tools/build-glibc/libc_pic.a(posix_madvise.os) to 16 in /home/zhangxing/armlinux/build-tools/build-glibc/libc_pic.a(posix_madvise.os) | 12:07 |
zhangxing | collect2: ld returned 1 exit status | 12:07 |
zhangxing | Who can help me about the glibc compiling | 12:08 |
lool | ogra: redboot-install: I thought you would import this in bzr somewhere first? | 13:44 |
ogra | lool, i will | 13:45 |
lool | ogra: I would have preferred to review the script first | 13:45 |
ogra | does it matter when ? | 13:45 |
ogra | its the script from antimony with gpl header and usage function added | 13:45 |
lool | You added some getopt parsing as well | 13:46 |
ogra | right, can all still be changed | 13:46 |
ogra | nothing is set in stone :) | 13:46 |
lool | Yeah, everything in the world can be changed | 13:46 |
* ogra sighs | 13:46 | |
ogra | root@babbage2:/root/ecos/ecos-20090731cvs# grep ^diff ../../redboot/redboot_200918/src/patch-redboot-200918-base|wc -l | 13:46 |
ogra | 10781 | 13:46 |
ogra | root@babbage2:/root/ecos/ecos-20090731cvs# grep ^diff ../../redboot/redboot_200918/src/patch-redboot-200918-base|grep -v CVS|grep -v .cvsignore|grep -v .git|wc -l | 13:47 |
ogra | 136 | 13:47 |
ogra | thats pure insanity | 13:47 |
=== cbrake_away is now known as cbrake | ||
ogra | lool, did we add ttymxc0 to securetty.linux already ? | 15:34 |
* ogra cant remember, but would definately be good to add it if we didnt | 15:34 | |
NCommander | ogra, we did | 15:48 |
NCommander | ogra, unless it got dropped | 15:48 |
ogra | good | 15:48 |
lool | ogra: Yes | 15:48 |
ogra | i remember we discussed it, but didnt if we actually made the change | 15:48 |
lool | It's in upstream shadow already | 15:49 |
ogra | cool | 15:49 |
lool | and ttyS2-5 as well | 15:49 |
lool | ogra: Do you remember what you enabled to get USB support on the mini USB on the beagle? | 16:07 |
lool | I have a mini A / standard A adapter | 16:07 |
ogra | enabled ? nothing | 16:07 |
ogra | i'm using binary kernels on mine | 16:07 |
ogra | http://www.rcn-ee.com/deb/kernel/beagle/karmic/ the configs should be in the subdirs | 16:08 |
ogra | lool, i only use my USB port as host | 17:36 |
lool | ogra: But you do use the mini USB one, right? | 17:46 |
ogra | right, i have a revB ... no other port available | 17:46 |
lool | ogra: I'm also looking at using this port as a host, but somehow this isn't working | 17:46 |
lool | The EHCI port works though | 17:46 |
lool | ogra: So I have a mini A adapter, what else is needed to get it working? Special /sys command? | 17:47 |
ogra | weird, did you try one of the binary kernel packages from above ? | 17:47 |
lool | I built a kernel with the patch + config from above | 17:47 |
ogra | not that i know of, i just used one of the binary packages and it worked out of the box for rootfs on usb | 17:47 |
lool | I see this in dmesg: | 17:47 |
lool | .416198] musb_hdrc: USB OTG mode controller at d80ab000 using DMA, IRQ 92 | 17:47 |
ogra | that looks right to me | 17:47 |
ogra | it should at least be in a proper OTG mode now | 17:48 |
lool | ogra: How do you power the board? | 17:48 |
ogra | with a separate power plug | 17:48 |
lool | An USB one? | 17:48 |
ogra | and i have a powered USB hb attached | 17:48 |
ogra | no, a real 5v powerplug | 17:48 |
lool | Ok; that might be the issue | 17:49 |
lool | I have a bunch of 5v adapter, but they don't fit :-/ | 17:50 |
lool | And my universal one only does 4.5 and 6V tss | 17:51 |
ogra | meh | 17:51 |
ogra | i bought one for the slug that luckily does 5V and is switchable to all kinds of power | 17:52 |
lool | Bah unfortunately, the OE patches are required to get EHCI working | 18:40 |
lool | And I suspect their U-Boot patches are what I miss for mini USB | 18:40 |
ogra | yeah, the oe patches also add a lot to the framebuffer you need afaik | 18:44 |
lool | It seems there's a lot of work going on in display implementation; I don't really need any display right now | 18:44 |
lool | I mostly care about USB | 18:44 |
ogra | hrm, weird, all mx51 patches are upstream but the configtool doesnt know about babbage | 18:46 |
* ogra is irritated | 18:46 | |
lool | Ok at least I identified the minimal patch which fixes USB EHCI support for me | 18:59 |
lool | No luck with the OE musb OTG patch; I guess I need an OE uboot patch | 19:10 |
ogra | meh | 19:12 |
ogra | its to bad that they kepp it all separated | 19:12 |
* ogra just noticed he made a total mess editing in the wrong dir :/ | 19:13 | |
ogra | hmm, i wonder how evil it is to build redboot with -fno-stack-protector ... | 21:12 |
ogra | weird, i wonder why the frescale default for bulding redboot is -mcpu=arm9 | 21:19 |
=== cbrake is now known as cbrake_away |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!