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] Error while running make



Thanks for the reply. Here's the console results I get when I run the command using g++:

.././util/faxmsg.c: In function 'int main(int, char**)':
.././util/faxmsg.c:60: warning: deprecated conversion from string constant to 'char*'
.././util/faxmsg.c:102: warning: deprecated conversion from string constant to 'char*'
.././util/faxmsg.c:113: warning: deprecated conversion from string constant to 'char*'
.././util/faxmsg.c:121: warning: deprecated conversion from string constant to 'char*'
.././util/faxmsg.c:127: warning: deprecated conversion from string constant to 'char*'
.././util/faxmsg.c:133: warning: deprecated conversion from string constant to 'char*'
.././util/faxmsg.c:138: warning: deprecated conversion from string constant to 'char*'
.././util/faxmsg.c:142: warning: deprecated conversion from string constant to 'char*'
.././util/faxmsg.c:146: warning: deprecated conversion from string constant to 'char*'
ld: 0711-224 WARNING: Duplicate symbol: .__divdi3
ld: 0711-224 WARNING: Duplicate symbol: .__moddi3
ld: 0711-224 WARNING: Duplicate symbol: .__udivdi3
ld: 0711-224 WARNING: Duplicate symbol: .__umoddi3
ld: 0711-224 WARNING: Duplicate symbol: .__udivmoddi4
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
ld: 0711-317 ERROR: Undefined symbol: .cvtFacility(char const*, int*)
collect2: ld returned 8 exit status

I noticed that the same WARNING: Duplicate symbol errors occur in the Config.log. I've attached a copy of the Config.log and the screen capture I took when I ran ./configure. I hope these will help since I need to talk to my client's IT folks about shell access.

Thanks,
Mark


Configuring HylaFAX (tm) (aka FlexFAX) 6.0.4.

If configure does the wrong thing, check the file config.log for
information that may help you understand what went wrong.

Reading site-wide parameters from ./config.site.
YOW!!  Did something bad happen or am I on a powerpc-ibm-aix5.3.0.0 system?
Using /bin/gcc for a C compiler (set CC to override).
Looks like /bin/gcc supports the -g option.
... but not together with the -O option, not using it.
Looks like /bin/gcc has an ANSI C preprocessor.
... but __ANSI_CPP__ is not automatically defined, will compensate.
Looks like /bin/gcc supports the -M option for generating make dependencies.
Using /bin/g++ for a C++ compiler (set CXX to override).
Looks like /bin/g++ supports the -g option.
Using " -g" for C++ compiler options.
Looks like /bin/g++ has an ANSI C preprocessor.
... but __ANSI_CPP__ is not automatically defined, will compensate.
Using /bin/make to configure the software.
Using "include file" syntax for Makefiles.
Looks like make supports "sinclude" for conditional includes.
Using /bin/bash to process command scripts.
Looks like the system has a CXX runtime
Checking for PAM (Pluggable Authentication Module) support
... found. Enabling PAM support
Checking for JBIG library support
... found. Enabling JBIG support
Checking for NLS (gettext) library support
... not found. Disabling NLS support
Looks like -lbsd is needed for flock.

Creating port.h with necessary definitions.
... open FIFO files read+write to avoid select bug
... using call-by-reference for TIOCMBIS ioctl
... disable support for aborting sends & receives
... constrain client IDs to be <= 60002
... configure use of <stdint.h>
... configure use of <sys/select.h>
... use (void(*)(int)) for sigaction handler type
... use (void(*)(int)) for signal handler type
... configure use of mmap for memory-mapped files
... add function prototype for bzero
... add function prototype for mkdtemp
... configure use of sysconf
... configure use of ulimit
... configure use of getdtablesize
... add #define for howmany
... configure use of fchown
... add function prototype for vsyslog
... configure use of fchmod
... add function prototype for flock
... configure use of <locale.h> (internationalization support)
... configure use of <paths.h>
... configure use of SVR4 termiox support
... configure use of <utmp.h> (normal utmp interface)
... add #define for _PATH_UTMP
... add #define for _PATH_WTMP
... configure use of POSIX realtime process control interface
... configure use of TXADDCD and TXDELCD ioctls
... configure use of <crypt.h>
... checking TIFF library version
  Found tiffio.h version 20091104
  Found libtiff version 3.9
... add declaration for tiff_runlen_t
... checking PAM library version
Done creating port.h.

Checking system libraries for functionality to emulate.
... emulate mkdtemp
... emulate vsyslog
Done checking system libraries.

Checking ZLIB support.
Using ZLIB include files from 
Using pre-built ZLIB library -lz
Done checking ZLIB support.

Checking TIFF support.
Using TIFF binary files from /usr/bin
Checking JBIG-in-TIFF conversion support.
JBIG-in-TIFF conversion support found.
Done checking TIFF support.

Checking for Dynamic Shared Object (DSO) support.
There is no support for building HylaFAX as DSOs on your system.

Selecting programs used during installation and operation.
Looks like /bin/nawk should be used in command scripts.
Looks like /usr/sbin/sendmail should be used to deliver mail.
Looks like /bin/mkfifo creates FIFO special files.
Looks like /bin/mv supports the -f option to force a move.
Looks like /bin/ln supports the -s option to create a symbolic link.
Looks like a SysV-style init is used, enabling installation of startup code.
Looks like SysV init scripts go in /etc/rc.d/init.d.
Done selecting programs.

Selecting default HylaFAX configuration parameters.

Using uid uucp and gid uucp for controlling access to fax stuff.
Using uid bin and gid sys for installing programs.
Using MSB2LSB bit order for your powerpc cpu.
Looks like you need SysV getty support.
Looks like /usr/sbin/getty is the program to exec for a data call.
WARNING, no vgetty program found to handle a voice call, using /bin/vgetty.
WARNING, no egetty program found, using /bin/egetty.
Looks like you use ascii-style UUCP lock files.
Looks like UUCP lock files go in /etc/locks.
Looks like the gs imager package should be used.
Looks like /usr/bin/gs is the PostScript RIP to use.
Setting the Fontmap path to %rom%Resource/Init/:%rom%lib/:/opt/freeware/share/ghostscript/8.70/Resource/Init:/opt/freeware/share/ghostscript/8.70/lib:/opt/freeware/share/ghostscript/8.70/Resource/Font:/opt/freeware/share/ghostscript/fonts:/opt/freeware/share/fonts/default/ghostscript:/opt/freeware/share/fonts/default/Type1:/opt/freeware/share/fonts/default/TrueType:/usr/lib/DPS/outline/base:/usr/openwin/lib/X11/fonts/Type1:/usr/openwin/lib/X11/fonts/TrueType
Looks like font metric information goes in %rom%Resource/Init/:%rom%lib/:/opt/freeware/share/ghostscript/8.70/Resource/Init:/opt/freeware/share/ghostscript/8.70/lib:/opt/freeware/share/ghostscript/8.70/Resource/Font:/opt/freeware/share/ghostscript/fonts:/opt/freeware/share/fonts/default/ghostscript:/opt/freeware/share/fonts/default/Type1:/opt/freeware/share/fonts/default/TrueType:/usr/lib/DPS/outline/base:/usr/openwin/lib/X11/fonts/Type1:/usr/openwin/lib/X11/fonts/TrueType.
Looks like manual pages go in /usr/local/man.
Looks like manual pages should be installed with sysv-source-strip.
Press Return to Continue 


HylaFAX configuration parameters (part 1 of 2) are:

[ 1] Directory for applications:        /usr/local/bin
[ 2] Directory for lib data files:      /usr/local/lib/fax
[ 3] Directory for lib executables:     /usr/local/sbin
[ 4] Directory for system apps:         /usr/local/sbin
[ 5] Directory for manual pages:        /usr/local/man
[ 7] Directory for spooling:            /var/spool/hylafax
[ 8] Directory for uucp lock files:     /etc/locks
[ 9] Uucp lock file scheme:             ascii
[10] PostScript imager package:         gs
[11] PostScript imager program:         /usr/bin/gs
[12] Manual page installation scheme:   sysv-source-strip
[13] Default page size:                 North American Letter
[14] Default vertical res (lpi):        98

Are these ok [yes]? 

HylaFAX configuration parameters (part 2 of 2) are:

[15] Location of getty program:         /usr/sbin/getty
[16] Location of voice getty program:   /bin/vgetty
[17] Location of sendmail program:      /usr/sbin/sendmail
[18] Location of TIFF tools:            /usr/bin
[19] Location of SysV init scripts:     /etc/rc.d/init.d
[20] Location of SysV start scripts:    ../rc2.d
[21] Location of SysV stop scripts:     ../rc0.d
[22] Name of SysV start script:         S80hylafax
[23] Name of SysV stop script:          K05hylafax
[24] Init script starts faxq:           yes
[25] Init script starts hfaxd           yes
[26] Start paging protocol:             no
Are these ok [yes]? 

Creating defs from ./defs.in
Creating config.h from ./config.h.in
Creating rules from ./rules.in
Creating Makefile from ./Makefile.in
Creating config/Makefile from ./config/Makefile.in
Creating etc/Makefile from ./etc/Makefile.in
Creating faxalter/Makefile from ./faxalter/Makefile.in
Creating faxcover/Makefile from ./faxcover/Makefile.in
Creating faxd/Makefile from ./faxd/Makefile.in
Creating faxmail/Makefile from ./faxmail/Makefile.in
Creating faxrm/Makefile from ./faxrm/Makefile.in
Creating faxstat/Makefile from ./faxstat/Makefile.in
Creating hfaxd/Makefile from ./hfaxd/Makefile.in
Creating libhylafax/Makefile from ./libhylafax/Makefile.in
Creating man/Makefile from ./man/Makefile.in
Creating sendfax/Makefile from ./sendfax/Makefile.in
Creating sendpage/Makefile from ./sendpage/Makefile.in
Creating util/Makefile from ./util/Makefile.in
Creating port/Makefile from ./port/Makefile.in
Creating port/install.sh from ./port/install.sh.in
Creating port/version.c from ./port/version.c.in
Creating libhylafax/pagesizes from ./libhylafax/pagesizes.in
Creating etc/faxsetup.sh from ./etc/faxsetup.sh.in
Creating etc/faxaddmodem.sh from ./etc/faxaddmodem.sh.in
Creating etc/probemodem.sh from ./etc/probemodem.sh.in
Creating etc/hylafax from ./etc/hylafax.in
Creating faxcover/edit-faxcover.sh from ./faxcover/edit-faxcover.sh.in
Creating util/xferfaxstats.sh from ./util/xferfaxstats.sh.in
Creating util/recvstats.sh from ./util/recvstats.sh.in
Creating util/faxcron.sh from ./util/faxcron.sh.in
Creating util/archive.sh from ./util/archive.sh.in
Creating util/dictionary.sh from ./util/dictionary.sh.in
Creating util/common-functions.sh from ./util/common-functions.sh.in
Creating util/faxrcvd.sh from ./util/faxrcvd.sh.in
Creating util/mkcover.sh from ./util/mkcover.sh.in
Creating util/notify.sh from ./util/notify.sh.in
Creating util/notify-4.1.sh from ./util/notify-4.1.sh.in
Creating util/notify-4.2.sh from ./util/notify-4.2.sh.in
Creating util/pcl2fax.sh from ./util/pcl2fax.sh.in
Creating util/pollrcvd.sh from ./util/pollrcvd.sh.in
Creating util/ps2fax.dps.sh from ./util/ps2fax.dps.sh.in
Creating util/ps2fax.gs.sh from ./util/ps2fax.gs.sh.in
Creating util/pdf2fax.gs.sh from ./util/pdf2fax.gs.sh.in
Creating util/ps2fax.imp.sh from ./util/ps2fax.imp.sh.in
Creating util/tiff2fax.sh from ./util/tiff2fax.sh.in
Creating util/wedged.sh from ./util/wedged.sh.in
Creating util/tiff2pdf.sh from ./util/tiff2pdf.sh.in
Creating pkg/Makefile from ./pkg/Makefile.in
Creating pkg/cpkginfo from ./pkg/cpkginfo.in
Creating pkg/cproto.stub from ./pkg/cproto.stub.in
Creating pkg/crequest from ./pkg/crequest.in
Creating pkg/make_proto.sh from ./pkg/make_proto.sh.in
Creating pkg/postinstall from ./pkg/postinstall.in
Creating pkg/postremove from ./pkg/postremove.in
Creating pkg/spkginfo from ./pkg/spkginfo.in
Creating pkg/sproto.stub from ./pkg/sproto.stub.in
Creating pkg/srequest from ./pkg/srequest.in
Creating port/mkdepend from ./port/mkdepend.in
Creating regex/Makefile from ./regex/Makefile.in
Done.
# 

