![]() |
HowTo.SlugOSNativeCompileEnvironment HistoryHide minor edits - Show changes to markup January 03, 2008, at 11:17 AM
by -- package request monotone-5 and native compiler
Changed line 13 from:
to:
January 02, 2008, at 05:25 PM
by -- missing package
Changed line 9 from:
to:
December 30, 2007, at 02:03 PM
by --
Added lines 73-74:
With this fix for me is possible to compile. December 30, 2007, at 02:02 PM
by --
Changed line 72 from:
# ln -s armeb-linux-ar ar to:
# ln -s arm-linux-ar ar October 09, 2007, at 09:49 PM
by --
Changed line 68 from:
Fix with ar !!to:
Fix with arOctober 09, 2007, at 09:49 PM
by --
Added lines 67-72:
Fix with ar !!The following steps were also required to replace the busybox ar utility with a one enabling building your own libraries: # cd /usr/bin # rm ar # ln -s armeb-linux-ar ar May 26, 2007, at 02:51 PM
by -- New makefile breaks monotone
Added lines 62-63:
This is due to the master makefile now requiring montone 0.28 for which there is no package and so far I have been unable to compile it natively. I found a forum (sorry, can't remember where) which acknowledges this and stated that fixing it "wasn't a high priority". So basically, don't bother with native compliation as it's fatally bust and those cross compilers that broke it couldn't be bothered to update this page. If only I'd discovered that BEFORE I totally rebuilt my slug... March 11, 2007, at 10:51 AM
by -- Fix for ldconfig: not found
Added lines 61-64:
Fix for ldconfig: not foundIf you log in as a regular user, then su to root, the PATH does not include /sbin, which is why ldconfig could not be found. Log in as root, and PATH will include /sbin, and ldconfig will be found. February 19, 2007, at 10:25 PM
by -- monotone fails
Changed lines 52-60 from:
- touch bitbake.conf to:
- touch bitbake.conf And more notesRunning wget http://www.nslu2-linux.org/Makefile && make setup fails cant find monotone so i linked monotone to mtn And I end up with this error monotone: error: failure extracting schema from sqlite_master July 29, 2006, at 05:57 PM
by --
Added line 1:
further info is here July 29, 2006, at 05:53 PM
by --
Added lines 1-3:
http://www.nslu2-linux.org/wiki/SlugOS/NativeBuildForopenslug July 15, 2006, at 01:47 PM
by --
Changed lines 44-45 from:
- touch bitbake.conf to:
Added line 48:
- touch bitbake.conf July 15, 2006, at 01:42 PM
by --
Added lines 38-48:
More notes:My modifiations: ASSUME_PROVIDED = July 10, 2006, at 10:14 AM
by --
Changed lines 22-24 from:
to:
Alternately you can get rid of the error by compiling with the -mthumb-interwork flag. E.g.: July 10, 2006, at 10:12 AM
by --
Added line 10:
Added line 13:
Changed lines 15-16 from:
to:
Changed lines 18-19 from:
Note: remainder need to be checked. Also I had to make topdir.conf the next problem is configuring libthread-db1 to:
During the bb process you may get notifications like: Other notescompiling programs with gcc. configuring libthread-db1:\\ Changed lines 35-59 from:
test with gcc -o hello hello.c works with a warning testing with bb -b openembedded/packages/nano/nano_1.3.9.bb nano fails gcc does not seem to be looking for libs in /lib bb -b openembedded/packages/nano/nano_1.3.9.bb NOTE: package nano-1.3.9: started NOTE: package nano-1.3.9-r0: task do_fetch: started NOTE: package nano-1.3.9-r0: task do_fetch: completed NOTE: package nano-1.3.9-r0: task do_package: started NOTE: Couldn't find shared library provider for libncurses.so.5 NOTE: Couldn't find shared library provider for libc.so.6 NOTE: Couldn't find shared library provider for libncurses.so.5 NOTE: Couldn't find shared library provider for libc.so.6 sh: ipkg-build: not found NOTE: Task failed: ipkg-build execution failed NOTE: package nano-1.3.9-r0: task do_package: failed ERROR: TaskFailed? event exception, aborting ipkg --force-overwrite install ipkg-utils the ipk seems to work but some of the libs are missing....? to:
July 08, 2006, at 11:48 AM
by --
Changed line 16 from:
to:
Note: remainder need to be checked. Also I had to make topdir.conf July 08, 2006, at 11:34 AM
by -- draft, intermediate save to be sure not to loose my work
Added lines 1-47:
Compiling natively is quite possible provided you have plenty of time, swap and diskspace. Below are some instructions to get you going. These should work on SlugOS 3.10 (and probably higher)
the next problem is configuring libthread-db1 //usr/lib/ipkg/info/libthread-db1.postinst: 4: ldconfig: not found libthread-db1.postinst returned 127 so run /sbin/ldconfig by hand test with gcc -o hello hello.c works with a warning testing with bb -b openembedded/packages/nano/nano_1.3.9.bb nano fails gcc does not seem to be looking for libs in /lib bb -b openembedded/packages/nano/nano_1.3.9.bb NOTE: package nano-1.3.9: started NOTE: package nano-1.3.9-r0: task do_fetch: started NOTE: package nano-1.3.9-r0: task do_fetch: completed NOTE: package nano-1.3.9-r0: task do_package: started NOTE: Couldn't find shared library provider for libncurses.so.5 NOTE: Couldn't find shared library provider for libc.so.6 NOTE: Couldn't find shared library provider for libncurses.so.5 NOTE: Couldn't find shared library provider for libc.so.6 sh: ipkg-build: not found NOTE: Task failed: ipkg-build execution failed NOTE: package nano-1.3.9-r0: task do_package: failed ERROR: TaskFailed? event exception, aborting ipkg --force-overwrite install ipkg-utils the ipk seems to work but some of the libs are missing....? |