compile error (Arch Linux x86_64, gcc 4.3.2)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dvisvgm |
Fix Released
|
Medium
|
Martin Gieseking |
Bug Description
Hello,
dvisvgm 0.6 did not compile.
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
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 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 ISO C89... none needed
checking dependency style of gcc... gcc3
checking for ranlib... ranlib
checking build system type... x86_64-
checking host system type... x86_64-
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -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 kpathsea/kpathsea.h usability... yes
checking kpathsea/kpathsea.h presence... yes
checking for kpathsea/
checking for kpse_find_file in -lkpathsea... yes
checking kpathsea version... "kpathsea version 3.5.7"
checking dvipdfm.map... "kpathsea version 3.5.7"
checking for FT_Init_FreeType in -lfreetype... yes
checking for gzopen in -lz... yes
checking for getopt_long... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for unistd.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking whether closedir returns void... no
checking for error_at_line... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether stat accepts an empty string... no
checking for vprintf... yes
checking for _doprnt... no
checking for memset... yes
checking for strcasecmp... yes
checking for strtol... yes
checking for freetype-config... /usr/bin/
configure: creating ./config.status
config.status: creating Makefile
config.status: creating potracelib/Makefile
config.status: creating src/Makefile
config.status: creating doc/dvisvgm.1
config.status: creating doc/Makefile
config.status: creating rpm/dvisvgm.spec
config.status: creating rpm/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
patching file src/InputBuffer.h
make all-recursive
make[1]: Entering directory `/home/
Making all in potracelib
make[2]: Entering directory `/home/
make[2]: Für das Ziel »all« ist nichts zu tun.
make[2]: Leaving directory `/home/
Making all in src
make[2]: Entering directory `/home/
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/
In file included from FontEncoding.
InputBuffer.h: In member function »virtual void StringInputBuff
InputBuffer.h:92: Fehler: keine passende Funktion für Aufruf von »min(unsigned int&, long unsigned int)«
make[2]: *** [FontEncoding.o] Fehler 1
make[2]: Leaving directory `/home/
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/
make: *** [all] Fehler 2
==> FEHLER: Build fehlgeschlagen.
Breche ab ...
Changed in dvisvgm: | |
importance: | Undecided → Medium |
assignee: | nobody → Martin Gieseking (martin-gieseking) |
The reason is probably a missing include. Unfortunately, I can't reproduce this bug at the moment.
Please try the attached patch and let me know if it solves this problem.
File Added: p1.patch