Ok, I got the dl library API from,

http://fmri.ucsd.edu/Afni_macx.htm

In order for it complile cleanly I needed to change 'enum bool' on lines
82 and 86 of dlopen.c to 'DYLD_BOOL'.  Bools are always right pain in the
ass ;-)

Searching on google does bring up other versions of this dlcompat library.
In particualr one there is one on the Darwin CVS server - may be a better
one to go for...

Once this is installed, in order to link this with QT you need to add
'-ldl' to mkspecs/darwin-g++/qmake.conf on line 57,

        QMAKE_LIBS_DYNLOAD      = -ldl

Once this is all done QT should be able to compile.

Now, licq should be able to be complied. You may need to insert a '-ldl'
in qt-gui's Makefile to that to work - can't remember for sure.

But, as i said before even after it has all built cleanly licq does not as
it will not load the libraries... May have another go at that next week.

Have fun,

aid


 On Tue, 25 Feb 2003, Adrian Bool wrote:

>
> Yeah, MacOS X does not have dlopen and friends natively.  There is a
> dlcompat library that will give you these.  Can't find the URL right now
> (at work now and the mac is at home...)  Apache has a dlopen libraray as
> well which may help.
>
> However I did manage to compile all of QT and licq last night, but it
> still would not work as licq could not load the qt-gui shared library.
> Pain in the ass Apple using some different library API :-/
>
> I had a look at solving it but got tired and went to bed... Away for a few
> days now so problay won't be able to have another look at it for a while.
> I'll email you what I did last night this evening when I am back with
> the mac...
>
> Regards,
>
> aid
>
> On Tue, 25 Feb 2003, Phillip Pi wrote:
>
> > Aaron, qt tried to compile with your suggestion. It took a while (not sure
> > how long since I went to bed hehe) even on a PowerBook G4 1 Ghz with 512
> > MB of RAM. :P
> >
> > The result was still a show stopper (I hope this is enough paste from the
> > end):
> >
> > ld: warning multiple definitions of symbol _glGetColorTableEXT
> > /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o)
> > definition of _glGetColorTableEXT
> > /usr/X11R6/lib/libGL.dylib(dri_dispatch.o) definition of
> > _glGetColorTableEXT
> > ld: warning multiple definitions of symbol _glGetColorTableParameterfvEXT
> > /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o)
> > definition of _glGetColorTableParameterfvEXT
> > /usr/X11R6/lib/libGL.dylib(dri_dispatch.o) definition of
> > _glGetColorTableParameterfvEXT
> > ld: warning multiple definitions of symbol _glGetColorTableParameterivEXT
> > /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o)
> > definition of _glGetColorTableParameterivEXT
> > /usr/X11R6/lib/libGL.dylib(dri_dispatch.o) definition of
> > _glGetColorTableParameterivEXT
> > ld: Undefined symbols:
> > _dlclose
> > _dlopen
> > _dlsym
> > make[2]: *** [../lib/libqt.dylib.3.1.1] Error 1
> > make[1]: *** [sub-src] Error 2
> > make: *** [init] Error 2
> >
> > Aaron, did you get this too?
> >
>
>

-- 
Adrian Bool                     | http://noc.vianw.net/
Director, Global Core Network   | tel://+44.1925.484061/
VIA NET.WORKS Inc.              | noc://+49.203.3093.1111/



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
LICQ-Main mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/licq-main

Reply via email to