capi4hylafax compiliert nicht

dude140678

New Member
nach stundenlangen testen geb ich nun verzweifelt auf und hoffe hier auf hilfe.
ich bekomme es einfach nicht compiliert. gibt es hier jemand der es erfolgreich compiliert hat ? hier mal der output des configure script (welches erst nach einigen modifikationen durchlief und die libtiff gefunden hat und durchlief)

Code:
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

hier nun der fehler von make

Code:
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.

nachdem ich endlich meine passive isdn karte mit capi unterstützung zum laufen bekomme haben ist nun sehr frustrierend an diese stelle zu scheitern.
 
Gibt es da denn nichts was du aus den Ports nehmen kannst?

Abgesehen davon verwenden die meisten Programme GNU-Make. Das heißt gmake und nicht make verwenden.
 
Klingt in diesem Zusammenhang CAPI nicht irgendwie auch schon ganz schön (linux)kernelnah? Würde mich nicht wundern, wenn es eine derart linuxspezifische Geschichte ist, dass sie unter BSD ohnehin nicht läuft.
 
Rein aus Neugier… nach all den Jahren. Hast Du mittlerweile einen laufenden Faxserver unter FreeBSD?
 
Ok… hab es kompiliert bekommen. Hätte ich mir ja die Mühe heute morgen sparen können :-P

Wie sieht denn Deine rc.conf aus, sodass alles inkl. Hylafax automatisch startet?
 
Zuletzt bearbeitet:
Zurück
Oben