Share

Mathematica MathLink interface to MySQL

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

Help compiling for MMA 5 on Mac OS X

You are viewing a single message from this topic. View all messages.

  1. 2004-09-19 22:30:36 UTC
    I have copied all the files from the /Applications/Mathematica 5.0.app/AddOns/MathLink/DeveloperKit/Darwin/CompilerAdditions/ into the mysql-mlink-0.2 directory. I think I am much closer now to compile it. However, I think that there is still one more file needed, but I don't even know which one it is. This is what I am getting:

    ~/Desktop/mysql-mlink-0.2 gdelfino$ make
    cc -I/usr/local/mysql/include -c mysqltm.c
    In file included from mysqltm.c:15:
    mathlink.h:1845: warning: use of `long double' type; its size may change in a future release
    mathlink.h:1845: warning: (Long double usage is reported only once for each file.
    mathlink.h:1845: warning: To disable this warning, use -Wno-long-double.)
    cc -I/usr/local/mysql/include -c mysql.c
    In file included from mysql.c:7:
    mathlink.h:1845: warning: use of `long double' type; its size may change in a future release
    mathlink.h:1845: warning: (Long double usage is reported only once for each file.
    mathlink.h:1845: warning: To disable this warning, use -Wno-long-double.)
    mysql.c: In function `sqlconnect':
    mysql.c:69: warning: passing arg 2 of `mlerror' discards qualifiers from pointer target type
    mysql.c: In function `sqlquery':
    mysql.c:99: warning: passing arg 2 of `mlerror' discards qualifiers from pointer target type
    mysql.c: In function `sqlprepare':
    mysql.c:112: warning: passing arg 2 of `mlerror' discards qualifiers from pointer target type
    cc mysqltm.o mysql.o -L/usr/local/mysql/lib -lML -lmysqlclient -lm -o mysql.ml
    ld: can't locate file for: -lML
    make: *** [mysql.ml] Error 1
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.