[Ohrrpgce] relump and unlump fail to build with portable=1

James Paige Bob at hamsterrepublic.com
Tue Aug 22 12:05:55 PDT 2017

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:

james at ghostorchid:~/src/ohrrpgce$ scons debug=0 gengcc=1 portable=1 relump
scons: Reading SConscript files ...
Using target: linux  arch: x86  gcc: gcc  cc: gcc  gcctarget:
x86_64-linux-gnu  fbcversion: 1050
scons: done reading SConscript files.
scons: Building targets ...
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
/usr/local/bin/../lib/freebasic/linux-x86/fbrt0.o -lfbmt -Wl,-S
linux/fb_icon.c -lpthread -l:libncurses.so.5 "-Wl,-)"
/usr/local/bin/../lib/freebasic/linux-x86/libfbmt.a(hinit.o): In function
hinit.c:(.text+0x275): undefined reference to `tgoto'
hinit.c:(.text+0x291): undefined reference to `tputs'
/usr/local/bin/../lib/freebasic/linux-x86/libfbmt.a(hinit.o): In function
hinit.c:(.text+0xa70): undefined reference to `tgetent'
hinit.c:(.text+0xa89): undefined reference to `UP'
hinit.c:(.text+0xa93): undefined reference to `BC'
hinit.c:(.text+0xa9c): undefined reference to `tgetstr'
hinit.c:(.text+0xabb): undefined reference to `PC'
hinit.c:(.text+0xae8): undefined reference to `ospeed'
hinit.c:(.text+0xaed): undefined reference to `tgetflag'
hinit.c:(.text+0xb0b): undefined reference to `tgetstr'
/usr/local/bin/../lib/freebasic/linux-x86/libfbmt.a(io_inkey.o): In
function `fb_hGetCh':
io_inkey.c:(.text+0x20c): undefined reference to `tgetstr'
collect2: error: ld returned 1 exit status
scons: *** [relump] Error 1
scons: building terminated because of errors.

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20170822/5d74a4b2/attachment.html>

More information about the Ohrrpgce mailing list