<div dir="ltr">Checking on my ubuntu netbook, I see that core libraries are actually stored in /lib/i386-linux-gnu/. Also, it's linked against libncursesw.so instead of libncurses.so. (The w denotes that it's been compiled with widechar support. IIRC it's also necessary to support more than 256 colours). So maybe we should be linking to libncursesw.so.5 instead?<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 30 August 2017 at 05:47, James Paige <span dir="ltr"><<a href="mailto:Bob@hamsterrepublic.com" target="_blank">Bob@hamsterrepublic.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>james@ghostorchid:~/src/ohr/<wbr>wip$ ls -l /lib/libncurses.so*<br>ls: cannot access /lib/libncurses.so*: No such file or directory<br><br></div>However, I do have both the libncurses5 and libncurses5-dev packages installed.<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 29, 2017 at 8:40 AM, Ralph Versteegen <span dir="ltr"><<a href="mailto:teeemcee@gmail.com" target="_blank">teeemcee@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I guess that this error means that you don't have a libncurses.so.5 on that machine (usually in /lib/), and something else, like libfbgfx.so, is drawing in (unversioned) libncurses.so when you compile game/custom, hiding this problem. Still, I would have expected the linker to print an error. What does "ls -l /lib/libncurses.so*" print?<br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_-4055343760723424883h5">On 30 August 2017 at 02:51, James Paige <span dir="ltr"><<a href="mailto:Bob@hamsterrepublic.com" target="_blank">Bob@hamsterrepublic.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_-4055343760723424883h5"><div dir="ltr"><div>As far as I can tell, this is only a problem on Ubuntu 14.04 which has g++ 4.8.4<br></div>I don't have any problems when I compile relump and unlump on my Debian Jessie vm, which has g++ 4.9.2<br></div><div class="m_-4055343760723424883m_8839017932266425379HOEnZb"><div class="m_-4055343760723424883m_8839017932266425379h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 22, 2017 at 12:05 PM, James Paige <span dir="ltr"><<a href="mailto:Bob@hamsterrepublic.com" target="_blank">Bob@hamsterrepublic.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I noticed todat while testing the distrib.sh script, that relump and unlump both fail to build when portable=1 is specified on the scons command line:<br><br>james@ghostorchid:~/src/ohrrpg<wbr>ce$ scons debug=0 gengcc=1 portable=1 relump<br>scons: Reading SConscript files ...<br>Using target: linux  arch: x86  gcc: gcc  cc: gcc  gcctarget: x86_64-linux-gnu  fbcversion: 1050<br>scons: done reading SConscript files.<br>scons: Building targets ...<br>g++ -O3 -DFBCVERSION=1050 -m32 -mpreferred-stack-boundary=2 -mno-sse --std=c++0x -g -Wall -Wno-non-virtual-dtor -D_GLIBCXX_USE_CXX11_ABI=0 -o relump build/relump.o build/lumpfile.o build/os_unix.o build/os_unix2.o build/lib/stdc++compat.o build/util.o build/blit.o build/base64.o build/unicode.o build/array.o build/miscc.o build/filelayer.o build/vector.o build/common_base.o "-Wl,-(" -Wl,--add-needed -Wl,-L/usr/local/bin/../lib/fr<wbr>eebasic/linux-x86 /usr/local/bin/../lib/freebasi<wbr>c/linux-x86/fbrt0.o -lfbmt -Wl,-S linux/fb_icon.c -lpthread -l:libncurses.so.5 "-Wl,-)"<br>/usr/local/bin/../lib/freebasi<wbr>c/linux-x86/libfbmt.a(hinit.o)<wbr>: In function `fb_hTermOut':<br>hinit.c:(.text+0x275): undefined reference to `tgoto'<br>hinit.c:(.text+0x291): undefined reference to `tputs'<br>/usr/local/bin/../lib/freebasi<wbr>c/linux-x86/libfbmt.a(hinit.o)<wbr>: In function `hInit':<br>hinit.c:(.text+0xa70): undefined reference to `tgetent'<br>hinit.c:(.text+0xa89): undefined reference to `UP'<br>hinit.c:(.text+0xa93): undefined reference to `BC'<br>hinit.c:(.text+0xa9c): undefined reference to `tgetstr'<br>hinit.c:(.text+0xabb): undefined reference to `PC'<br>hinit.c:(.text+0xae8): undefined reference to `ospeed'<br>hinit.c:(.text+0xaed): undefined reference to `tgetflag'<br>hinit.c:(.text+0xb0b): undefined reference to `tgetstr'<br>/usr/local/bin/../lib/freebasi<wbr>c/linux-x86/libfbmt.a(io_inkey<wbr>.o): In function `fb_hGetCh':<br>io_inkey.c:(.text+0x20c): undefined reference to `tgetstr'<br>collect2: error: ld returned 1 exit status<br>scons: *** [relump] Error 1<br>scons: building terminated because of errors.<br><br></div>I don't know if there is any reason they need to be build with portable=1, only that distrib.sh is currently trying to build them that way<br></div>
</blockquote></div><br></div>
</div></div><br></div></div>______________________________<wbr>_________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org" target="_blank">ohrrpgce@lists.motherhamster.o<wbr>rg</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer" target="_blank">http://lists.motherhamster.org<wbr>/listinfo.cgi/ohrrpgce-motherh<wbr>amster.org</a><br>
<br></blockquote></div><br></div>
<br>______________________________<wbr>_________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org" target="_blank">ohrrpgce@lists.motherhamster.o<wbr>rg</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer" target="_blank">http://lists.motherhamster.org<wbr>/listinfo.cgi/ohrrpgce-motherh<wbr>amster.org</a><br>
<br></blockquote></div><br></div>
</div></div><br>______________________________<wbr>_________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org">ohrrpgce@lists.motherhamster.<wbr>org</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer" target="_blank">http://lists.motherhamster.<wbr>org/listinfo.cgi/ohrrpgce-<wbr>motherhamster.org</a><br>
<br></blockquote></div><br></div>