ibotlog2html for #crosstool-ng

<< Previous 2013-03-27 Next >>

# 00:20:21 linuxjacques quits : Ping timeout: 252 seconds
# 04:20:32 alan_o quits : Quit: Leaving
# 04:28:17 codyps quits : Read error: Connection reset by peer
# 04:30:22 codyps joins #crosstool-ng
# 05:08:53 codyps quits : Ping timeout: 240 seconds
# 05:44:15 codyps joins #crosstool-ng
# 07:03:12 plfiorini quits : Quit: Leaving
# 08:53:52 smartin joins #crosstool-ng
# 09:42:38 Net147 joins #crosstool-ng
# 10:07:18 mnt_real joins #crosstool-ng
# 10:13:10 pulponair joins #crosstool-ng
# 10:13:15 pulponair hi there
# 10:16:51 pulponair i am currently trying to crosscompile a bunch of packages for my raspberry pi. i successfully set up a toolchain and was able to build libav and a bunch of other userland software. But i ve problems as son as kernelheanders come into play like needed by e.g. http://git.linuxtv.org/media_build.git. I guess the problem is that i somehow need to tell the build process to build against the toolschain kernel src/headers instead of th
# 10:16:51 pulponair e ones installed on the host system. Could anyone please give me a hint?
# 10:20:01 sh4rm4 maybe pass -I /path/to/linux ?
# 10:21:21 sh4rm4 that should take precedence over hardcoded paths
# 10:22:01 pulponair sh4rm4: no, unfortunally not this is what i get:
# 10:22:01 pulponair Kernel build directory is /lib/modules/2.6.32-5-686/build
# 10:22:34 sh4rm4 where's the include dir of the kernel headers ?
# 10:23:00 pulponair " /opt/cross/x-tools/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi/sysroot/usr/include/"
# 10:23:03 pulponair (i guess)
# 10:23:16 sh4rm4 is there a linux dir in there ?
# 10:23:59 pulponair yes
# 10:25:25 sh4rm4 well, then everything seems to be ok
# 10:26:52 pulponair sh4rm4: the make script of media_build package somehow is appling some kernel version specific patches as well: Applying patches for kernel 2.6.32-5-686
# 10:27:07 pulponair which is obviously wrong since this is the kernel version of my host system
# 10:27:46 sh4rm4 it patches your locally installed kernel headers ?
# 10:28:46 sh4rm4 well the problem here is probably that the configure script of this thing is not designed for crosscompilation
# 10:28:55 pulponair seems so
# 10:29:22 sh4rm4 it executes uname -a oslt and then assumes this is the target kernel
# 10:30:15 sh4rm4 solution: file a bug report
# 10:30:37 pulponair actually the package is part of the kernel natively but you can build it seperatly in order to use the latest drivers. So it's paching it's own headers (which are "kernelheaders") according to the host system
# 10:31:43 sh4rm4 whoever created this package has a bug in it that prevents cross compilation. so you should report the bug
# 10:32:08 pulponair sh4rm4: yes, i'll file a bug report and build it on the target plattform itself.
# 10:35:11 pulponair btw: the kernel itself can be crosscompiled, right? (nerver done that)
# 10:36:44 sh4rm4 yes
# 10:38:05 pulponair sh4rm4: thanks, i am pretty new to crosscompiling, obviously ;)
# 11:11:42 y_morin joins #crosstool-ng
# 11:23:35 alan_o joins #crosstool-ng
# 12:16:00 Net147 quits : Quit: HydraIRC -> http://www.hydrairc.com <- The alternative IRC client
# 13:10:10 kos_tom pulponair: are you trying to build those packages manually?
# 13:10:51 pulponair what exactly do you mean by "manually"?
# 13:11:47 kos_tom well you're running the configure script, build procedure and so on by hand, right?
# 13:12:13 kos_tom if you want to cross-compile anything serious, you should really have a look at tools that automate this: OpenEmbedded, Yocto, Buildroot, PTXdist, OpenBricks, OpenWRT, etc.
# 13:14:57 pulponair kos_tom: not really this particular package ships with a build script see http://linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers
# 13:15:37 kos_tom I really doubt this stuff has been designed for cross-compilation.
# 13:17:44 pulponair kos_tom: indeed i ll give distcc a try using my local maschine as slave in order to speed things up
# 13:27:46 kos_tom pulponair: oh, ok, then you're probably not cross-compiling, but compiling directly on the RPi ?
# 13:30:29 pulponair kos_tom: i would like to crosscompile since the rpi is dead slow, but obviously some packages (like the media_build) aren't made for crosscompiling. So i decided to give distcc a try in order to speed things up a little. In an ideal world i would build everything on my (fast) local machine ;)
# 15:02:07 pulponair quits : Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org
# 15:02:56 y_morin pulponair: (just read your request in the logs) Usually, kernel modules are built using the kernel build-system (even out-of-tree modules). The kernel build-system uses CROSS=/path/to/tuple- to specify the prefix to use for the compilation tools.
# 15:03:33 y_morin Sight, (s)he quits just as I want to answer him/her. Bad timing... :-/
# 15:04:01 y_morin Sigh, not sight...
# 15:48:32 linuxjacques joins #crosstool-ng
# 15:48:53 linuxjacques quits : Changing host
# 15:48:53 linuxjacques joins #crosstool-ng
# 17:09:55 y_morin quits : Quit: leaving
# 17:10:53 y_morin joins #crosstool-ng
# 17:59:13 codyps quits : Ping timeout: 240 seconds
# 18:19:59 linuxjacques quits : Ping timeout: 245 seconds
# 18:25:01 linuxjacques joins #crosstool-ng
# 18:25:25 linuxjacques is now known as: Guest66141
# 18:30:35 codyps joins #crosstool-ng
# 18:33:37 plfiorini joins #crosstool-ng
# 18:35:24 Guest66141 quits : Ping timeout: 245 seconds
# 18:40:36 Guest66141 joins #crosstool-ng
# 18:49:53 Guest66141 quits : Ping timeout: 240 seconds
# 18:53:03 Guest66141 joins #crosstool-ng
# 18:58:53 Guest66141 quits : Ping timeout: 240 seconds
# 19:04:48 Guest66141 joins #crosstool-ng
# 19:17:45 Guest66141 quits : Changing host
# 19:17:45 Guest66141 joins #crosstool-ng
# 19:17:51 Guest66141 is now known as: linuxjacques
# 19:53:05 y_morin quits : Ping timeout: 256 seconds
# 19:56:11 y_morin joins #crosstool-ng
# 22:04:18 smartin quits : Quit: heading home...
# 22:37:34 y_morin quits : Quit: Night Night!
# 23:36:24 imMute quits : Ping timeout: 256 seconds
# 23:41:48 imMute joins #crosstool-ng
# 23:56:19 plfiorini quits : Quit: Leaving

Generated by ibotlog2html by Yann E. MORIN