capi4hylafax is not compiling

Martin Waedt martin at waedt.net
Mon Jun 11 12:32:36 UTC 2007


Hello Mailinglist,

i spended a whole weekend trying to compile capi4hylafax. has anyone
done this successfully?. at first i had to fix some things in the
configure scripte regarding the tifflib. after that was done the
configure script finished successfully.  but after that make failed.
i´ve heard that some people are actually using capi4hylafax so i hope
that one of these people is reading the list an can tell me what i have
to do.
it would bei really frustrating to give up now, after i finally got my
passive isdn card working with capi support. someone also created a port
for capi4hylafax but that port isn´t working
(http://www.shellbang.org/freebsd/introducingc4b.html . you have to
scroll down to the isdn faxserver part). thanks in advance.

best regards Martin Waedt

here are the output of configure and the make error.


configure output:

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking whether make sets $(MAKE)... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... i386-unknown-freebsd6.2
checking host system type... i386-unknown-freebsd6.2
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... f77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether f77 accepts -g... yes
checking the maximum length of command line arguments... 196608
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking for correct ltmain.sh version... yes
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared
libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... freebsd6.2 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared
libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared
libraries... yes


checking dynamic linker characteristics... freebsd6.2 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for f77 option to produce PIC... -fPIC
checking if f77 PIC flag -fPIC works... yes
checking if f77 supports -c -o file.o... yes
checking whether the f77 linker (/usr/bin/ld) supports shared
libraries... yes
checking dynamic linker characteristics... freebsd6.2 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for va_copy... yes
checking for ANSI C header files... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking capi20.h usability... no
checking capi20.h presence... no
checking for capi20.h... no
checking for capi20_register in -lcapi20... yes
checking for TIFFGetVersion in -ltiff... yes
checking for pthread_create in -lpthread... yes
checking for void *... yes
checking size of void *... 4
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/defaults.h
config.status: creating src/standard/Makefile
config.status: creating src/capi/Makefile
config.status: creating src/convert/Makefile
config.status: creating src/linuxdep/Makefile
config.status: creating src/faxrecv/Makefile
config.status: creating src/faxsend/Makefile
config.status: executing depfiles commands

make output

bash-2.05b# make
Making all in src
Making all in standard
if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE=\"capi4hylafax\" -DVERSION=\"01.03.00\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
-DSTDC_HEADERS=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_LIBCAPI20=1
-DHAVE_LIBTIFF=1 -DHAVE_LIBPTHREAD=1 -DSIZEOF_VOID_P=4 -I. -I.     
-Wall -W -O2  -D_GNU_SOURCE -DDONT_USE_PROTECT_FEATURE -DNDEBUG -MT
aStdLib.o -MD -MP -MF ".deps/aStdLib.Tpo" -c -o aStdLib.o aStdLib.cpp; 
then mv -f ".deps/aStdLib.Tpo" ".deps/aStdLib.Po"; else rm -f
".deps/aStdLib.Tpo"; exit 1; fi
In file included from aStdLib.cpp:20:
aString.h: In function `tCompare s_strnicmp(const tChar*, const tChar*,
tSize)':
aString.h:460: error: `_strnicmp' was not declared in this scope
aString.h:460: warning: unused variable '_strnicmp'
aString.h: In function `tCompare s_strnicmp(const tWiChar*, const
tWiChar*, tSize)':
aString.h:465: error: `_wcsnicmp' was not declared in this scope
aString.h:465: warning: unused variable '_wcsnicmp'
*** Error code 1

Stop in /usr/home/dude/capi4hylafax/capi4hylafax-01.03.00/src/standard.
*** Error code 1

Stop in /usr/home/dude/capi4hylafax/capi4hylafax-01.03.00/src.
*** Error code 1

Stop in /usr/home/dude/capi4hylafax/capi4hylafax-01.03.00.

-- 
Martin Waedt

Waedt GmbH
Geschäftführer: Martin Waedt
Bussardstr. 5a
82166 Gräfelfing

Amtsgericht München HRB 153977

fon: +49 89 88980676

fax: +49 89 88980677

mobile: +49 177 4443960


martin at waedt.net
www.waedt.net



More information about the freebsd-isdn mailing list