HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] Compiling hylafax-4.3.2beta2 under Solaris x86 10 using gcc-3.4.6



Thanks for hte assist..

unfortunally, it did not::
bash-3.00# /usr/ccs/bin/make install
/usr/5bin/bash ./port/install.sh -u bin -g sys -m 755 \
-idb hylafax.sw.client -dir \
/usr/local/bin /usr/local/lib/fax /usr/local/sbin /usr/local/sbin
/usr/5bin/bash ./port/install.sh -u bin -g sys -m 755 \
-idb hylafax.sw.server -dir /usr/local/sbin;
/usr/5bin/bash ./port/install.sh -u uucp -g uucp -m 755 \
-idb hylafax.sw.server -dir /var/spool/hylafax
/usr/5bin/bash ./port/install.sh -u uucp -g uucp -m 755 \
-idb hylafax.sw.server -dir \
-F /var/spool/hylafax bin client config dev etc info log recvq status
/usr/5bin/bash ./port/install.sh -u uucp -g uucp -m 700 \
-idb hylafax.sw.server -dir \
-F /var/spool/hylafax sendq doneq docq tmp pollq archive
/usr/5bin/bash ./port/install.sh -u uucp -g uucp -m 600 -fifo \
-idb hylafax.sw.server -F /var/spool/hylafax FIFO
/usr/5bin/bash ./port/install.sh -m 444 -F /var/spool/hylafax -idb hylafax.sw.server \
-src ././COPYRIGHT -O COPYRIGHT
= regex
/usr/5bin/bash ../port/mkdepend -e 's@ /usr/include/@ /@' -c /usr/local/bin/gcc -L/usr/local/lib -R/usr/local/lib -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././regex -I.././util -I/usr/local/include -g -fpic -O -c -M -i Makedepend regexec.c regcomp.c regfree.c regerror.c
/usr/local/bin/gcc -L/usr/local/lib -R/usr/local/lib -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././regex -I.././util -I/usr/local/include -g -fpic -O -c regexec.c
/usr/local/bin/gcc -L/usr/local/lib -R/usr/local/lib -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././regex -I.././util -I/usr/local/include -g -fpic -O -c regcomp.c
/usr/local/bin/gcc -L/usr/local/lib -R/usr/local/lib -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././regex -I.././util -I/usr/local/include -g -fpic -O -c regfree.c
/usr/local/bin/gcc -L/usr/local/lib -R/usr/local/lib -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././regex -I.././util -I/usr/local/include -g -fpic -O -c regerror.c
/usr/ccs/bin/ar rc libregex.a regexec.o regcomp.o regfree.o regerror.o
/usr/ccs/bin/ranlib libregex.a
= util
/usr/5bin/bash ../port/mkdepend -e 's@ /usr/include/@ /@' -s C++ -e 's@\.c++\.o *: @\.o: @' -c /usr/local/bin/g++ -L/usr/local/lib -R/usr/local/lib -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././util -I.././util -I/usr/local/include -g -fpic -O -c -M -i Makedepend Array.c++ BoolArray.c++ Dictionary.c++ Obj.c++ PageSize.c++ RE.c++ REArray.c++ REDict.c++ StackBuffer.c++ Str.c++ StrArray.c++ StrDict.c++ Dispatcher.c++ IOHandler.c++ Sys.c++ SystemLog.c++ Timeout.c++ Fatal.c++ AtSyntax.c++ DialRules.c++ FmtTime.c++ Sequence.c++ TimeOfDay.c++ FaxDB.c++ TextFormat.c++ Class2Params.c++ FaxParams.c++ FaxClient.c++ FaxConfig.c++ FaxRecvInfo.c++ FaxSendInfo.c++ JobExt.c++ CallID.c++ ModemExt.c++ SendFaxJob.c++ SendFaxClient.c++ TypeRules.c++ Transport.c++ InetTransport.c++ UnixTransport.c++ SNPPClient.c++ SNPPJob.c++
/usr/5bin/bash ../port/mkdepend -e 's@ /usr/include/@ /@' -c /usr/local/bin/gcc -L/usr/local/lib -R/usr/local/lib -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././util -I.././util -I/usr/local/include -g -fpic -O -c -M -i Makedepend cvtfacility.c fxassert.c
/usr/local/bin/g++ -L/usr/local/lib -R/usr/local/lib -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././util -I.././util -I/usr/local/include -g -fpic -O -c Array.c++
/usr/local/bin/g++ -L/usr/local/lib -R/usr/local/lib -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././util -I.././util -I/usr/local/include -g -fpic -O -c BoolArray.c++
/usr/local/bin/g++ -L/usr/local/lib -R/usr/local/lib -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././util -I.././util -I/usr/local/include -g -fpic -O -c Dictionary.c++
/usr/local/bin/g++ -L/usr/local/lib -R/usr/local/lib -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././util -I.././util -I/usr/local/include -g -fpic -O -c Obj.c++
/usr/local/bin/g++ -L/usr/local/lib -R/usr/local/lib -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././util -I.././util -I/usr/local/include -g -fpic -O -c PageSize.c++
/usr/local/bin/g++ -L/usr/local/lib -R/usr/local/lib -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././util -I.././util -I/usr/local/include -g -fpic -O -c RE.c++
/usr/local/bin/g++ -L/usr/local/lib -R/usr/local/lib -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././util -I.././util -I/usr/local/include -g -fpic -O -c REArray.c++
/usr/local/bin/g++ -L/usr/local/lib -R/usr/local/lib -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././util -I.././util -I/usr/local/include -g -fpic -O -c REDict.c++
/usr/local/bin/g++ -L/usr/local/lib -R/usr/local/lib -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././util -I.././util -I/usr/local/include -g -fpic -O -c StackBuffer.c++
/usr/local/bin/g++ -L/usr/local/lib -R/usr/local/lib -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././util -I.././util -I/usr/local/include -g -fpic -O -c Str.c++
/usr/local/bin/g++ -L/usr/local/lib -R/usr/local/lib -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././util -I.././util -I/usr/local/include -g -fpic -O -c StrArray.c++
/usr/local/bin/g++ -L/usr/local/lib -R/usr/local/lib -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././util -I.././util -I/usr/local/include -g -fpic -O -c StrDict.c++
/usr/local/bin/g++ -L/usr/local/lib -R/usr/local/lib -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././util -I.././util -I/usr/local/include -g -fpic -O -c Dispatcher.c++
/usr/local/bin/g++ -L/usr/local/lib -R/usr/local/lib -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././util -I.././util -I/usr/local/include -g -fpic -O -c IOHandler.c++
/usr/local/bin/g++ -L/usr/local/lib -R/usr/local/lib -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././util -I.././util -I/usr/local/include -g -fpic -O -c Sys.c++
/usr/local/bin/g++ -L/usr/local/lib -R/usr/local/lib -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././util -I.././util -I/usr/local/include -g -fpic -O -c SystemLog.c++
/usr/local/bin/g++ -L/usr/local/lib -R/usr/local/lib -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././util -I.././util -I/usr/local/include -g -fpic -O -c Timeout.c++
/usr/local/bin/g++ -L/usr/local/lib -R/usr/local/lib -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././util -I.././util -I/usr/local/include -g -fpic -O -c Fatal.c++
/usr/local/bin/g++ -L/usr/local/lib -R/usr/local/lib -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././util -I.././util -I/usr/local/include -g -fpic -O -c AtSyntax.c++
/usr/local/bin/g++ -L/usr/local/lib -R/usr/local/lib -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././util -I.././util -I/usr/local/include -g -fpic -O -c DialRules.c++
/usr/local/bin/g++ -L/usr/local/lib -R/usr/local/lib -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././util -I.././util -I/usr/local/include -g -fpic -O -c FmtTime.c++
/usr/local/bin/g++ -L/usr/local/lib -R/usr/local/lib -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././util -I.././util -I/usr/local/include -g -fpic -O -c Sequence.c++
/usr/local/bin/g++ -L/usr/local/lib -R/usr/local/lib -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././util -I.././util -I/usr/local/include -g -fpic -O -c TimeOfDay.c++
/usr/local/bin/g++ -L/usr/local/lib -R/usr/local/lib -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././util -I.././util -I/usr/local/include -g -fpic -O -c FaxDB.c++
/usr/local/bin/g++ -L/usr/local/lib -R/usr/local/lib -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././util -I.././util -I/usr/local/include -g -fpic -O -c TextFormat.c++
/usr/local/bin/g++ -L/usr/local/lib -R/usr/local/lib -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././util -I.././util -I/usr/local/include -g -fpic -O -c Class2Params.c++
/usr/local/bin/g++ -L/usr/local/lib -R/usr/local/lib -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././util -I.././util -I/usr/local/include -g -fpic -O -c FaxParams.c++
/usr/local/bin/g++ -L/usr/local/lib -R/usr/local/lib -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././util -I.././util -I/usr/local/include -g -fpic -O -c FaxClient.c++
/usr/local/bin/g++ -L/usr/local/lib -R/usr/local/lib -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././util -I.././util -I/usr/local/include -g -fpic -O -c FaxConfig.c++
/usr/local/bin/g++ -L/usr/local/lib -R/usr/local/lib -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././util -I.././util -I/usr/local/include -g -fpic -O -c FaxRecvInfo.c++
/usr/local/bin/g++ -L/usr/local/lib -R/usr/local/lib -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././util -I.././util -I/usr/local/include -g -fpic -O -c FaxSendInfo.c++
/usr/local/bin/g++ -L/usr/local/lib -R/usr/local/lib -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././util -I.././util -I/usr/local/include -g -fpic -O -c JobExt.c++
/usr/local/bin/g++ -L/usr/local/lib -R/usr/local/lib -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././util -I.././util -I/usr/local/include -g -fpic -O -c CallID.c++
/usr/local/bin/g++ -L/usr/local/lib -R/usr/local/lib -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././util -I.././util -I/usr/local/include -g -fpic -O -c ModemExt.c++
/usr/local/bin/g++ -L/usr/local/lib -R/usr/local/lib -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././util -I.././util -I/usr/local/include -g -fpic -O -c SendFaxJob.c++
/usr/local/bin/g++ -L/usr/local/lib -R/usr/local/lib -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././util -I.././util -I/usr/local/include -g -fpic -O -c SendFaxClient.c++
/usr/local/bin/g++ -L/usr/local/lib -R/usr/local/lib -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././util -I.././util -I/usr/local/include -g -fpic -O -c TypeRules.c++
/usr/local/bin/g++ -L/usr/local/lib -R/usr/local/lib -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././util -I.././util -I/usr/local/include -g -fpic -O -c Transport.c++
/usr/local/bin/g++ -L/usr/local/lib -R/usr/local/lib -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././util -I.././util -I/usr/local/include -g -fpic -O -c InetTransport.c++
/usr/local/bin/g++ -L/usr/local/lib -R/usr/local/lib -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././util -I.././util -I/usr/local/include -g -fpic -O -c UnixTransport.c++
/usr/local/bin/g++ -L/usr/local/lib -R/usr/local/lib -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././util -I.././util -I/usr/local/include -g -fpic -O -c SNPPClient.c++
/usr/local/bin/g++ -L/usr/local/lib -R/usr/local/lib -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././util -I.././util -I/usr/local/include -g -fpic -O -c SNPPJob.c++
/usr/local/bin/gcc -L/usr/local/lib -R/usr/local/lib -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././util -I.././util -I/usr/local/include -g -fpic -O -c cvtfacility.c
/usr/local/bin/gcc -L/usr/local/lib -R/usr/local/lib -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././util -I.././util -I/usr/local/include -g -fpic -O -c fxassert.c
/usr/local/bin/g++ -shared -Wl,-G,-h,libfaxutil.so -o libfaxutil.so.4.3.2beta2 Array.o BoolArray.o Dictionary.o Obj.o PageSize.o RE.o REArray.o REDict.o StackBuffer.o Str.o StrArray.o StrDict.o Dispatcher.o IOHandler.o Sys.o SystemLog.o Timeout.o Fatal.o AtSyntax.o DialRules.o FmtTime.o Sequence.o TimeOfDay.o FaxDB.o TextFormat.o Class2Params.o FaxParams.o FaxClient.o FaxConfig.o FaxRecvInfo.o FaxSendInfo.o JobExt.o CallID.o ModemExt.o SendFaxJob.o SendFaxClient.o TypeRules.o Transport.o InetTransport.o UnixTransport.o SNPPClient.o SNPPJob.o cvtfacility.o fxassert.o
ln -fs libfaxutil.so.4.3.2beta2 libfaxutil.so
/usr/local/bin/gcc -L/usr/local/lib -R/usr/local/lib -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././util -I.././util -I/usr/local/include -g -fpic -O -o faxmsg .././util/faxmsg.c -L../util -L../faxd -R/usr/local/lib -lfaxutil -lstdc++ -L/usr/local/lib -lpam -L/usr/local/lib -ltiff -lz -L../regex -lregex ../port/libport.a -lsocket -lnsl -lmalloc
gcc: ../port/libport.a: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `faxmsg'
Current working directory /export/home/del/hylafax-4.3.2beta2/util
*** Error code 1
The following command caused the error:
/usr/ccs/bin/make targets
make: Fatal error: Command failed for target `default'
Current working directory /export/home/del/hylafax-4.3.2beta2/util
*** Error code 1
The following command caused the error:
for i in util faxalter faxcover faxd faxmail faxrm faxstat hfaxd sendfax sendpage config etc man; do \
(/usr/5bin/echo "= "$i; cd $i; /usr/ccs/bin/make install) || exit 1; \
done
make: Fatal error: Command failed for target `install'
bash-3.00#



donnie



Aidan Van Dyk wrote:
* donnie <del@xxxxxxxxxxxx> [070201 18:09]:
excellent catch....I saw it just after I sent it...

bash-3.00# /usr/local/bin/g++ -v
Reading specs from /usr/local/lib/gcc/i386-pc-solaris2.10/3.4.6/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --enable-shared --enable-languages=c,c++,f77
Thread model: posix
gcc version 3.4.6
bash-3.00# date
Thu Feb 1 06:08:30 EST 2007
bash-3.00#

Can you see if this patch solves your problem?


===== configure 1.138 vs edited =====
--- 1.138/configure     2007-02-02 09:29:43 -05:00
+++ edited/configure    2007-02-02 09:28:57 -05:00
@@ -3447,7 +3447,7 @@
        LIBFAXSERVER='-L${FAXD} -lfaxserver'
        # options here are passed directly to ld, not through g++ first
        if [ ${ISGCC} = "yes" ] ; then
-           DSOOPTS='-shared -wl,-G,-h,$@'
+           DSOOPTS='-shared -Wl,-G,-h,$@'
            LLDOPTS='-L${UTIL} -L${FAXD} -R${LIBDIR} -lfaxutil -lstdc++'
            GCOPTS="${GCOPTS} -fpic"
            GCXXOPTS="${GCXXOPTS} -fpic"

a.



____________________ HylaFAX(tm) Users Mailing List _______________________
 To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
 *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions