Erlang Mailing Lists

Author Message

<  Erlang bugs mailing list  ~  R11B-2 odbc compilation on MacOS X ?

Guest
Posted: Mon Nov 13, 2006 11:06 am Reply with quote
Guest
Hello,

I could not compile odbcserver.c as it comes on R11B-2 (never tryed on
previous R11 versions)

the problem is line 1496
#ifdef WIN32
static void connect_to_erlang(SOCKET socket, int port)
#elif UNIX
static void connect_to_erlang(int socket, int port)
#endif
{
struct sockaddr_in sin;

memset(&sin, 0, sizeof(sin));

it can not defines size of struct sockaddr_in
I had to add the following include:

#include <netinet/in.h>


moreover, the package unixodbc (which is required as a dependency) is
often installed as a fink package into /sw/lib and the generated
Makefile does not know about it. I manually added the following gcc
options to make it compile:

-L/sw/lib -lodbc

I'm using Panther. the problems may be the same on Tiger but I don't
know if it is reproductible on other MacOS X systems.


Best Regards.

_______________________________________________
erlang-bugs mailing list
erlang-bugs@erlang.org
http://www.erlang.org/mailman/listinfo/erlang-bugs
Post recived from mailinglist
Abpoup57
Posted: Mon Apr 09, 2007 10:34 am Reply with quote
Guest
Catherine Zeta Jone Throatjob!
http://Catherine-Zeta-Jone-Throatjob.org/WindowsMediaPlayer.php?movie=231891

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum