Build failure on Slackware 32bit
Building kernel default build, fails with unresolved symbols such as: strcpy, ffs, __udivdi3,random,skpc while building SNADPIC.pic32 using mipss-2014.05/mips-sde-elf toolchain. git rev: 7549ebdfb3b70bf917dbb6d023ca6ea0d16dda27
Looks like libkern did not compile and link for some reason. Please, try this: cd LiteBSD/sys/libkern && bmake Then build the kernel as usual: cd LiteBSD/sys/compile/SNADPIC.pic32 && bmake Unfortunately, I don't have Slackware at hand to try, but it works fine under Debian and Mac OS X. Can you please e-mail me your build log? My e-mail is [email protected].
The error in building libkern is due to not having the utility 'lorder'. I don't know what package it comes in for debian but I only found reference to it from Fedora. Anyway builds kernel correctly now so issue solved.
Note: the build process did not error out on this missing command which is why I initially did not notice the error message. Also the git issue system would not let me upload the build log with the issue report.
Thanks.
On 02/20/2016 05:07 PM, Serge Vakulenko wrote:
Looks like libkern did not compile and link for some reason. Please, try this: cd LiteBSD/sys/libkern && bmake Then build the kernel as usual: cd LiteBSD/sys/compile/SNADPIC.pic32 && bmake Unfortunately, I don't have Slackware at hand to try, but it works fine under Debian and Mac OS X. Can you please e-mail me your build log? My e-mail is [email protected] mailto:[email protected].
— Reply to this email directly or view it on GitHub https://github.com/sergev/LiteBSD/issues/56#issuecomment-186502382.
On debian it's in the package bsdmainutils
I recently had the same problem with compiling on OpenSUSE. I found a shell script that I used successful at http://www.chiark.greenend.org.uk/~pmaydell/hp/misctools.tar.gz I only changed the line calling nm /usr/local/bin/m68k-hp-netbsd-nm with /usr/bin/nm