Jump to content
Excelsior Forums
Sign in to follow this  
widom

(Linux) undefined symbol reference when IMPORT BiosIO and related TSCP modules.

Recommended Posts

Hello,

I have installed XDS-86 on Ubuntu Linux and it mostly work fine.

I have noted unexpected problem when importing BiosIO related modules from TSCP.

MODULE test;

IMPORT BiosIO;

BEGIN

(* whatever goes here *)

END test.

copilation:

/usr/local/xds/mod/test$ xc =m test.mod

O2/M2 development system v2.51 TS © 1999-2003 Excelsior, LLC. (build 10.05.2005)

#project is up to date

gcc  -o test test.o  /usr/local/xds/lib/x86/libts.a /usr/local/xds/lib/x86/libxds.a  -lm

/usr/local/xds/lib/x86/libts.a(BiosIO.o): In function `no symbol':

(.text+0x1c1): undefined reference to `echo'

/usr/local/xds/lib/x86/libts.a(BiosIO.o): In function `no symbol':

(.text+0x1c6): undefined reference to `nl'

/usr/local/xds/lib/x86/libts.a(BiosIO.o): In function `no symbol':

(.text+0x1cb): undefined reference to `cbreak'

/usr/local/xds/lib/x86/libts.a(BiosIO.o): In function `BiosIO_RdKey':

(.text+0x25a): undefined reference to `getch'

/usr/local/xds/lib/x86/libts.a(BiosIO.o): In function `BiosIO_BEGIN':

(.text+0x34b): undefined reference to `initscr'

/usr/local/xds/lib/x86/libts.a(BiosIO.o): In function `BiosIO_BEGIN':

(.text+0x353): undefined reference to `stdscr'

/usr/local/xds/lib/x86/libts.a(BiosIO.o): In function `BiosIO_BEGIN':

(.text+0x358): undefined reference to `keypad'

/usr/local/xds/lib/x86/libts.a(BiosIO.o): In function `BiosIO_BEGIN':

(.text+0x360): undefined reference to `stdscr'

/usr/local/xds/lib/x86/libts.a(BiosIO.o): In function `BiosIO_BEGIN':

(.text+0x365): undefined reference to `nodelay'

/usr/local/xds/lib/x86/libts.a(BiosIO.o): In function `BiosIO_BEGIN':

(.text+0x36a): undefined reference to `cbreak'

/usr/local/xds/lib/x86/libts.a(BiosIO.o): In function `BiosIO_BEGIN':

(.text+0x36f): undefined reference to `noecho'

collect2: ld returned 1 exit status

make: *** [test] Błąd 1

external command fault 2:

make -f tmp.mkf

I have tried to rebuild "tslib.a" but unfrtunatelly tslib.mkf includes reference to

../../../../src/TSlibs/POSIX/BiosIO.c

and it is not supplied with Linux TSCP pack.

Anybody knows how to get BiosIO.c and to rebuild "tslib.a" (I expect this can issue my missing reference problem above).

Tom Telesfor

Share this post


Link to post
Share on other sites

I have installed ncursed-dev package and now -lncures works fine. Problem is solved.

The XDS-86 + TSCP works very nice under Ubuntu Linux now.

Thank you snowman

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×