[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Texmacs-dev] Mathematica interface
From: |
Alvaro Tejero Cantero |
Subject: |
[Texmacs-dev] Mathematica interface |
Date: |
Fri, 25 Feb 2005 10:08:47 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20050105 Debian/1.7.5-1 |
Hello,
I am trying to test the Mathematica interface posted by Andrey (thanks!)
http://lists.gnu.org/archive/html/texmacs-dev/2003-11/msg00032.html
http://lists.gnu.org/archive/html/texmacs-dev/2003-11/msg00036.html
with little luck. When trying to compile I get the following output.
Mathematica 5.1
TeXmacs 1.0.4.5
gcc version 3.3.5 (Debian 1:3.3.5-8)
GNU ld version 2.15
is it supposed to work with newer versions, or should I stick to a
particular one?
address@hidden:/amnt/home/alv/.TeXmacs/plugins/mathematica$ make
gcc -o bin/tm_math src/tm_math.c -DPRELUDE=\"`pwd`/ps/prelude\"
-I`pwd`/include -L`pwd`/lib -lML
src/tm_math.c: In function `command':
src/tm_math.c:132: warning: passing arg 2 of `MLGetString' from
incompatible poi nter type
src/tm_math.c:140: warning: passing arg 2 of `MLGetString' from
incompatible poi nter type
src/tm_math.c:147: warning: passing arg 2 of `MLGetString' from
incompatible poi nter type
src/tm_math.c:154: warning: passing arg 2 of `MLGetString' from
incompatible poi nter type
src/tm_math.c:171: warning: passing arg 2 of `MLGetSymbol' from
incompatible poi nter type
src/tm_math.c:172: warning: passing arg 2 of `MLGetString' from
incompatible poi nter type
src/tm_math.c:181: warning: passing arg 2 of `MLGetString' from
incompatible poi nter type
src/tm_math.c:196: warning: passing arg 2 of `MLGetString' from
incompatible poi nter type
src/tm_math.c:209: warning: passing arg 2 of `MLGetString' from
incompatible poi nter type
/amnt/home/alv/.TeXmacs/plugins/mathematica/lib/libML.a(mlthread.o)(.text+0x16d)
: In function `MLThreadCreate':
: undefined reference to `pthread_create'
/amnt/home/alv/.TeXmacs/plugins/mathematica/lib/libML.a(mlthread.o)(.text+0x1cc)
: In function `MLThreadJoin':
: undefined reference to `pthread_join'
/amnt/home/alv/.TeXmacs/plugins/mathematica/lib/libML.a(mlthread.o)(.text+0x444)
: In function `determine_mutex_ipc_mechanism':
: undefined reference to `sem_open'
/amnt/home/alv/.TeXmacs/plugins/mathematica/lib/libML.a(mlthread.o)(.text+0x454)
: In function `determine_mutex_ipc_mechanism':
: undefined reference to `sem_close'
/amnt/home/alv/.TeXmacs/plugins/mathematica/lib/libML.a(mlthread.o)(.text+0x45c)
: In function `determine_mutex_ipc_mechanism':
: undefined reference to `sem_unlink'
/amnt/home/alv/.TeXmacs/plugins/mathematica/lib/libML.a(mlthread.o)(.text+0x749)
: In function `semaphore_create_mutex':
: undefined reference to `sem_init'
/amnt/home/alv/.TeXmacs/plugins/mathematica/lib/libML.a(mlthread.o)(.text+0x7a2)
: In function `semaphore_create_mutex':
: undefined reference to `sem_open'
/amnt/home/alv/.TeXmacs/plugins/mathematica/lib/libML.a(mlthread.o)(.text+0x94a)
: In function `semaphore_destroy_mutex':
: undefined reference to `sem_destroy'
/amnt/home/alv/.TeXmacs/plugins/mathematica/lib/libML.a(mlthread.o)(.text+0x95a)
: In function `semaphore_destroy_mutex':
: undefined reference to `sem_close'
/amnt/home/alv/.TeXmacs/plugins/mathematica/lib/libML.a(mlthread.o)(.text+0x963)
: In function `semaphore_destroy_mutex':
: undefined reference to `sem_unlink'
/amnt/home/alv/.TeXmacs/plugins/mathematica/lib/libML.a(mlthread.o)(.text+0x996)
: In function `semaphore_lock_mutex':
: undefined reference to `sem_wait'
/amnt/home/alv/.TeXmacs/plugins/mathematica/lib/libML.a(mlthread.o)(.text+0x9e9)
: In function `semaphore_unlock_mutex':
: undefined reference to `sem_post'
/amnt/home/alv/.TeXmacs/plugins/mathematica/lib/libML.a(mlthread.o)(.text+0x1e2e
): In function `semaphore_create_condition':
: undefined reference to `sem_trywait'
/amnt/home/alv/.TeXmacs/plugins/mathematica/lib/libML.a(mlthread.o)(.text+0x1e69
): In function `semaphore_create_condition':
: undefined reference to `sem_init'
/amnt/home/alv/.TeXmacs/plugins/mathematica/lib/libML.a(mlthread.o)(.text+0x1eb8
): In function `semaphore_create_condition':
: undefined reference to `sem_open'
/amnt/home/alv/.TeXmacs/plugins/mathematica/lib/libML.a(mlthread.o)(.text+0x2081
): In function `semaphore_destroy_condition':
: undefined reference to `sem_destroy'
/amnt/home/alv/.TeXmacs/plugins/mathematica/lib/libML.a(mlthread.o)(.text+0x209c
): In function `semaphore_destroy_condition':
: undefined reference to `sem_close'
/amnt/home/alv/.TeXmacs/plugins/mathematica/lib/libML.a(mlthread.o)(.text+0x20a5
): In function `semaphore_destroy_condition':
: undefined reference to `sem_unlink'
/amnt/home/alv/.TeXmacs/plugins/mathematica/lib/libML.a(mlthread.o)(.text+0x20f1
): In function `semaphore_wait_condition':
: undefined reference to `sem_trywait'
/amnt/home/alv/.TeXmacs/plugins/mathematica/lib/libML.a(mlthread.o)(.text+0x213f
): In function `semaphore_wait_condition':
: undefined reference to `sem_wait'
/amnt/home/alv/.TeXmacs/plugins/mathematica/lib/libML.a(mlthread.o)(.text+0x2185
): In function `semaphore_signal_condition':
: undefined reference to `sem_post'
collect2: ld returned 1 exit status
make: *** [bin/tm_math] Error 1
- [Texmacs-dev] Mathematica interface,
Alvaro Tejero Cantero <=