I'm trying to get libevent compiled with Sun Studio 12, but keep running into problems.&nbsp; Below is my compile line / options and the error.&nbsp; Any help would be appreciated.&nbsp; Thanks!<br><br>Solaris 10 x86 U3<br><br>PATH=/opt/yp/bin:/opt/SUNWspro/bin:/opt/sfw/bin:/opt/sfw/sbin:/usr/sfw/bin:/usr/sfw/sbin:/usr/bin:/usr/sbin:/sbin:/usr/ucb:/usr/ccs/bin<br><br># Library Link Flags<br>LIBS="-lfasttime"<br>LD_PRELOAD=/usr/lib/libmtmalloc.so<br>LDFLAGS="-L/opt/yp/lib -R/opt/yp/lib -L/opt/sfw/lib -R/opt/sfw/lib -L/usr/sfw/lib -R/usr/sfw/lib -L/usr/lib -R/usr/lib"<br><br># Compiler Flags<br><br>CFLAGS="-fast -m32 -mt -lpthread"<br><br>CXX=CC<br><br>CXXFLAGS="-fast -m32 -mt -lpthread"<br><br># Include Flags<br>CPPFLAGS="-I/opt/yp/include -I/opt/sfw/include -I/usr/sfw/include"<br><br># Export VARS<br><br>export CFLAGS CXX CXXFLAGS CPPFLAGS LDFLAGS LIBS LD_PRELOAD<br><br>./configure --prefix=/opt/yp<br><br><br>Configure shows no errors then I run dmake (make or gmake all
 produce the same) giving no special cc flags also provides the same error.<br><br><br>root@ldfs13 # dmake<br>dmake: defaulting to parallel mode.<br>See the man page dmake(1) for more information on setting up the .dmakerc file.<br>dmake&nbsp; all-recursive<br>Making all in .<br>ldfs13 --&gt; 1 job<br>/bin/bash ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H&nbsp; -I. -I. -I. -Icompat&nbsp;&nbsp; -I/opt/yp/include -I/opt/sfw/include -I/usr/sfw/include&nbsp;&nbsp; -fast -m32 -mt -lpthread -c -o event.lo event.c<br>ldfs13 --&gt; 2 jobs<br>/bin/bash ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H&nbsp; -I. -I. -I. -Icompat&nbsp;&nbsp; -I/opt/yp/include -I/opt/sfw/include -I/usr/sfw/include&nbsp;&nbsp; -fast -m32 -mt -lpthread -c -o buffer.lo buffer.c<br>ldfs13 --&gt; Job output<br>/bin/bash ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H&nbsp; -I. -I. -I. -Icompat&nbsp;&nbsp; -I/opt/yp/include -I/opt/sfw/include -I/usr/sfw/include&nbsp;&nbsp; -fast -m32 -mt
 -lpthread -c -o buffer.lo buffer.c<br>&nbsp;cc -DHAVE_CONFIG_H -I. -I. -I. -Icompat -I/opt/yp/include -I/opt/sfw/include -I/usr/sfw/include -fast -m32 -mt -lpthread -c buffer.c&nbsp; -KPIC -DPIC -o .libs/buffer.o<br>&nbsp;cc -DHAVE_CONFIG_H -I. -I. -I. -Icompat -I/opt/yp/include -I/opt/sfw/include -I/usr/sfw/include -fast -m32 -mt -lpthread -c buffer.c -o buffer.o &gt;/dev/null 2&gt;&amp;1<br>ldfs13 --&gt; 2 jobs<br>/bin/bash ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H&nbsp; -I. -I. -I. -Icompat&nbsp;&nbsp; -I/opt/yp/include -I/opt/sfw/include -I/usr/sfw/include&nbsp;&nbsp; -fast -m32 -mt -lpthread -c -o evbuffer.lo evbuffer.c<br>ldfs13 --&gt; Job output<br>/bin/bash ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H&nbsp; -I. -I. -I. -Icompat&nbsp;&nbsp; -I/opt/yp/include -I/opt/sfw/include -I/usr/sfw/include&nbsp;&nbsp; -fast -m32 -mt -lpthread -c -o event.lo event.c<br>mkdir .libs<br>&nbsp;cc -DHAVE_CONFIG_H -I. -I. -I. -Icompat -I/opt/yp/include
 -I/opt/sfw/include -I/usr/sfw/include -fast -m32 -mt -lpthread -c event.c&nbsp; -KPIC -DPIC -o .libs/event.o<br>"event.c", line 168: warning: syntax error:&nbsp; empty declaration<br>"event.c", line 170: warning: syntax error:&nbsp; empty declaration<br>&nbsp;cc -DHAVE_CONFIG_H -I. -I. -I. -Icompat -I/opt/yp/include -I/opt/sfw/include -I/usr/sfw/include -fast -m32 -mt -lpthread -c event.c -o event.o &gt;/dev/null 2&gt;&amp;1<br>ldfs13 --&gt; 2 jobs<br>/bin/bash ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H&nbsp; -I. -I. -I. -Icompat&nbsp;&nbsp; -I/opt/yp/include -I/opt/sfw/include -I/usr/sfw/include&nbsp;&nbsp; -fast -m32 -mt -lpthread -c -o log.lo log.c<br>ldfs13 --&gt; Job output<br>/bin/bash ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H&nbsp; -I. -I. -I. -Icompat&nbsp;&nbsp; -I/opt/yp/include -I/opt/sfw/include -I/usr/sfw/include&nbsp;&nbsp; -fast -m32 -mt -lpthread -c -o evbuffer.lo evbuffer.c<br>&nbsp;cc -DHAVE_CONFIG_H -I. -I. -I. -Icompat
 -I/opt/yp/include -I/opt/sfw/include -I/usr/sfw/include -fast -m32 -mt -lpthread -c evbuffer.c&nbsp; -KPIC -DPIC -o .libs/evbuffer.o<br>&nbsp;cc -DHAVE_CONFIG_H -I. -I. -I. -Icompat -I/opt/yp/include -I/opt/sfw/include -I/usr/sfw/include -fast -m32 -mt -lpthread -c evbuffer.c -o evbuffer.o &gt;/dev/null 2&gt;&amp;1<br>ldfs13 --&gt; 2 jobs<br>/bin/bash ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H&nbsp; -I. -I. -I. -Icompat&nbsp;&nbsp; -I/opt/yp/include -I/opt/sfw/include -I/usr/sfw/include&nbsp;&nbsp; -fast -m32 -mt -lpthread -c -o event_tagging.lo event_tagging.c<br>ldfs13 --&gt; Job output<br>/bin/bash ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H&nbsp; -I. -I. -I. -Icompat&nbsp;&nbsp; -I/opt/yp/include -I/opt/sfw/include -I/usr/sfw/include&nbsp;&nbsp; -fast -m32 -mt -lpthread -c -o event_tagging.lo event_tagging.c<br>&nbsp;cc -DHAVE_CONFIG_H -I. -I. -I. -Icompat -I/opt/yp/include -I/opt/sfw/include -I/usr/sfw/include -fast -m32 -mt -lpthread -c
 event_tagging.c&nbsp; -KPIC -DPIC -o .libs/event_tagging.o<br>"event_tagging.c", line 153: syntax error before or at: decode_int_internal<br>"event_tagging.c", line 154: warning: old-style declaration or incorrect type for: decode_int_internal<br>cc: acomp failed for event_tagging.c<br>*** Error code 1<br>dmake: Fatal error: Command failed for target `event_tagging.lo'<br>Current working directory /root/libevent-1.3b<br>Waiting for 1 job to finish<br>ldfs13 --&gt; Job output<br>/bin/bash ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H&nbsp; -I. -I. -I. -Icompat&nbsp;&nbsp; -I/opt/yp/include -I/opt/sfw/include -I/usr/sfw/include&nbsp;&nbsp; -fast -m32 -mt -lpthread -c -o log.lo log.c<br>&nbsp;cc -DHAVE_CONFIG_H -I. -I. -I. -Icompat -I/opt/yp/include -I/opt/sfw/include -I/usr/sfw/include -fast -m32 -mt -lpthread -c log.c&nbsp; -KPIC -DPIC -o .libs/log.o<br>&nbsp;cc -DHAVE_CONFIG_H -I. -I. -I. -Icompat -I/opt/yp/include -I/opt/sfw/include -I/usr/sfw/include -fast -m32
 -mt -lpthread -c log.c -o log.o &gt;/dev/null 2&gt;&amp;1<br>*** Error code 1<br>The following command caused the error:<br>failcom='exit 1'; \<br>for f in x $MAKEFLAGS; do \<br>&nbsp; case $f in \<br>&nbsp;&nbsp;&nbsp; *=* | --[!k]*);; \<br>&nbsp;&nbsp;&nbsp; *k*) failcom='fail=yes';; \<br>&nbsp; esac; \<br>done; \<br>dot_seen=no; \<br>target=`echo all-recursive | sed s/-recursive//`; \<br>list='. sample test'; for subdir in $list; do \<br>&nbsp; echo "Making $target in $subdir"; \<br>&nbsp; if test "$subdir" = "."; then \<br>&nbsp;&nbsp;&nbsp; dot_seen=yes; \<br>&nbsp;&nbsp;&nbsp; local_target="$target-am"; \<br>&nbsp; else \<br>&nbsp;&nbsp;&nbsp; local_target="$target"; \<br>&nbsp; fi; \<br>&nbsp; (cd $subdir &amp;&amp; dmake&nbsp; $local_target) \<br>&nbsp; || eval $failcom; \<br>done; \<br>if test "$dot_seen" = "no"; then \<br>&nbsp; dmake&nbsp; "$target-am" || exit 1; \<br>fi; test -z "$fail"<br>dmake: Fatal error: Command failed for target `all-recursive'<br>Current
 working directory /root/libevent-1.3b<br>*** Error code 1<br>dmake: Fatal error: Command failed for target `all'<br>root@ldfs13 # <br><br><p>&#32;
      <hr size=1>Need a vacation? <a href="http://us.rd.yahoo.com/evt=48256/*http://travel.yahoo.com/;_ylc=X3oDMTFhN2hucjlpBF9TAzk3NDA3NTg5BHBvcwM1BHNlYwNncm91cHMEc2xrA2VtYWlsLW5jbQ--">Get great deals 
to amazing places </a>on Yahoo! Travel.