Attachment: Config.Log
Description: Binary data

On Aug 6, 2010, at 8:12 AM, Aidan Van Dyk wrote:

> * Mark Ochocki <mjochocki@xxxxxxxxxxxxx> [100805 18:11]:
>> I've seen this addressed a couple of times but no solution. Does anybody have any idea how to solve this one:
>> 
>> (Hylafax-6.0.4 under AIX 5.3 w/ gcc-4.2.4, libtiff-3.9.2)
>> 
>> make[3]: Entering directory `/usr/local/src/hylafax-6.0.4/util'
>> /bin/gcc        -D__ANSI_CPP__ -I. -I.. -I.././util -I.././libhylafax -I.././regex   -O  -o faxmsg .././util/faxmsg.c     -L../libhylafax -lhylafax-6.0 -ljbig -ltiff  -lz -L../regex -lregex ../port/libport.a -lbsd  
>> ld: 0711-317 ERROR: Undefined symbol: vtable for __cxxabiv1::__class_type_info
>> ld: 0711-317 ERROR: Undefined symbol: __gxx_personality_v0
>> ld: 0711-317 ERROR: Undefined symbol: .operator delete(void*)
>> ld: 0711-317 ERROR: Undefined symbol: __cxa_pure_virtual
>> ld: 0711-317 ERROR: Undefined symbol: vtable for __cxxabiv1::__si_class_type_info
>> ld: 0711-317 ERROR: Undefined symbol: .operator new(unsigned long)
>> ld: 0711-317 ERROR: Undefined symbol: .operator new[](unsigned long)
>> ld: 0711-317 ERROR: Undefined symbol: .operator delete[](void*)
>> ld: 0711-317 ERROR: Undefined symbol: .__cxa_guard_acquire
>> ld: 0711-317 ERROR: Undefined symbol: .__cxa_guard_release
>> ld: 0711-317 ERROR: Undefined symbol: .__cxa_guard_abort
>> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
>> collect2: ld returned 8 exit status
>> make[3]: *** [faxmsg] Error 1
>> make[3]: Leaving directory `/usr/local/src/hylafax-6.0.4/util'
> 
> Can you try using g++ there, instead of gcc, or adding the required C++
> link libraries (something like -lc++ or -lg++, but I don't know what it
> is on AIX)?
> 
> If you're willing to allow shell access, I can look at this and make
> sure configure and everything are updated to work.
> 
> a.
> 
> 
> 
> -- 
> Aidan Van Dyk                                             aidan@xxxxxxxx
> Senior Software Developer                          +1 215 825-8700 x8103
> iFAX Solutions, Inc.                                http://www.ifax.com/




Project hosted by iFAX Solutions