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] Compile error



On Thu, 2004-05-27 at 16:06, George Bell wrote:
> On Thursday 27 May 2004 14:31, James Pifer wrote:
> > The only thing I can see missing is possibly ps2fax. Apparently the RPM
> > version of Hylafax includes it? Even looking at the howto on installing
> > Hylafax from source does not say it's a requirement. I'm at a loss.
> >
> > James
> >
> > On Thu, 2004-05-27 at 12:08, George Bell wrote:
> > > I couldn't find the specific reason for the compiler to fail.  I can only
> > > guess some missing library?  You might check in
> > > "hylafax-4.1.8/html/building.php" to make sure you have everything
> > > hylafax-4.1.8 needs to compile.
> > >
> > > George
> > >
> > > On Thursday 27 May 2004 11:12, James Pifer wrote:
> > > > On Wed, 2004-05-26 at 14:24, James Pifer wrote:
> > > > > I'm trying to install the patch for distinctive ring. Mine was
> > > > > installed by RPM so I can use the patch I'm installing manually. Upon
> > > > > trying to recompile I first had a problem with the tiff library. Mine
> > > > > was 3.5.x installed from RPM. I installed 3.6.1 from source and got
> > > > > past that. Now when I run ./configure it gets pretty far and bombs
> > > > > on:
> > > > > /usr/bin/g++                              -D__ANSI_CPP__ -I. -I..
> > > > > -I.././regex -I.././util -I.././util -I/usr/local/include -g -O  -c
> > > > > FmtTime.c++
> > > > > /usr/bin/g++                              -D__ANSI_CPP__ -I. -I..
> > > > > -I.././regex -I.././util -I.././util -I/usr/local/include -g -O  -c
> > > > > TimeOfDay.c++
> > > > > /usr/bin/g++                              -D__ANSI_CPP__ -I. -I..
> > > > > -I.././regex -I.././util -I.././util -I/usr/local/include -g -O  -c
> > > > > FaxDB.c++
> > > > > make[3]: *** No rule to make target `TextFmt.c++', needed by
> > > > > `TextFmt.o'.  Stop.
> I don't understand what's going on here because TexfFmt.c++ is not what I 
> would consider a target.    The only idea that comes to mind is the change in  
> tiff library done earlier caused some change midstream.  Try starting fresh 
> with make clean and make distclean.  Start over from ./configure again.
> 
> George
> > > > > make[3]: Leaving directory
> > > > > `/install/Hylafax/hylafax-4.1.8/hylafax-4.1.8/util'
> > > > > make[2]: *** [default] Error 2
> > > > > make[2]: Leaving directory
> > > > > `/install/Hylafax/hylafax-4.1.8/hylafax-4.1.8/util'
> > > > > make[1]: *** [dirs] Error 2
> > > > > make[1]: Leaving directory
> > > > > `/install/Hylafax/hylafax-4.1.8/hylafax-4.1.8'
> > > > > make: *** [default] Error 2
> > > > >
> > > > > I searched and found one other person with this exact issue, but
> > > > > there was no solution. Anyone know what the problem is?
> > > > >
> > > > > Thanks,
> > > > > James
> > > > >
> > > > >
> > > > > ____________________ 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*
> > > >
> > > > <bump> Any ideas?
> > > >
> > > > Thanks,
> > > > James
> > > >
> > > >
> > > > ____________________ 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*
> >
> > ____________________ 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*
> 
make clean
make distclean
./configure
make still bombs. 

I don't know exactly what qualifies as a target or not, but TextFmt.c++
is listed in util/Makefile.in. If I comment that out of the array the
make does get farther but then bombs with:
-rpath,/usr/local/lib -lfaxutil -L/usr/local/lib   -L/usr/local/lib
-ltiff -lz -L../regex -lregex  -lcrypt -lutil -lm  
faxinfo.o(.text+0x26a): In function `main':
../util/faxinfo.c++:96: undefined reference to
`Class2Params::Class2Params[in-charge]()'
faxinfo.o(.text+0x295):../util/faxinfo.c++:100: undefined reference to
`Class2Params::decode(unsigned)'
faxinfo.o(.text+0x359):../util/faxinfo.c++:112: undefined reference to
`Class2Params::setVerticalRes(unsigned)'
faxinfo.o(.text+0x37d):../util/faxinfo.c++:114: undefined reference to
`Class2Params::setPageWidthInPixels(unsigned)'
faxinfo.o(.text+0x3ec):../util/faxinfo.c++:116: undefined reference to
`Class2Params::setPageLengthInMM(unsigned)'
faxinfo.o(.text+0x57c):../util/faxinfo.c++:148: undefined reference to
`Class2Params::verticalRes() const'
faxinfo.o(.text+0x64d):../util/faxinfo.c++:163: undefined reference to
`Class2Params::verticalRes() const'
faxinfo.o(.text+0x670):../util/faxinfo.c++:165: undefined reference to
`Class2Params::verticalRes() const'
faxinfo.o(.text+0x695):../util/faxinfo.c++:168: undefined reference to
`Class2Params::verticalRes() const'
faxinfo.o(.text+0x714):../util/faxinfo.c++:173: undefined reference to
`Class2Params::pageWidth() const'
faxinfo.o(.text+0x796):../util/faxinfo.c++:177: undefined reference to
`Class2Params::bitRateName() const'
faxinfo.o(.text+0x7b1):../util/faxinfo.c++:178: undefined reference to
`Class2Params::dataFormatName() const'
collect2: ld returned 1 exit status
make[3]: *** [faxinfo] Error 1
make[3]: Leaving directory
`/install/Hylafax/hylafax-4.1.8/hylafax-4.1.8/util'
make[2]: *** [default] Error 2
make[2]: Leaving directory
`/install/Hylafax/hylafax-4.1.8/hylafax-4.1.8/util'
make[1]: *** [dirs] Error 2
make[1]: Leaving directory
`/install/Hylafax/hylafax-4.1.8/hylafax-4.1.8'
make: *** [default] Error 2

Possibly because I commented the other out?

Thanks,
James


____________________ 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