AnsweredAssumed Answered

Error with 'pseudo' while compiling fsl-image-full for LS1012A

Question asked by Pieter Dewachter on Feb 23, 2018
Latest reply on Mar 5, 2018 by Pavel Chubakov

I am currently trying to build the fsl-image-full from the QorIQ SDK for the LS1012A development board. This has given me a lot of problems and errors, most of them I was able to fix. I attached two files where I describe the steps I followed to compile the SDK and the different problems with fixes I used (I hope they don't cause these issues?).


Unfortunately I currently get an error that sounds like this: "no real function for mknod / mknodat" from the pseudo package. I followed the following commit to fix this error, but it causes another error to pop up.

poky-contrib - Poky Built Tool and Metadata - User Contributions Tree 


I am not sure if that fix is the problem or not, since it was made for pseudo 1.7.5 while the SDK contains version 1.7.4. However when I do apply that fix, I get the following message:

"/usr/bin/ld: /home/piete/Documents/secondtry/QorIQ-SDK-V2.0-20160527-yocto/build_ls1012afrdm/tmp/sysroots/x86_64-linux/usr/lib/libsqlite3.a(sqlite3.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC"


I tried adding the "-fPIC" flag to some Makefile and files, I even used "-shared" flags and a few other things I stumbled upon. Unfortunately none of these things was succesful for me. Another weird thing is that the error complains about libsqlite3.a, which is a file that doesn't exist on the filesystem. The file that does exist in that location, is That should be fine since that's a shared library, whilst the .a file is a static library.


Sorry for the big post and thanks in advance!