[JDEV] Solaris compilation problem

Johnson Scott Mr (BTG) johnsosc at MI513.gordon.army.mil
Mon Nov 13 08:33:22 CST 2000


Hi Chris,
I can't help directly but we did compile cleanly on Sol 2.8 on a Sparc
(U10).  Typically we have problems with missinng libs or something missing
in the PATH or LD_LIBRARY_PATH.  Make sure these env variable cover what you
need.  You also need the GNU pth and the GNU adns programs.  I don't recall
where I read this but its in their documentation some place.

We were using jabber 1.2.

Sorry I couldn't be more helpful but these variables are where we find 90%
of our trouble in dealing with GNU stuff.
Good news is it does work on Solaris.

Regards,
	Scott

706-791-8774/9243



A just machine to make big decisions 
Programmed by fellows with compassion and vision


-----Original Message-----
From: gold at spine.com [mailto:gold at spine.com]
Sent: Friday, November 10, 2000 6:28 PM
To: jdev at jabber.org
Subject: [JDEV] Solaris compilation problem


Perhaps someone can help me with my compilation problem.  I am trying to
build the jabber server under Solaris, with poor results.  Details follow.

# uname -a
SunOS {hostname} 5.7 Generic_106541-02 sun4u sparc SUNW,Ultra-5_10
# make
{make output}
make[1]: Entering directory `/space/gold/src/jabber-1.2/jabberd'
gcc -g -Wall -fPIC -I./ -I../  -I/usr/local/include -I/usr/local/include
-I/usr/include -D_REENTRANT -DCONFIGXML="\"jabber.xml\""
-DHOME="\"/space/gold/src/jabber-1.2\""   -c -o log.o log.c
log.c: In function `debug_log':
log.c:81: `__builtin_va_alist' undeclared (first use in this function)
log.c:81: (Each undeclared identifier is reported only once
log.c:81: for each function it appears in.)
log.c: In function `log_notice':
log.c:115: `__builtin_va_alist' undeclared (first use in this function)
log.c: In function `log_warn':
log.c:127: `__builtin_va_alist' undeclared (first use in this function)
log.c: In function `log_alert':
log.c:139: `__builtin_va_alist' undeclared (first use in this function)
make[1]: *** [log.o] Error 1

I can see that this has something to do with the way the macro replacement
of va_list and va_start are handled.  If anyone can point me in the right
direction, or tell me what to do to fix this one, I would appreciate it.

Please say I'm not the only one who is having this problem...

Thanks,

Chris Goldman
gold at spine.com






_______________________________________________
jdev mailing list
jdev at jabber.org
http://mailman.jabber.org/listinfo/jdev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.jabber.org/jdev/attachments/20001113/84243a45/attachment-0002.htm>


More information about the JDev mailing list