DCPUTeam / DCPUToolchain

[ARCHIVED] The code repository for the DCPU-16 Toolchain.
http://dcputoolcha.in/
MIT License
96 stars 14 forks source link

dtdb won't compile (which halts make) on Fedora-based systems #205

Closed ColErr closed 11 years ago

ColErr commented 11 years ago

Seems it's an issue with a dependency in libreadline that isn't dynamically handled on Fedora based systems. I will post up the actual make error once I can get on my server

ColErr commented 11 years ago
Scanning dependencies of target dtdb
[ 86%] Building C object dtdb/CMakeFiles/dtdb.dir/main.c.o
[ 86%] Building C object dtdb/CMakeFiles/dtdb.dir/packets.c.o
[ 86%] Building C object dtdb/CMakeFiles/dtdb.dir/sdp.c.o
Linking C executable dtdb
../third-party/lua/liblua.a(loslib.c.o): In function `os_tmpname':
/home/ColErr/repos/DCPUToolchain/third-party/lua/loslib.c:67: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
/usr/local/lib/libreadline.so: undefined reference to `PC'
/usr/local/lib/libreadline.so: undefined reference to `tgetflag'
/usr/local/lib/libreadline.so: undefined reference to `tgetent'
/usr/local/lib/libreadline.so: undefined reference to `UP'
/usr/local/lib/libreadline.so: undefined reference to `tputs'
/usr/local/lib/libreadline.so: undefined reference to `tgoto'
/usr/local/lib/libreadline.so: undefined reference to `tgetnum'
/usr/local/lib/libreadline.so: undefined reference to `BC'
/usr/local/lib/libreadline.so: undefined reference to `tgetstr'
collect2: ld returned 1 exit status
make[2]: *** [dtdb/dtdb] Error 1
make[1]: *** [dtdb/CMakeFiles/dtdb.dir/all] Error 2
make: *** [all] Error 2
patflick commented 11 years ago

all fixed with the most recent commit fbb4024460b3e8e0d51df156939b5015a4992038