<div dir="auto"><div class="gmail_quote" dir="auto"><div dir="ltr">Bo Berglund <<a href="mailto:bo.berglund@gmail.com">bo.berglund@gmail.com</a>> schrieb am Di., 23. Okt. 2018, 18:59:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, 23 Oct 2018 18:12:41 +0200, Bo Berglund<br>
<<a href="mailto:bo.berglund@gmail.com" target="_blank" rel="noreferrer">bo.berglund@gmail.com</a>> wrote:<br>
><br>
>sudo apt-get install -y libx11-dev libgdk-pixbuf2.0-dev libcairo2-dev<br>
>gir1.2-coglpango-1.0 libpangox-1.0-dev xorg-dev libgtk2.0-dev<br>
>libpango1.0-dev<br>
><br>
>Is this what I need also on Ubuntu (i386)?<br>
<br>
I did do sudo apt install build-essential since it did not have<br>
make...<br>
<br>
Then I tried to build fpc 3.0.4 from sources freshly chacked out from<br>
the svn repo.<br>
make all FPC=~/dev/fpc/ppc386<br>
<br>
But it stopped after 1m32s with this at the end of he screen:<br>
<br>
/usr/bin/ld: skipping incompatible<br>
//usr/lib/x86_64-linux-gnu/libpthread.so when searching for -lpthread<br>
/usr/bin/ld: skipping incompatible<br>
//usr/lib/x86_64-linux-gnu/libpthread.a when searching for -lpthread<br>
/usr/bin/ld: cannot find -lpthread<br>
/usr/bin/ld: skipping incompatible //usr/lib/x86_64-linux-gnu/libdl.so<br>
when searching for -ldl<br>
/usr/bin/ld: skipping incompatible //usr/lib/x86_64-linux-gnu/libdl.a<br>
when searching for -ldl<br>
/usr/bin/ld: cannot find -ldl<br>
/usr/bin/ld: skipping incompatible //usr/lib/x86_64-linux-gnu/libc.so<br>
when searching for -lc<br>
/usr/bin/ld: skipping incompatible //usr/lib/x86_64-linux-gnu/libc.a<br>
when searching for -lc<br>
/usr/bin/ld: cannot find -lc<br>
fpmake.pp(47,1) Error: Error while linking<br>
fpmake.pp(47,1) Fatal: There were 1 errors compiling module, stopping<br>
Fatal: Compilation aborted<br>
Makefile:1658: recipe for target 'fpmake' failed<br>
make[2]: *** [fpmake] Error 1<br>
make[2]: Leaving directory '/home/bosse/dev/fpc/3.0.4/packages'<br>
Makefile:2616: recipe for target 'packages_smart' failed<br>
make[1]: *** [packages_smart] Error 2<br>
make[1]: Leaving directory '/home/bosse/dev/fpc/3.0.4'<br>
Makefile:2812: recipe for target 'build-stamp.i386-linux' failed<br>
make: *** [build-stamp.i386-linux] Error 2<br>
<br>
Probably some dependencies are missing from my Ubuntu 18.04, but what?<br>
Could it be the exact same items as on RaspberryPi???<br></blockquote></div><div dir="auto"><br></div><div dir="auto">If I had to guess I'd say that you'd need the 32-bit development packages (don't know how to install them however, I use Arch Linux, not Ubuntu). Or use the x86_64-linux release and build a 64-bit compiler. </div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Sven </div><div class="gmail_quote" dir="auto"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"></blockquote></div></div>