Hey guys,
following up on the undefined symbols problem,
I finally altered the configure script that generates libtool for it use g++ instead of gcc and i was able to get read of the underfined symbols error... Thanks a lot for your help on that.
However i am not out of trouble yet... Now after re-running configure, then make and then make install, I guess the following error:
[Pier:/usr/local/bin] Highness% ./XSDRAWEXE
Standard AllocMemory failed to mmap : Bad file descriptor
Bus error
When running the debugger "gdb" I was able to trace it to the file Standard.cxx:
Given that the file does not account for darwin, I added the line "#define(__FreeBSD__)"
and added that option where in the file it was evaluating the different platforms.
I suspect the problem is in the following piece of code of the file:
_____________________________________________________________
// Jules added case || defined(__FreeBSD__) in the following if statement -- April 7
#if defined(IRIX) || defined(__FreeBSD__) || defined(__sgi) || defined(SOLARIS) || defined(__sun) || defined(LIN) || defined(linux)
cout << "I am here" << endl;
if ((MMgt_MMap = open ("/dev/zero", O_RDWR)) < 0) {
cout << "I am 2 lines below" << endl;
if ((MMgt_MMap = open ("/dev/null", O_RDWR)) < 0){
MMgt_MMap = 0;
}
}
#else
MMgt_MMap = -1;
#endif
_____________________________________________________________
After adding the case " || defined(__FreeBSD__) as you can see, the error from running the program (after reconfiguring and remaking) became:
Standard AllocMemory failed to mmap : Operation not supported by device
Bus error
I think it fails to write in the file-handle /dev/null and/or /dev/zero.
I personally don't how it is supposed to be held on Mac OS X...
ANY INPUT PLEASE????
JULES