Groups | Search | Server Info | Login | Register


Groups > comp.lang.basic.misc > #438

Re: [ANN] tbas, the new BASIC interpreter for UNIX, is out

From Bruce Axtens <snetxa@hotmail.com>
Newsgroups comp.lang.basic.misc, alt.lang.basic
Subject Re: [ANN] tbas, the new BASIC interpreter for UNIX, is out
Date 2017-10-09 14:51 +0800
Organization A noiseless patient Spider
Message-ID <8f0e16ce-959b-7ba1-9616-d24edecb10e0@hotmail.com> (permalink)
References <oq524m$1via$1@adenine.netfront.net>

Cross-posted to 2 groups.

Show all headers | View raw


Hello Antonio and Ian

I am using the bash shell that can be installed into Windows 10. 
Building is currently impossible, as below.

Kind regards,
Bruce.

uname -a gives

Linux BUGMAGNET-i7-ASUS 4.4.0-43-Microsoft #1-Microsoft Wed Dec 31 
14:42:53 PST 2014 x86_64 x86_64 x86_64 GNU/Linux

gcc -v gives

Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 
4.8.4-2ubuntu1~14.04.3' 
--with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs 
--enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr 
--program-suffix=-4.8 --enable-shared --enable-linker-build-id 
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix 
--with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib 
--enable-nls --with-sysroot=/ --enable-clocale=gnu 
--enable-libstdcxx-debug --enable-libstdcxx-time=yes 
--enable-gnu-unique-object --disable-libmudflap --enable-plugin 
--with-system-zlib --disable-browser-plugin --enable-java-awt=gtk 
--enable-gtk-cairo 
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre 
--enable-java-home 
--with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64 
--with-arch-directory=amd64 
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc 
--enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 
--with-multilib-list=m32,m64,mx32 --with-tune=generic 
--enable-checking=release --build=x86_64-linux-gnu 
--host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3)

Running make gives

gcc -Wall -lm tbas.c -o tbas
/tmp/ccJvi5kc.o: In function `OPTION':
tbas.c:(.text+0x39ee): undefined reference to `pow'
tbas.c:(.text+0x4417): undefined reference to `pow'
/tmp/ccJvi5kc.o: In function `getFunc':
tbas.c:(.text+0x2115f): undefined reference to `acos'
tbas.c:(.text+0x2126f): undefined reference to `asin'
tbas.c:(.text+0x213b5): undefined reference to `sqrt'
tbas.c:(.text+0x213c6): undefined reference to `log'
tbas.c:(.text+0x21486): undefined reference to `sqrt'
tbas.c:(.text+0x21497): undefined reference to `log'
tbas.c:(.text+0x21519): undefined reference to `atan'
tbas.c:(.text+0x216cc): undefined reference to `log'
tbas.c:(.text+0x21794): undefined reference to `acos'
tbas.c:(.text+0x2191e): undefined reference to `sqrt'
tbas.c:(.text+0x2192f): undefined reference to `log'
tbas.c:(.text+0x219fb): undefined reference to `asin'
tbas.c:(.text+0x21aaf): undefined reference to `sqrt'
tbas.c:(.text+0x21ac0): undefined reference to `log'
tbas.c:(.text+0x21bb1): undefined reference to `atan2'
tbas.c:(.text+0x21be4): undefined reference to `atan'
tbas.c:(.text+0x21d85): undefined reference to `log'
tbas.c:(.text+0x21e7d): undefined reference to `pow'
tbas.c:(.text+0x22073): undefined reference to `cos'
tbas.c:(.text+0x22139): undefined reference to `sin'
tbas.c:(.text+0x222a1): undefined reference to `exp'
tbas.c:(.text+0x222c2): undefined reference to `exp'
tbas.c:(.text+0x22356): undefined reference to `exp'
tbas.c:(.text+0x22379): undefined reference to `exp'
tbas.c:(.text+0x22507): undefined reference to `tan'
tbas.c:(.text+0x225e3): undefined reference to `exp'
tbas.c:(.text+0x22604): undefined reference to `exp'
tbas.c:(.text+0x22633): undefined reference to `exp'
tbas.c:(.text+0x22654): undefined reference to `exp'
tbas.c:(.text+0x22c95): undefined reference to `erfc'
tbas.c:(.text+0x22d48): undefined reference to `exp'
tbas.c:(.text+0x230b4): undefined reference to `tgamma'
tbas.c:(.text+0x23543): undefined reference to `lgamma'
tbas.c:(.text+0x23664): undefined reference to `log'
tbas.c:(.text+0x23785): undefined reference to `log10'
tbas.c:(.text+0x24522): undefined reference to `pow'
tbas.c:(.text+0x2459f): undefined reference to `pow'
tbas.c:(.text+0x2466e): undefined reference to `cos'
tbas.c:(.text+0x24764): undefined reference to `exp'
tbas.c:(.text+0x24785): undefined reference to `exp'
tbas.c:(.text+0x24a21): undefined reference to `sin'
tbas.c:(.text+0x24aa5): undefined reference to `exp'
tbas.c:(.text+0x24ac6): undefined reference to `exp'
tbas.c:(.text+0x24ba7): undefined reference to `sqrt'
tbas.c:(.text+0x24fcc): undefined reference to `tan'
tbas.c:(.text+0x25050): undefined reference to `exp'
tbas.c:(.text+0x25071): undefined reference to `exp'
tbas.c:(.text+0x250a0): undefined reference to `exp'
tbas.c:(.text+0x250c1): undefined reference to `exp'
tbas.c:(.text+0x25164): undefined reference to `pow'
/tmp/ccJvi5kc.o: In function `gregDayNumber':
tbas.c:(.text+0x30807): undefined reference to `floor'
tbas.c:(.text+0x3082d): undefined reference to `floor'
tbas.c:(.text+0x30876): undefined reference to `floor'
/tmp/ccJvi5kc.o: In function `printNUM':
tbas.c:(.text+0x310e7): undefined reference to `pow'
/tmp/ccJvi5kc.o: In function `setAddr':
tbas.c:(.text+0x32bac): undefined reference to `pow'
tbas.c:(.text+0x32c17): undefined reference to `pow'
/tmp/ccJvi5kc.o: In function `power':
tbas.c:(.text+0x32e97): undefined reference to `pow'
tbas.c:(.text+0x32ed0): undefined reference to `pow'
/tmp/ccJvi5kc.o:tbas.c:(.text+0x32f92): more undefined references to 
`pow' follow
collect2: error: ld returned 1 exit status
make: *** [tbas] Error 1

Back to comp.lang.basic.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

[ANN] tbas, the new BASIC interpreter for UNIX, is out Antonio Maschio <ing.antonio.maschio@gmail.com> - 2017-09-23 09:23 +0200
  Re: [ANN] tbas, the new BASIC interpreter for UNIX, is out Bruce Axtens <snetxa@hotmail.com> - 2017-10-09 14:51 +0800
  Re: [ANN] tbas, the new BASIC interpreter for UNIX, is out Marcos Cruz <use_the_contact_page@programandala.net> - 2017-10-19 07:27 +0000
    Re: [ANN] tbas, the new BASIC interpreter for UNIX, is out Antonio Maschio <ing.antonio.maschio@gmail.com> - 2018-04-29 08:57 +0200
      Re: [ANN] tbas, the new BASIC interpreter for UNIX, is out Antonio Maschio <ing.antonio.maschio@gmail.com> - 2018-04-29 09:01 +0200
      Re: [ANN] tbas, the new BASIC interpreter for UNIX, is out Marcos Cruz <use_the_contact_page@programandala.net> - 2018-05-31 20:18 +0000

csiph-web