[JDEV] AIX compilation of jabber server.

David Clissold cliss at austin.ibm.com
Tue Jan 30 12:24:21 CST 2001


I was able to build the server (1.2) using gcc on AIX 4.3.3, by
using the '-G' linker flag for the shared objects (to allow
symbols to be left unresolved until needed by the runtime linker).
Then the main executable, jabberd, needs "-brtl -bexpall" to use
runtime linking and export its symbols to these other objects.

If you are using gcc, you can add this to the configure file
where it has a case statement for different OS's:

    AIX)
        CFLAGS="$CFLAGS -DMAXDNAME=1025"
        MCFLAGS="$MCFLAGS -Wl,-G"
        XLDFLAGS="$XLDFLAGS -Wl,-brtl -Wl,-bexpall";;

Then rerun configure, and remake; it should build to completion.


>I am trying to compile the jabber server under AIX 4.3.3.
>....

David Clissold
cliss at austin.ibm.com




More information about the JDev mailing list