Hello, someone with experience compiling in windows???
the error is when I ejecute the command "MAKE"
I paste below the command ./configure too and the jansson.pc file
please HELP and sorry for my english...
Thanks
MAKE
-------------------------------------------------
make all-recursive
make[1]: Entering directory `/home/joseska/bfgminer-3.0.0'
Making all in lib
make[2]: Entering directory `/home/joseska/bfgminer-3.0.0/lib'
GEN arg-nonnull.h
GEN c++defs.h
GEN warn-on-use.h
GEN signal.h
GEN string.h
make all-recursive
make[3]: Entering directory `/home/joseska/bfgminer-3.0.0/lib'
make[4]: Entering directory `/home/joseska/bfgminer-3.0.0/lib'
CC dummy.o
CC memmem.o
CC sigaction.o
CC sigprocmask.o
CC strtok_r.o
AR libgnu.a
make[4]: Leaving directory `/home/joseska/bfgminer-3.0.0/lib'
make[3]: Leaving directory `/home/joseska/bfgminer-3.0.0/lib'
make[2]: Leaving directory `/home/joseska/bfgminer-3.0.0/lib'
Making all in ccan
make[2]: Entering directory `/home/joseska/bfgminer-3.0.0/ccan'
CC helpers.o
CC opt.o
CC parse.o
CC usage.o
AR libccan.a
make[2]: Leaving directory `/home/joseska/bfgminer-3.0.0/ccan'
Making all in libblkmaker
make[2]: Entering directory `/home/joseska/bfgminer-3.0.0/libblkmaker'
/bin/sh ./libtool --tag=CC --mode=compile gcc -std=gnu99 -DPACKAGE_NAME=\"lib
blkmaker\" -DPACKAGE_TARNAME=\"libblkmaker\" -DPACKAGE_VERSION=\"0.1\" -DPACKAGE
_STRING=\"libblkmaker\ 0.1\" -DPACKAGE_BUGREPORT=\"
[email protected]\"
-DPACKAGE_URL=\"
http://gitorious.org/bitcoin/libblkmaker\" -DPACKAGE=\"libblkma
ker\" -DVERSION=\"0.1\" -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 -DHAV
E_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE
_LIBWS2_32=1 -I. @CPPFLAG_JANSSON_STATICLIB@ -IC:/MinGW/include -O2 -msse2
-MT libblkmaker_jansson_0.1_la-blkmaker_jansson.lo -MD -MP -MF .deps/libblkmaker
_jansson_0.1_la-blkmaker_jansson.Tpo -c -o libblkmaker_jansson_0.1_la-blkmaker_j
ansson.lo `test -f 'blkmaker_jansson.c' || echo './'`blkmaker_jansson.c
libtool: compile: gcc -std=gnu99 -DPACKAGE_NAME=\"libblkmaker\" -DPACKAGE_TARNA
ME=\"libblkmaker\" -DPACKAGE_VERSION=\"0.1\" "-DPACKAGE_STRING=\"libblkmaker 0.1
\"" -DPACKAGE_BUGREPORT=\"
[email protected]\" -DPACKAGE_URL=\"http://g
itorious.org/bitcoin/libblkmaker\" -DPACKAGE=\"libblkmaker\" -DVERSION=\"0.1\" -
DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAV
E_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STD
INT_H=1 -DHAVE_UNISTD_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBWS2_32=1 -I. @CPPFLAG
_JANSSON_STATICLIB@ -IC:/MinGW/include -O2 -msse2 -MT libblkmaker_jansson_0.1_la
-blkmaker_jansson.lo -MD -MP -MF .deps/libblkmaker_jansson_0.1_la-blkmaker_janss
on.Tpo -c blkmaker_jansson.c -DDLL_EXPORT -DPIC -o .libs/libblkmaker_jansson_0.
1_la-blkmaker_jansson.o
gcc.exe: error: @CPPFLAG_JANSSON_STATICLIB@: No such file or directory
make[2]: *** [libblkmaker_jansson_0.1_la-blkmaker_jansson.lo] Error 1
make[2]: Leaving directory `/home/joseska/bfgminer-3.0.0/libblkmaker'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/joseska/bfgminer-3.0.0'
make: *** [all] Error 2joseska@WIN-HDBU4L5I4L6 ~/bfgminer-3.0.0
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
CFLAGS="-O2 -msse2" ./configure --enable-cpumining --enable-scrypt
-------------------------------------------------------------------------------
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking target system type... i686-pc-mingw32
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 style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
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 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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc option to accept ISO C99... -std=gnu99
checking for ranlib... ranlib
checking whether gcc -std=gnu99 needs -traditional... no
checking whether gcc -std=gnu99 and cc understand -c and -o together... yes
checking for ranlib... (cached) ranlib
checking sys/mman.h usability... no
checking sys/mman.h presence... no
checking for sys/mman.h... no
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for stdint.h... (cached) yes
checking for mprotect... yes
checking for sigaction... no
checking for sigaltstack... no
checking for siginterrupt... no
checking for mmap... no
checking whether memchr works... yes
checking whether memmem is declared... no
checking for memmem... no
checking for C/C++ restrict keyword... __restrict
checking for uid_t in sys/types.h... no
checking for inline... inline
checking whether the preprocessor supports include_next... yes
checking whether system header files limit the line length... no
checking for wchar_t... yes
checking for unsigned long long int... yes
checking for long long int... yes
checking whether stdint.h conforms to C99... yes
checking whether memmem is declared without a macro... no
checking whether mempcpy is declared without a macro... no
checking whether memrchr is declared without a macro... no
checking whether rawmemchr is declared without a macro... no
checking whether stpcpy is declared without a macro... no
checking whether stpncpy is declared without a macro... no
checking whether strchrnul is declared without a macro... no
checking whether strdup is declared without a macro... yes
checking whether strncat is declared without a macro... yes
checking whether strndup is declared without a macro... no
checking whether strnlen is declared without a macro... no
checking whether strpbrk is declared without a macro... yes
checking whether strsep is declared without a macro... no
checking whether strcasestr is declared without a macro... no
checking whether strtok_r is declared without a macro... no
checking whether strerror_r is declared without a macro... no
checking whether strsignal is declared without a macro... no
checking whether strverscmp is declared without a macro... no
checking whether strtok_r is declared... no
checking for memmem... (cached) no
checking for siginfo_t... no
checking for volatile sig_atomic_t... yes
checking for sighandler_t... no
checking whether sigaction is declared without a macro... no
checking whether sigaddset is declared without a macro... no
checking whether sigdelset is declared without a macro... no
checking whether sigemptyset is declared without a macro... no
checking whether sigfillset is declared without a macro... no
checking whether sigismember is declared without a macro... no
checking whether sigpending is declared without a macro... no
checking whether sigprocmask is declared without a macro... no
checking for sigset_t... yes
checking whether NULL can be used in arbitrary expressions... yes
checking for strtok_r... no
checking for ANSI C header files... (cached) yes
checking syslog.h usability... no
checking syslog.h presence... no
checking for syslog.h... no
checking sys/epoll.h usability... no
checking sys/epoll.h presence... no
checking for sys/epoll.h... no
checking sys/prctl.h usability... no
checking sys/prctl.h presence... no
checking for sys/prctl.h... no
checking for size_t... yes
checking for working alloca.h... no
checking for alloca... yes
checking for pthread_cancel... with -pthread -lpthread
checking for pkg-config... /mingw/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for JANSSON... yes
checking for pkg-config... (cached) /mingw/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBUSB... no
checking for libusb_init in -lusb-1.0... no
checking for libusb_init in -lusb... no
configure: WARNING: Could not find libusb, required for X6500 support
configure: WARNING: Could not find libusb, required for ZTEX support
checking for best native curses library... none?
checking for library containing addstr... -lpdcurses
checking for yasm... false
configure: yasm is required for the assembly algorithms. They will be skipped.
checking libudev.h usability... no
checking libudev.h presence... no
checking for libudev.h... no
checking for LIBCURL... yes
configure: WARNING: Your libcurl pkgconfig file is broken, applying workaround
checking for bswap_* functions... no
checking for __builtin_bswap* functions... no
checking for __bswap_* functions... no
checking for __swap* functions... no
checking for swap* functions... no
checking for OSSwapInt* functions... no
checking for platform endian... little endian (sys/param.h)
checking if GNU format attribute compiles... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating x86_64/Makefile
config.status: creating x86_32/Makefile
config.status: creating ccan/Makefile
config.status: creating lib/Makefile
config.status: creating config.h
config.status: executing depfiles commands
=== configuring in libblkmaker (/home/joseska/bfgminer-3.0.0/libblkmaker)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/
local' '--enable-cpumining' '--enable-scrypt' 'CFLAGS=-O2 -msse2' --cache-file=
/dev/null --srcdir=.
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 style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
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 gcc option to accept ISO C99... -std=gnu99
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc -std=gnu99... c:/mingw/mingw32/bin/ld.exe
checking if the linker (c:/mingw/mingw32/bin/ld.exe) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /mingw/bin/nm
checking the name lister (/mingw/bin/nm) interface... BSD nm
checking whether ln -s works... no, using cp -p
checking the maximum length of command line arguments... 8192
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-mingw32 file names to i686-pc-mingw32 format...
func_convert_file_msys_to_w32
checking how to convert i686-pc-mingw32 file names to toolchain format... func_c
onvert_file_msys_to_w32
checking for c:/mingw/mingw32/bin/ld.exe option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... file_magic ^x86 archive import|
^x86 DLL
checking for dlltool... dlltool
checking how to associate runtime and link libraries... func_cygming_dll_for_imp
lib
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /mingw/bin/nm output from gcc -std=gnu99 object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -std=gnu99 -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 for dlfcn.h... no
checking for objdir... .libs
checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for gcc -std=gnu99 option to produce PIC... -DDLL_EXPORT -DPIC
checking if gcc -std=gnu99 PIC flag -DDLL_EXPORT -DPIC works... yes
checking if gcc -std=gnu99 static flag -static works... yes
checking if gcc -std=gnu99 supports -c -o file.o... yes
checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the gcc -std=gnu99 linker (c:/mingw/mingw32/bin/ld.exe) support
s shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... Win32 ld.exe
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... no
checking for pkg-config... /mingw/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for JANSSON... yes
checking for strchr in -lws2_32... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libblkmaker_jansson-0.1.pc
config.status: executing depfiles commands
config.status: executing libtool commands
------------------------------------------------------------------------
bfgminer 3.0.0
------------------------------------------------------------------------
Configuration Options Summary:
curses.TUI...........: FOUND: pdcurses
scrypt...............: Enabled
OpenCL...............: Enabled
ADL.monitoring.....: Enabled
Avalon.ASICs.........: Disabled
BitForce.devices.....: Enabled
Icarus.FPGAs.........: Enabled
ModMiner.FPGAs.......: Enabled
X6500.FPGAs..........: Disabled (libusb not found)
ZTEX.FPGAs...........: Disabled (libusb not found)
libudev.detection....: no
CPU Mining...........: Enabled
ASM.(for CPU mining).: false
Compilation............: make (or gmake)
CPPFLAGS.............: -pthread
CFLAGS...............: -O2 -msse2 @CPPFLAG_JANSSON_STATICLIB@ -IC:/MinGW/inclu
de -pthread
LDFLAGS..............: -pthread -lpthread
LDADD................: -LC:/MinGW/lib -lcurl -lcurldll -LC:/MinGW/bin/lib -lja
nsson -lpdcurses -lws2_32 -lm
Installation...........: make install (as root if needed, with 'su' or 'sudo')
prefix...............: /usr/local
joseska@WIN-HDBU4L5I4L6 ~/bfgminer-3.0.0
$
jansson.pc File
------------------------------------------------------------------------------------
prefix=.
exec_prefix=${prefix}/bin
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: jansson
Description: Library for encoding, decoding and manipulating JSON data
Version: 2.4
Libs: -L${libdir} -ljansson
Cflags: -I${includedir} @CPPFLAG_JANSSON_STATICLIB@
Thanks again