Hylafax Mailing List Archives

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

[hylafax-users] 4.2.0rc2 compile error



on an alpha linux machine i get errors like:

/usr/bin/g++ -shared -fpic -Wl,-soname,libfaxutil.so -o libfaxutil.so.4.2.0rc2 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 FaxClient.o FaxConfig.o FaxRecvInfo.o FaxSendInfo.o JobExt.o ModemExt.o SendFaxJob.o SendFaxClient.o TypeRules.o Transport.o InetTransport.o UnixTransport.o SNPPClient.o SNPPJob.o cvtfacility.o fxassert.o \
     -ltiff -ljpeg -lz  -lz  -L../regex -lregex \
    -lcrypt -lutil -lm
/usr/lib/gcc-lib/alpha-unknown-linux-gnu/3.3.2/../../../../alpha-unknown-linux-gnu/bin/ld: PageSize.o: gp-relative relocation against dynamic symbol PageSizeInfo::pageInfo
/usr/lib/gcc-lib/alpha-unknown-linux-gnu/3.3.2/../../../../alpha-unknown-linux-gnu/bin/ld: PageSize.o: gp-relative relocation against dynamic symbol PageSizeInfo::pageInfo

Putting 
{OBJECTS}: GC++OPTS+=-fpic into util/Makefile.LINUXdso
and 
${SERVER_OBJS}: GC++OPTS+=-fpic
${MODEM_OBJS}: GC++OPTS+=-fpic into faxd/Makefile.LINUXdso

seems to resolve this, but from my understanding of
http://people.redhat.com/drepper/dsohowto.pdf all code going into a dso
should be compiled with -fpic/fPIC so thought this change need not be
specific to the alpha.  Is this something that should be included in the
release or is there a better way?


____________________ 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*



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services