Bitcoin Forum
May 01, 2024, 09:34:42 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 [53] 54 55 56 57 58 59 60 »
  Print  
Author Topic: Building headless Bitcoin and Bitcoin-qt on Windows  (Read 419326 times)
Scaccomatt0
Legendary
*
Offline Offline

Activity: 1120
Merit: 1000


https://cryptoworld.io


View Profile WWW
August 10, 2015, 08:56:40 PM
 #1041

Guys,
I have a problem on building leveldb on winxp.

From msys shell:

TARGET_OS=NATIVE_WINDOWS make libleveldb.a libmemenv.a

Code:
$ TARGET_OS=NATIVE_WINDOWS make libleveldb.a libmemenv.a
g++ -I. -I./include -fno-builtin-memcmp -D_REENTRANT -DOS_WINDOWS -DLEVELDB_PLAT
FORM_WINDOWS -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -O2 -DNDEBUG        -c d
b/builder.cc -o db/builder.o
In file included from db/builder.cc:7:
./db/filename.h:10:20: stdint.h: No such file or directory
In file included from db/builder.cc:7:
./db/filename.h:33: error: `uint64_t' has not been declared
./db/filename.h:33: error: ISO C++ forbids declaration of `number' with no type
./db/filename.h:38: error: `uint64_t' has not been declared
./db/filename.h:38: error: ISO C++ forbids declaration of `number' with no type
./db/filename.h:43: error: `uint64_t' has not been declared
./db/filename.h:43: error: ISO C++ forbids declaration of `number' with no type
./db/filename.h:49: error: `uint64_t' has not been declared
./db/filename.h:49: error: ISO C++ forbids declaration of `number' with no type
./db/filename.h:62: error: `uint64_t' has not been declared
./db/filename.h:62: error: ISO C++ forbids declaration of `number' with no type
./db/filename.h:74: error: `uint64_t' has not been declared
./db/filename.h:75: error: ISO C++ forbids declaration of `number' with no type
./db/filename.h:80: error: `uint64_t' has not been declared
./db/filename.h:80: error: ISO C++ forbids declaration of `descriptor_number' wi
th no type
In file included from ./db/dbformat.h:10,
                 from db/builder.cc:8:
./include/leveldb/db.h:129: error: `uint64_t' has not been declared
./include/leveldb/db.h:129: error: ISO C++ forbids declaration of `sizes' with n
o type
In file included from ./db/dbformat.h:13,
                 from db/builder.cc:8:
./include/leveldb/table_builder.h:71: error: `uint64_t' does not name a type
./include/leveldb/table_builder.h:75: error: `uint64_t' does not name a type
In file included from ./db/dbformat.h:14,
                 from db/builder.cc:8:
./util/coding.h:22: error: `uint32_t' has not been declared
./util/coding.h:22: error: ISO C++ forbids declaration of `value' with no type
./util/coding.h:23: error: `uint64_t' has not been declared
./util/coding.h:23: error: ISO C++ forbids declaration of `value' with no type
./util/coding.h:24: error: `uint32_t' has not been declared
./util/coding.h:24: error: ISO C++ forbids declaration of `value' with no type
./util/coding.h:25: error: `uint64_t' has not been declared
./util/coding.h:25: error: ISO C++ forbids declaration of `value' with no type
./util/coding.h:30: error: `uint32_t' has not been declared
./util/coding.h:30: error: ISO C++ forbids declaration of `value' with no type
./util/coding.h:31: error: `uint64_t' has not been declared
./util/coding.h:31: error: ISO C++ forbids declaration of `value' with no type
./util/coding.h:38: error: `uint32_t' has not been declared
./util/coding.h:38: error: ISO C++ forbids declaration of `v' with no type
./util/coding.h:39: error: `uint64_t' has not been declared
./util/coding.h:39: error: ISO C++ forbids declaration of `v' with no type
./util/coding.h:42: warning: `VarintLength' initialized and declared `extern'
./util/coding.h:42: error: `uint64_t' was not declared in this scope
./util/coding.h:46: error: `uint32_t' has not been declared
./util/coding.h:46: error: ISO C++ forbids declaration of `value' with no type
./util/coding.h:47: error: `uint64_t' has not been declared
./util/coding.h:47: error: ISO C++ forbids declaration of `value' with no type
./util/coding.h:52: error: `uint32_t' has not been declared
./util/coding.h:52: error: ISO C++ forbids declaration of `value' with no type
./util/coding.h:53: error: `uint64_t' has not been declared
./util/coding.h:53: error: ISO C++ forbids declaration of `value' with no type
./util/coding.h:58: error: `uint32_t' does not name a type
./util/coding.h:72: error: `uint64_t' does not name a type
./util/coding.h:88: error: `uint32_t' has not been declared
./util/coding.h:88: error: ISO C++ forbids declaration of `value' with no type
./util/coding.h:91: error: `uint32_t' has not been declared
./util/coding.h:91: error: ISO C++ forbids declaration of `value' with no type
./util/coding.h: In function `const char* leveldb::GetVarint32Ptr(const char*, c
onst char*, int*)':
./util/coding.h:93: error: `uint32_t' undeclared (first use this function)
./util/coding.h:93: error: (Each undeclared identifier is reported only once for
 each function it appears in.)
./util/coding.h:93: error: expected `;' before "result"
./util/coding.h:94: error: `result' undeclared (first use this function)
In file included from ./db/dbformat.h:15,
                 from db/builder.cc:8:
./util/logging.h: At global scope:
./util/logging.h:22: error: `uint64_t' has not been declared
./util/logging.h:22: error: ISO C++ forbids declaration of `num' with no type
./util/logging.h:29: warning: `NumberToString' initialized and declared `extern'

./util/logging.h:29: error: `uint64_t' was not declared in this scope
./util/logging.h:43: error: `uint64_t' has not been declared
./util/logging.h:43: error: ISO C++ forbids declaration of `val' with no type
In file included from db/builder.cc:8:
./db/dbformat.h:63: error: `uint64_t' does not name a type
./db/dbformat.h:67: error: `SequenceNumber' does not name a type
./db/dbformat.h:72: error: `SequenceNumber' does not name a type
./db/dbformat.h:76: error: expected `,' or `...' before '&' token
./db/dbformat.h:77: error: ISO C++ forbids declaration of `SequenceNumber' with
no type
./db/dbformat.h: In constructor `leveldb::ParsedInternalKey::ParsedInternalKey(c
onst leveldb::Slice&, int)':
./db/dbformat.h:77: error: class `leveldb::ParsedInternalKey' does not have any
field named `sequence'
./db/dbformat.h:77: error: `seq' undeclared (first use this function)
./db/dbformat.h:77: error: `t' undeclared (first use this function)
./db/dbformat.h: In function `leveldb::ValueType leveldb::ExtractValueType(const
 leveldb::Slice&)':
./db/dbformat.h:106: error: `uint64_t' undeclared (first use this function)
./db/dbformat.h:106: error: expected `;' before "num"
./db/dbformat.h:107: error: `num' undeclared (first use this function)
./db/dbformat.h: At global scope:
./db/dbformat.h:149: error: `SequenceNumber' has not been declared
./db/dbformat.h:149: error: ISO C++ forbids declaration of `s' with no type
./db/dbformat.h: In constructor `leveldb::InternalKey::InternalKey(const leveldb
::Slice&, int, leveldb::ValueType)':
./db/dbformat.h:150: error: no matching function for call to `leveldb::ParsedInt
ernalKey::ParsedInternalKey(const leveldb::Slice&, int&, leveldb::ValueType&)'
./db/dbformat.h:70: note: candidates are: leveldb::ParsedInternalKey::ParsedInte
rnalKey(const leveldb::ParsedInternalKey&)
./db/dbformat.h:77: note:                 leveldb::ParsedInternalKey::ParsedInte
rnalKey(const leveldb::Slice&, int)
./db/dbformat.h:75: note:                 leveldb::ParsedInternalKey::ParsedInte
rnalKey()
./db/dbformat.h: In function `bool leveldb::ParseInternalKey(const leveldb::Slic
e&, leveldb::ParsedInternalKey*)':
./db/dbformat.h:180: error: `uint64_t' undeclared (first use this function)
./db/dbformat.h:180: error: expected `;' before "num"
./db/dbformat.h:181: error: `num' undeclared (first use this function)
./db/dbformat.h:182: error: 'struct leveldb::ParsedInternalKey' has no member na
med 'sequence'
./db/dbformat.h: At global scope:
./db/dbformat.h:193: error: `SequenceNumber' has not been declared
./db/dbformat.h:193: error: ISO C++ forbids declaration of `sequence' with no ty
pe
In file included from ./db/table_cache.h:13,
                 from db/builder.cc:9:
./include/leveldb/cache.h:82: error: `uint64_t' does not name a type
In file included from ./db/table_cache.h:14,
                 from db/builder.cc:9:
./include/leveldb/table.h:40: error: `uint64_t' has not been declared
./include/leveldb/table.h:41: error: ISO C++ forbids declaration of `file_size'
with no type
./include/leveldb/table.h:56: error: `uint64_t' does not name a type
In file included from db/builder.cc:9:
./db/table_cache.h:34: error: `uint64_t' has not been declared
./db/table_cache.h:35: error: `uint64_t' has not been declared
./db/table_cache.h:36: error: ISO C++ forbids declaration of `file_number' with
no type
./db/table_cache.h:36: error: ISO C++ forbids declaration of `file_size' with no
 type
./db/table_cache.h:41: error: `uint64_t' has not been declared
./db/table_cache.h:42: error: `uint64_t' has not been declared
./db/table_cache.h:45: error: ISO C++ forbids declaration of `file_number' with
no type
./db/table_cache.h:45: error: ISO C++ forbids declaration of `file_size' with no
 type
./db/table_cache.h:48: error: `uint64_t' has not been declared
./db/table_cache.h:48: error: ISO C++ forbids declaration of `file_number' with
no type
./db/table_cache.h:56: error: `uint64_t' has not been declared
./db/table_cache.h:56: error: `uint64_t' has not been declared
./db/table_cache.h:56: error: ISO C++ forbids declaration of `file_number' with
no type
./db/table_cache.h:56: error: ISO C++ forbids declaration of `file_size' with no
 type
In file included from db/builder.cc:10:
./db/version_edit.h:20: error: `uint64_t' does not name a type
./db/version_edit.h:21: error: `uint64_t' does not name a type
./db/version_edit.h: In constructor `leveldb::FileMetaData::FileMetaData()':
./db/version_edit.h:25: error: class `leveldb::FileMetaData' does not have any f
ield named `file_size'
./db/version_edit.h: At global scope:
./db/version_edit.h:39: error: `uint64_t' has not been declared
./db/version_edit.h:39: error: ISO C++ forbids declaration of `num' with no type

./db/version_edit.h:43: error: `uint64_t' has not been declared
./db/version_edit.h:43: error: ISO C++ forbids declaration of `num' with no type

./db/version_edit.h:47: error: `uint64_t' has not been declared
./db/version_edit.h:47: error: ISO C++ forbids declaration of `num' with no type

./db/version_edit.h:51: error: `SequenceNumber' has not been declared
./db/version_edit.h:51: error: ISO C++ forbids declaration of `seq' with no type

./db/version_edit.h:62: error: `uint64_t' has not been declared
./db/version_edit.h:63: error: `uint64_t' has not been declared
./db/version_edit.h:65: error: ISO C++ forbids declaration of `file' with no typ
e
./db/version_edit.h:65: error: ISO C++ forbids declaration of `file_size' with n
o type
./db/version_edit.h:75: error: `uint64_t' has not been declared
./db/version_edit.h:75: error: ISO C++ forbids declaration of `file' with no typ
e
./db/version_edit.h:87: error: `uint64_t' was not declared in this scope
./db/version_edit.h:87: error: template argument 2 is invalid
./db/version_edit.h:87: error: template argument 1 is invalid
./db/version_edit.h:87: error: template argument 2 is invalid
./db/version_edit.h:87: error: template argument 3 is invalid
./db/version_edit.h:87: error: ISO C++ forbids declaration of `DeletedFileSet' w
ith no type
./db/version_edit.h:90: error: `uint64_t' does not name a type
./db/version_edit.h:91: error: `uint64_t' does not name a type
./db/version_edit.h:92: error: `uint64_t' does not name a type
./db/version_edit.h:93: error: `SequenceNumber' does not name a type
./db/version_edit.h: In member function `void leveldb::VersionEdit::SetLogNumber
(int)':
./db/version_edit.h:41: error: `log_number_' undeclared (first use this function
)
./db/version_edit.h: In member function `void leveldb::VersionEdit::SetPrevLogNu
mber(int)':
./db/version_edit.h:45: error: `prev_log_number_' undeclared (first use this fun
ction)
./db/version_edit.h: In member function `void leveldb::VersionEdit::SetNextFile(
int)':
./db/version_edit.h:49: error: `next_file_number_' undeclared (first use this fu
nction)
./db/version_edit.h: In member function `void leveldb::VersionEdit::SetLastSeque
nce(int)':
./db/version_edit.h:53: error: `last_sequence_' undeclared (first use this funct
ion)
./db/version_edit.h: In member function `void leveldb::VersionEdit::AddFile(int,
 int, int, const leveldb::InternalKey&, const leveldb::InternalKey&)':
./db/version_edit.h:67: error: 'struct leveldb::FileMetaData' has no member name
d 'number'
./db/version_edit.h:68: error: 'struct leveldb::FileMetaData' has no member name
d 'file_size'
./db/version_edit.h: In member function `void leveldb::VersionEdit::DeleteFile(i
nt, int)':
./db/version_edit.h:76: error: request for member `insert' in `((leveldb::Versio
nEdit*)this)->leveldb::VersionEdit::deleted_files_', which is of non-class type
`int'
In file included from db/builder.cc:12:
./include/leveldb/env.h: At global scope:
./include/leveldb/env.h:91: error: `uint64_t' has not been declared
./include/leveldb/env.h:91: error: ISO C++ forbids declaration of `file_size' wi
th no type
./include/leveldb/env.h:143: error: `uint64_t' does not name a type
./include/leveldb/env.h:177: error: `uint64_t' has not been declared
./include/leveldb/env.h:177: error: ISO C++ forbids declaration of `n' with no t
ype
./include/leveldb/env.h:200: error: `uint64_t' has not been declared
./include/leveldb/env.h:201: error: ISO C++ forbids declaration of `offset' with
 no type
./include/leveldb/env.h:299: error: `uint64_t' has not been declared
./include/leveldb/env.h:299: error: ISO C++ forbids declaration of `s' with no t
ype
./include/leveldb/env.h:321: error: `uint64_t' does not name a type
db/builder.cc: In function `leveldb::Status leveldb::BuildTable(const std::strin
g&, leveldb::Env*, const leveldb::Options&, leveldb::TableCache*, leveldb::Itera
tor*, leveldb::FileMetaData*)':
db/builder.cc:24: error: 'struct leveldb::FileMetaData' has no member named 'fil
e_size'
db/builder.cc:27: error: 'struct leveldb::FileMetaData' has no member named 'num
ber'
db/builder.cc:47: error: 'struct leveldb::FileMetaData' has no member named 'fil
e_size'
db/builder.cc:47: error: 'class leveldb::TableBuilder' has no member named 'File
Size'
db/builder.cc:68: error: 'struct leveldb::FileMetaData' has no member named 'num
ber'
db/builder.cc:69: error: 'struct leveldb::FileMetaData' has no member named 'fil
e_size'
db/builder.cc:80: error: 'struct leveldb::FileMetaData' has no member named 'fil
e_size'
make: *** [db/builder.o] Error 1

I think the relevant error is:
In file included from db/builder.cc:7:
./db/filename.h:10:20: stdint.h: No such file or directory


Do I need some special configuration?

msys is in PATH configuration
Hello ?

stdint.h is one of the many files that should be visible in a msys shell running on XP, if your 'mingw' installation went properly?  It is in the .../MinGW/include directory.

Then when you have that working, g++ may see a uint64_t type.  And then you may be able to build leveldb, which you only have to do once.  I see that it is trying to compile leveldb in NDEBUG.  Now if you are "doing" bitcoin, the "big wigs" want their asserts, so they really favor debug mode.  Though I much prefer an orderly shutdown to an abort() on a logical test failure outside of an assert() Wink  See my message from Tue Jun  3 19:07:01 2014, in http://lists.linuxfoundation.org/pipermail/bitcoin-dev/  Never did get an answer to my question Roll Eyes

Ron

oh man! Everything was fine, files were correctly in the folder..
Drastic decision.. I just deleted mingw and msys folder, reinstalled both packages and now the build is completed without error Smiley


       


████
████
████
████
████
████
████
████
████
████
████
████
████
████
████
               ______
          __███████████████_      █████         █████          █████           █████
       _█████████████████████      █████         █████        █████           █████
     _███████¯¯¯     ¯¯██████       █████         █████      █████           █████
   _██████¯            ¯████¯        █████         █████    █████           █████
  ██████¯                             █████          ██████████            █████
 ██████                               █████          ██████████            █████
 █████                                 █████         ██████████            █████
█████                                  █████          ████████            █████
█████                                  █████           ██████             █████
█████                                  █████           ██████             █████
█████                                  █████           ██████            █████    
█████                                   █████          ██████          █████    
 █████                                  █████          ██████          █████
 ██████                                 █████          ██████        █████
  ██████_                                █████         ██████        █████
   ¯██████_            _████_            █████        ████████       █████
     ¯███████___     __██████            █████      █████  █████     █████
       ¯█████████████████████             █████    █████    █████   █████
          ¯¯███████████████¯               ████████████      ███████████
               ¯¯¯¯¯¯                      ¯¯¯¯¯¯¯¯¯¯         ¯¯¯¯¯¯¯¯¯¯
|
  
FAUCET
ICO
ANDROID
       


████
████
████
████
████
████
████
████
████
████
████
████
████
████
████
1714599282
Hero Member
*
Offline Offline

Posts: 1714599282

View Profile Personal Message (Offline)

Ignore
1714599282
Reply with quote  #2

1714599282
Report to moderator
1714599282
Hero Member
*
Offline Offline

Posts: 1714599282

View Profile Personal Message (Offline)

Ignore
1714599282
Reply with quote  #2

1714599282
Report to moderator
No Gods or Kings. Only Bitcoin
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
apple_talk
Sr. Member
****
Offline Offline

Activity: 473
Merit: 250


"Proof-of-Asset Protocol"


View Profile
August 13, 2015, 03:12:32 AM
 #1042

Getting error...

Code:
C:\Qt\qttools-opensource-src-5.3.2>mingw32-make
cd src\ && ( if not exist Makefile C:\Qt\5.3.2\bin\qmake.exe C:\Qt\qttools-opens
ource-src-5.3.2\src\src.pro -o Makefile ) && mingw32-make -f Makefile
mingw32-make[1]: Entering directory 'C:/Qt/qttools-opensource-src-5.3.2/src'
mingw32-make[1]: *** No rule to make target 'C:/Qt/5.3.2/mkspecs/modules-inst/qt
_lib_clucene_private.pri', needed by 'Makefile'.  Stop.
mingw32-make[1]: Leaving directory 'C:/Qt/qttools-opensource-src-5.3.2/src'
makefile:40: recipe for target 'sub-src-make_first' failed
mingw32-make: *** [sub-src-make_first] Error 2

thanks

Any help appreciated?
Trying to compile 64bit.

|
 
 
50
|
 




                       ▄
           ▄▄▄▄▄▄███████
▄▄▄▄█████  █████████████
█████████  █████████████
█████████  █████████████
█████████  █████████████
█████████  █████████████
█████████  █████████████

█████████  █████████████
█████████  █████████████
█████████  █████████████
█████████  █████████████
█████████  █████████████
▀▀▀▀█████  █████████████
           ▀▀▀▀▀▀███████
                       ▀
|
 
 
$1,5 M
|



        ▄▄▄█████████▄▄▄
      ▄█████▀▀███▀▀█████▄
    ▄███▀     ███     ▀███▄
   ████       ███       ████
  ███▀                   ▀███
 ███▀                     ▀███
▄██▀       █████████       ▀██▄
███                         ███
███        █████████        ███
███                         ███
▀██▄       █████████       ▄██▀
 ███▄                     ▄███
  ███▄                   ▄███
   ████       ███       ████
    ▀███▄     ███     ▄███▀
      ▀█████▄▄███▄▄█████▀
        ▀▀▀█████████▀▀▀
|
 
|
 
<>
<>
<>
<>
 
GITHUB
TWITTER
YOUTUBE
FACEBOOK
cinnamon_carter
Legendary
*
Offline Offline

Activity: 1148
Merit: 1018


It's about time -- All merrit accepted !!!


View Profile WWW
August 15, 2015, 08:36:56 AM
 #1043

check your path
might be some confusion ....

Getting error...

Code:
C:\Qt\qttools-opensource-src-5.3.2>mingw32-make
cd src\ && ( if not exist Makefile C:\Qt\5.3.2\bin\qmake.exe C:\Qt\qttools-opens
ource-src-5.3.2\src\src.pro -o Makefile ) && mingw32-make -f Makefile
mingw32-make[1]: Entering directory 'C:/Qt/qttools-opensource-src-5.3.2/src'
mingw32-make[1]: *** No rule to make target 'C:/Qt/5.3.2/mkspecs/modules-inst/qt
_lib_clucene_private.pri', needed by 'Makefile'.  Stop.
mingw32-make[1]: Leaving directory 'C:/Qt/qttools-opensource-src-5.3.2/src'
makefile:40: recipe for target 'sub-src-make_first' failed
mingw32-make: *** [sub-src-make_first] Error 2


Check out my coin Photon
Merge Mine 5 other Blake 256 coins - 6x your hash power  https://www.blakecoin.org/

The obvious choice is not always the best choice.

LOOK DEEPER - Look into the Blake 256 Family -- CC
cinnamon_carter
Legendary
*
Offline Offline

Activity: 1148
Merit: 1018


It's about time -- All merrit accepted !!!


View Profile WWW
August 27, 2015, 10:57:30 PM
 #1044

personally on win & linux i have always had best results building from command prompt not using qt creator (i do get better results using qt creator building on osx)

Check out my coin Photon
Merge Mine 5 other Blake 256 coins - 6x your hash power  https://www.blakecoin.org/

The obvious choice is not always the best choice.

LOOK DEEPER - Look into the Blake 256 Family -- CC
moon_sun
Newbie
*
Offline Offline

Activity: 17
Merit: 0


View Profile
September 23, 2015, 03:28:03 PM
 #1045

Hi, I'm new here Wink I am following this tutorial but I receive errors while making qrencode-3.4.4 (step 2.6)
I'm using Windows 7 x86 on Oracle VM Virtualbox. Can somebody help? Please! Smiley

Code:
checking whether the C compiler works...no
configure: error: in '/c/deps/qrencode-3.4.4':
configure: error: C compiler cannot create executables
See 'config.log' for more details

This is the content of config.log file

Code:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by QRencode configure 3.4.4, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure --enable-static --disable-shared --without-tools

## --------- ##
## Platform. ##
## --------- ##

hostname = PC
uname -m = i686
uname -r = 1.0.18(0.48/3/2)
uname -s = MINGW32_NT-6.1
uname -v = 2012-11-21 22:34

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: .
PATH: /usr/local/bin
PATH: /mingw/bin
PATH: /bin
PATH: /c/mingw32/bin
PATH: /c/Windows/system32
PATH: /c/Windows
PATH: /c/Windows/System32/Wbem
PATH: /c/Windows/System32/WindowsPowerShell/v1.0/


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2237: checking build system type
configure:2251: result: i686-pc-mingw32
configure:2271: checking host system type
configure:2284: result: i686-pc-mingw32
configure:2304: checking target system type
configure:2317: result: i686-pc-mingw32
configure:2360: checking for a BSD-compatible install
configure:2428: result: /bin/install -c
configure:2439: checking whether build environment is sane
configure:2494: result: yes
configure:2645: checking for a thread-safe mkdir -p
configure:2684: result: /bin/mkdir -p
configure:2691: checking for gawk
configure:2707: found /bin/gawk
configure:2718: result: gawk
configure:2729: checking whether make sets $(MAKE)
configure:2751: result: yes
configure:2780: checking whether make supports nested variables
configure:2797: result: yes
configure:2966: checking for style of include used by make
configure:2994: result: GNU
configure:3065: checking for gcc
configure:3081: found /bin/gcc
configure:3092: result: gcc
configure:3321: checking for C compiler version
configure:3330: gcc --version >&5
gcc (GCC) 3.4.4 (msys special)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3341: $? = 0
configure:3330: gcc -v >&5
Reading specs from /usr/lib/gcc/i686-pc-msys/3.4.4/specs
Configured with: /home/cstrauss/build/gcc3/gcc-3.4.4/configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --infodir=/share/info --mandir=/share/man --libexecdir=/lib --enable-languages=c,c++ --disable-nls --enable-threads=posix --enable-sjlj-exceptions --enable-hash-synchronization --enable-libstdcxx-debug --with-newlib
Thread model: posix
gcc version 3.4.4 (msys special)
configure:3341: $? = 0
configure:3330: gcc -V >&5
gcc: `-V' option must have argument
configure:3341: $? = 1
configure:3330: gcc -qversion >&5
gcc: unrecognized option `-qversion'
gcc: no input files
configure:3341: $? = 1
configure:3361: checking whether the C compiler works
configure:3383: gcc    conftest.c ../libpng-1.6.16/.libs/libpng.a ../../mingw32/i686-w64-mingw32/lib/libz.a >&5
gcc: ../libpng-1.6.16/.libs/libpng.a: No such file or directory
configure:3387: $? = 1
configure:3425: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "QRencode"
| #define PACKAGE_TARNAME "qrencode"
| #define PACKAGE_VERSION "3.4.4"
| #define PACKAGE_STRING "QRencode 3.4.4"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define MAJOR_VERSION 3
| #define MINOR_VERSION 4
| #define MICRO_VERSION 4
| #define PACKAGE "qrencode"
| #define VERSION "3.4.4"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:3430: error: in `/c/deps/qrencode-3.4.4':
configure:3432: error: C compiler cannot create executables
See `config.log' for more details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-mingw32
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=set
ac_cv_env_LIBS_value='../libpng-1.6.16/.libs/libpng.a ../../mingw32/i686-w64-mingw32/lib/libz.a'
ac_cv_env_PKG_CONFIG_LIBDIR_set=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=
ac_cv_env_PKG_CONFIG_PATH_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_png_CFLAGS_set=set
ac_cv_env_png_CFLAGS_value=-I../libpng-1.6.16
ac_cv_env_png_LIBS_set=set
ac_cv_env_png_LIBS_value=-L../libpng-1.6.16/.libs
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i686-pc-mingw32
ac_cv_path_install='/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
ac_cv_target=i686-pc-mingw32
am_cv_make_support_nested_variables=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /c/deps/qrencode-3.4.4/use/missing aclocal-1.14'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AR=''
AUTOCONF='${SHELL} /c/deps/qrencode-3.4.4/use/missing autoconf'
AUTOHEADER='${SHELL} /c/deps/qrencode-3.4.4/use/missing autoheader'
AUTOMAKE='${SHELL} /c/deps/qrencode-3.4.4/use/missing automake-1.14'
AWK='gawk'
BUILD_TESTS_FALSE=''
BUILD_TESTS_TRUE=''
BUILD_TOOLS_FALSE=''
BUILD_TOOLS_TRUE=''
CC='gcc'
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DLLTOOL=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
FGREP=''
GREP=''
HAVE_LIBPTHREAD_FALSE=''
HAVE_LIBPTHREAD_TRUE=''
HAVE_SDL_FALSE=''
HAVE_SDL_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD=''
LDFLAGS=''
LIBICONV=''
LIBOBJS=''
LIBPTHREAD=''
LIBS='../libpng-1.6.16/.libs/libpng.a ../../mingw32/i686-w64-mingw32/lib/libz.a'
LIBTOOL=''
LIPO=''
LN_S=''
LTLIBICONV=''
LTLIBOBJS=''
MAJOR_VERSION='3'
MAKEINFO='${SHELL} /c/deps/qrencode-3.4.4/use/missing makeinfo'
MANIFEST_TOOL=''
MICRO_VERSION='4'
MINOR_VERSION='4'
MKDIR_P='/bin/mkdir -p'
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE='qrencode'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='QRencode'
PACKAGE_STRING='QRencode 3.4.4'
PACKAGE_TARNAME='qrencode'
PACKAGE_URL=''
PACKAGE_VERSION='3.4.4'
PATH_SEPARATOR=':'
PKG_CONFIG=''
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH=''
RANLIB=''
SDL_CFLAGS=''
SDL_CONFIG=''
SDL_LIBS=''
SED=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='3.4.4'
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='i686-pc-mingw32'
build_alias=''
build_cpu='i686'
build_os='mingw32'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='i686-pc-mingw32'
host_alias=''
host_cpu='i686'
host_os='mingw32'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /c/deps/qrencode-3.4.4/use/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
png_CFLAGS='-I../libpng-1.6.16'
png_LIBS='-L../libpng-1.6.16/.libs'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='i686-pc-mingw32'
target_alias=''
target_cpu='i686'
target_os='mingw32'
target_vendor='pc'

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "QRencode"
#define PACKAGE_TARNAME "qrencode"
#define PACKAGE_VERSION "3.4.4"
#define PACKAGE_STRING "QRencode 3.4.4"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define MAJOR_VERSION 3
#define MINOR_VERSION 4
#define MICRO_VERSION 4
#define PACKAGE "qrencode"
#define VERSION "3.4.4"

configure: exit 77
MystPhysX
Hero Member
*****
Offline Offline

Activity: 597
Merit: 500


View Profile
September 23, 2015, 04:40:19 PM
 #1046

Hi, I'm new here Wink I am following this tutorial but I receive errors while making qrencode-3.4.4 (step 2.6)
I'm using Windows 7 x86 on Oracle VM Virtualbox. Can somebody help? Please! Smiley

Code:
checking whether the C compiler works...no
configure: error: in '/c/deps/qrencode-3.4.4':
configure: error: C compiler cannot create executables
See 'config.log' for more details

This is the content of config.log file

Code:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by QRencode configure 3.4.4, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure --enable-static --disable-shared --without-tools

## --------- ##
## Platform. ##
## --------- ##

hostname = PC
uname -m = i686
uname -r = 1.0.18(0.48/3/2)
uname -s = MINGW32_NT-6.1
uname -v = 2012-11-21 22:34

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: .
PATH: /usr/local/bin
PATH: /mingw/bin
PATH: /bin
PATH: /c/mingw32/bin
PATH: /c/Windows/system32
PATH: /c/Windows
PATH: /c/Windows/System32/Wbem
PATH: /c/Windows/System32/WindowsPowerShell/v1.0/


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2237: checking build system type
configure:2251: result: i686-pc-mingw32
configure:2271: checking host system type
configure:2284: result: i686-pc-mingw32
configure:2304: checking target system type
configure:2317: result: i686-pc-mingw32
configure:2360: checking for a BSD-compatible install
configure:2428: result: /bin/install -c
configure:2439: checking whether build environment is sane
configure:2494: result: yes
configure:2645: checking for a thread-safe mkdir -p
configure:2684: result: /bin/mkdir -p
configure:2691: checking for gawk
configure:2707: found /bin/gawk
configure:2718: result: gawk
configure:2729: checking whether make sets $(MAKE)
configure:2751: result: yes
configure:2780: checking whether make supports nested variables
configure:2797: result: yes
configure:2966: checking for style of include used by make
configure:2994: result: GNU
configure:3065: checking for gcc
configure:3081: found /bin/gcc
configure:3092: result: gcc
configure:3321: checking for C compiler version
configure:3330: gcc --version >&5
gcc (GCC) 3.4.4 (msys special)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3341: $? = 0
configure:3330: gcc -v >&5
Reading specs from /usr/lib/gcc/i686-pc-msys/3.4.4/specs
Configured with: /home/cstrauss/build/gcc3/gcc-3.4.4/configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --infodir=/share/info --mandir=/share/man --libexecdir=/lib --enable-languages=c,c++ --disable-nls --enable-threads=posix --enable-sjlj-exceptions --enable-hash-synchronization --enable-libstdcxx-debug --with-newlib
Thread model: posix
gcc version 3.4.4 (msys special)
configure:3341: $? = 0
configure:3330: gcc -V >&5
gcc: `-V' option must have argument
configure:3341: $? = 1
configure:3330: gcc -qversion >&5
gcc: unrecognized option `-qversion'
gcc: no input files
configure:3341: $? = 1
configure:3361: checking whether the C compiler works
configure:3383: gcc    conftest.c ../libpng-1.6.16/.libs/libpng.a ../../mingw32/i686-w64-mingw32/lib/libz.a >&5
gcc: ../libpng-1.6.16/.libs/libpng.a: No such file or directory
configure:3387: $? = 1
configure:3425: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "QRencode"
| #define PACKAGE_TARNAME "qrencode"
| #define PACKAGE_VERSION "3.4.4"
| #define PACKAGE_STRING "QRencode 3.4.4"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define MAJOR_VERSION 3
| #define MINOR_VERSION 4
| #define MICRO_VERSION 4
| #define PACKAGE "qrencode"
| #define VERSION "3.4.4"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:3430: error: in `/c/deps/qrencode-3.4.4':
configure:3432: error: C compiler cannot create executables
See `config.log' for more details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-mingw32
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=set
ac_cv_env_LIBS_value='../libpng-1.6.16/.libs/libpng.a ../../mingw32/i686-w64-mingw32/lib/libz.a'
ac_cv_env_PKG_CONFIG_LIBDIR_set=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=
ac_cv_env_PKG_CONFIG_PATH_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_png_CFLAGS_set=set
ac_cv_env_png_CFLAGS_value=-I../libpng-1.6.16
ac_cv_env_png_LIBS_set=set
ac_cv_env_png_LIBS_value=-L../libpng-1.6.16/.libs
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i686-pc-mingw32
ac_cv_path_install='/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
ac_cv_target=i686-pc-mingw32
am_cv_make_support_nested_variables=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /c/deps/qrencode-3.4.4/use/missing aclocal-1.14'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AR=''
AUTOCONF='${SHELL} /c/deps/qrencode-3.4.4/use/missing autoconf'
AUTOHEADER='${SHELL} /c/deps/qrencode-3.4.4/use/missing autoheader'
AUTOMAKE='${SHELL} /c/deps/qrencode-3.4.4/use/missing automake-1.14'
AWK='gawk'
BUILD_TESTS_FALSE=''
BUILD_TESTS_TRUE=''
BUILD_TOOLS_FALSE=''
BUILD_TOOLS_TRUE=''
CC='gcc'
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DLLTOOL=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
FGREP=''
GREP=''
HAVE_LIBPTHREAD_FALSE=''
HAVE_LIBPTHREAD_TRUE=''
HAVE_SDL_FALSE=''
HAVE_SDL_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD=''
LDFLAGS=''
LIBICONV=''
LIBOBJS=''
LIBPTHREAD=''
LIBS='../libpng-1.6.16/.libs/libpng.a ../../mingw32/i686-w64-mingw32/lib/libz.a'
LIBTOOL=''
LIPO=''
LN_S=''
LTLIBICONV=''
LTLIBOBJS=''
MAJOR_VERSION='3'
MAKEINFO='${SHELL} /c/deps/qrencode-3.4.4/use/missing makeinfo'
MANIFEST_TOOL=''
MICRO_VERSION='4'
MINOR_VERSION='4'
MKDIR_P='/bin/mkdir -p'
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE='qrencode'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='QRencode'
PACKAGE_STRING='QRencode 3.4.4'
PACKAGE_TARNAME='qrencode'
PACKAGE_URL=''
PACKAGE_VERSION='3.4.4'
PATH_SEPARATOR=':'
PKG_CONFIG=''
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH=''
RANLIB=''
SDL_CFLAGS=''
SDL_CONFIG=''
SDL_LIBS=''
SED=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='3.4.4'
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='i686-pc-mingw32'
build_alias=''
build_cpu='i686'
build_os='mingw32'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='i686-pc-mingw32'
host_alias=''
host_cpu='i686'
host_os='mingw32'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /c/deps/qrencode-3.4.4/use/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
png_CFLAGS='-I../libpng-1.6.16'
png_LIBS='-L../libpng-1.6.16/.libs'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='i686-pc-mingw32'
target_alias=''
target_cpu='i686'
target_os='mingw32'
target_vendor='pc'

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "QRencode"
#define PACKAGE_TARNAME "qrencode"
#define PACKAGE_VERSION "3.4.4"
#define PACKAGE_STRING "QRencode 3.4.4"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define MAJOR_VERSION 3
#define MINOR_VERSION 4
#define MICRO_VERSION 4
#define PACKAGE "qrencode"
#define VERSION "3.4.4"

configure: exit 77
Do you have the right PATH set?

cinnamon_carter
Legendary
*
Offline Offline

Activity: 1148
Merit: 1018


It's about time -- All merrit accepted !!!


View Profile WWW
September 24, 2015, 01:34:43 AM
 #1047

When you built qrencode did you get any errors ?

You could try make clean & rebuilding it or delete qrencode folder & just rebuild it.

I did not bother to check if you were using btc source known to be compatable with these build directions.

I suggest also on the win 7 vm in control panel go to user accounts , change user account settings, pull all the way down to never notify.... to allow easier / seamless building of the toolchain. This has been known to cause issues for some people.

Check out my coin Photon
Merge Mine 5 other Blake 256 coins - 6x your hash power  https://www.blakecoin.org/

The obvious choice is not always the best choice.

LOOK DEEPER - Look into the Blake 256 Family -- CC
old c coder
Sr. Member
****
Offline Offline

Activity: 260
Merit: 250



View Profile WWW
September 24, 2015, 01:57:14 PM
 #1048

Hello all,

I have no problem compiling and running the unit tests in Windows, for bitcoin using MSVS, but I can't find any hints as to how to coerce makefile.mingw in Windows to compile test_bitcoin.exe?  I would like to run the gcc version of the unit tests to compare the results.  Especially for some *coins Wink

Ron


LTC: LUYiMVsrFQewUSPDasSKGzhyTPAkiTeSov BTC: 1DPvP6WoZzaNQ9Nxzd64hjYad1kyQzTTbx YAC: Y3ZggXDvnRJaRwtVGyGJwt6DMLN3EPQpQf 
The day is coming when a single carrot, freshly observed, will set off a revolution.  Paul Cezanne
old c coder
Sr. Member
****
Offline Offline

Activity: 260
Merit: 250



View Profile WWW
September 27, 2015, 10:04:15 PM
 #1049

Hello all,

I have no problem compiling and running the unit tests in Windows, for bitcoin using MSVS, but I can't find any hints as to how to coerce makefile.mingw in Windows to compile test_bitcoin.exe?  I would like to run the gcc version of the unit tests to compare the results.  Especially for some *coins Wink

Ron
Hello all,

I guess either no one cares or no one knows or those that do aren't saying, but anyway....
I did it finally using gcc.  A bit of a hack but at least it's working.

Here is the usual output from the 0.8.6 sources:

Running 93 test cases...
Entering test suite "Bitcoin Test Suite"
Entering test suite "wallet_tests"
Entering test case "coin_selection_tests"
Leaving test case "coin_selection_tests"; testing time: 2046999mks
Leaving test suite "wallet_tests"
Entering test suite "util_tests"
Entering test case "util_criticalsection"
Test case util_criticalsection did not check any assertions
Leaving test case "util_criticalsection"
Entering test case "util_MedianFilter"
Leaving test case "util_MedianFilter"
Entering test case "util_ParseHex"
Leaving test case "util_ParseHex"
Entering test case "util_HexStr"
Leaving test case "util_HexStr"
Entering test case "util_DateTimeStrFormat"
Test case util_DateTimeStrFormat did not check any assertions
Leaving test case "util_DateTimeStrFormat"
Entering test case "util_ParseParameters"
Leaving test case "util_ParseParameters"
Entering test case "util_GetArg"
Leaving test case "util_GetArg"
Entering test case "util_WildcardMatch"
Leaving test case "util_WildcardMatch"
Entering test case "util_FormatMoney"
Leaving test case "util_FormatMoney"
Entering test case "util_ParseMoney"
Leaving test case "util_ParseMoney"
Entering test case "util_IsHex"
Leaving test case "util_IsHex"
Entering test case "util_seed_insecure_rand"
Leaving test case "util_seed_insecure_rand"
Entering test case "util_TimingResistantEqual"
Leaving test case "util_TimingResistantEqual"
Leaving test suite "util_tests"
Entering test suite "uint256_tests"
Entering test case "uint256_equality"
Leaving test case "uint256_equality"
Leaving test suite "uint256_tests"
Entering test suite "uint160_tests"
Entering test case "uint160_equality"
Leaving test case "uint160_equality"
Leaving test suite "uint160_tests"
Entering test suite "transaction_tests"
Entering test case "tx_valid"
Leaving test case "tx_valid"; testing time: 47ms
Entering test case "tx_invalid"
Leaving test case "tx_invalid"; testing time: 31ms
Entering test case "basic_transaction_tests"
Leaving test case "basic_transaction_tests"
Entering test case "test_Get"
Leaving test case "test_Get"
Entering test case "test_IsStandard"
Leaving test case "test_IsStandard"; testing time: 15999mks
Leaving test suite "transaction_tests"
Entering test suite "sigopcount_tests"
Entering test case "GetSigOpCount"
Leaving test case "GetSigOpCount"
Leaving test suite "sigopcount_tests"
Entering test suite "serialize_tests"
Entering test case "varints"
Leaving test case "varints"; testing time: 812ms
Leaving test suite "serialize_tests"
Entering test suite "script_tests"
Entering test case "script_valid"
Leaving test case "script_valid"; testing time: 62999mks
Entering test case "script_invalid"
Leaving test case "script_invalid"; testing time: 156ms
Entering test case "script_PushData"
Leaving test case "script_PushData"
Entering test case "script_CHECKMULTISIG12"
Leaving test case "script_CHECKMULTISIG12"; testing time: 31ms
Entering test case "script_CHECKMULTISIG23"
Leaving test case "script_CHECKMULTISIG23"; testing time: 94ms
Entering test case "script_combineSigs"
Leaving test case "script_combineSigs"; testing time: 109ms
Leaving test suite "script_tests"
Entering test suite "script_P2SH_tests"
Entering test case "sign"
Leaving test case "sign"; testing time: 79ms
Entering test case "norecurse"
Leaving test case "norecurse"
Entering test case "set"
Leaving test case "set"; testing time: 62ms
Entering test case "is"
Leaving test case "is"
Entering test case "switchover"
Leaving test case "switchover"
Entering test case "AreInputsStandard"
Leaving test case "AreInputsStandard"; testing time: 47ms
Leaving test suite "script_P2SH_tests"
Entering test suite "rpc_tests"
Entering test case "rpc_addmultisig"
Leaving test case "rpc_addmultisig"; testing time: 15999mks
Entering test case "rpc_rawparams"
Leaving test case "rpc_rawparams"
Entering test case "rpc_rawsign"
Leaving test case "rpc_rawsign"; testing time: 15ms
Leaving test suite "rpc_tests"
Entering test suite "pmt_tests"
Entering test case "pmt_test1"
Leaving test case "pmt_test1"; testing time: 781ms
Leaving test suite "pmt_tests"
Entering test suite "netbase_tests"
Entering test case "netbase_networks"
test/netbase_tests.cpp(17): error in "netbase_networks": check CNetAddr("2001::8888").GetNetwork() == NET_IPV6 failed
test/netbase_tests.cpp(18): error in "netbase_networks": check CNetAddr("FD87:D87E:EB43:edb1:8e4:3588:e546:35ca").GetNetwork() == NET_TOR failed
Leaving test case "netbase_networks"
Entering test case "netbase_properties"
test/netbase_tests.cpp(24): error in "netbase_properties": check CNetAddr("::FFFF:192.168.1.1").IsIPv4() failed
test/netbase_tests.cpp(29): error in "netbase_properties": check CNetAddr("2001:0DB8::").IsRFC3849() failed
test/netbase_tests.cpp(31): error in "netbase_properties": check CNetAddr("2002::1").IsRFC3964() failed
test/netbase_tests.cpp(32): error in "netbase_properties": check CNetAddr("FC00::").IsRFC4193() failed
test/netbase_tests.cpp(33): error in "netbase_properties": check CNetAddr("2001::2").IsRFC4380() failed
test/netbase_tests.cpp(34): error in "netbase_properties": check CNetAddr("2001:10::").IsRFC4843() failed
test/netbase_tests.cpp(35): error in "netbase_properties": check CNetAddr("FE80::").IsRFC4862() failed
test/netbase_tests.cpp(36): error in "netbase_properties": check CNetAddr("64:FF9B::").IsRFC6052() failed
test/netbase_tests.cpp(37): error in "netbase_properties": check CNetAddr("FD87:D87E:EB43:edb1:8e4:3588:e546:35ca").IsTor() failed
test/netbase_tests.cpp(39): error in "netbase_properties": check CNetAddr("::1").IsLocal() failed
test/netbase_tests.cpp(41): error in "netbase_properties": check CNetAddr("2001::1").IsRoutable() failed
Leaving test case "netbase_properties"
Entering test case "netbase_splithost"
Leaving test case "netbase_splithost"
Entering test case "netbase_lookupnumeric"
test/netbase_tests.cpp(84): error in "netbase_lookupnumeric": check TestParse("::ffff:127.0.0.1", "127.0.0.1:65535") failed
test/netbase_tests.cpp(85): error in "netbase_lookupnumeric": check TestParse("::", "[::]:65535") failed
test/netbase_tests.cpp(86): error in "netbase_lookupnumeric": check TestParse("[::]:8333", "[::]:8333") failed
Leaving test case "netbase_lookupnumeric"; testing time: 15999mks
Entering test case "onioncat_test"
test/netbase_tests.cpp(96): error in "onioncat_test": check addr1 == addr2 failed
Leaving test case "onioncat_test"
Leaving test suite "netbase_tests"
Entering test suite "multisig_tests"
Entering test case "multisig_verify"
Leaving test case "multisig_verify"; testing time: 266ms
Entering test case "multisig_IsStandard"
Leaving test case "multisig_IsStandard"
Entering test case "multisig_Solver1"
Leaving test case "multisig_Solver1"; testing time: 15ms
Entering test case "multisig_Sign"
Leaving test case "multisig_Sign"; testing time: 47ms
Leaving test suite "multisig_tests"
Entering test suite "mruset_tests"
Entering test case "mruset_like_set"
Leaving test case "mruset_like_set"; testing time: 15999mks
Entering test case "mruset_limited_size"
Leaving test case "mruset_limited_size"; testing time: 31ms
Entering test case "mruset_window"
Leaving test case "mruset_window"; testing time: 47ms
Leaving test suite "mruset_tests"
Entering test suite "miner_tests"
Entering test case "CreateNewBlock_validity"
Leaving test case "CreateNewBlock_validity"; testing time: 1391ms
Entering test case "sha256transform_equality"
2df5e1c65ef9f8cde240d23cae2ec036d31a15ec64bc68f64be242b1da6631f3
Leaving test case "sha256transform_equality"
Leaving test suite "miner_tests"
Entering test suite "key_tests"
Entering test case "key_test1"
Leaving test case "key_test1"; testing time: 1765ms
Leaving test suite "key_tests"
Entering test suite "getarg_tests"
Entering test case "boolarg"
Leaving test case "boolarg"
Entering test case "stringarg"
Leaving test case "stringarg"
Entering test case "intarg"
Leaving test case "intarg"
Entering test case "doubledash"
Leaving test case "doubledash"
Entering test case "boolargno"
Leaving test case "boolargno"
Leaving test suite "getarg_tests"
Entering test suite "DoS_tests"
Entering test case "DoS_banning"
Leaving test case "DoS_banning"; testing time: 62999mks
Entering test case "DoS_banscore"
Leaving test case "DoS_banscore"
Entering test case "DoS_bantime"
Leaving test case "DoS_bantime"
Entering test case "DoS_checknbits"
Leaving test case "DoS_checknbits"
Entering test case "DoS_mapOrphans"
Leaving test case "DoS_mapOrphans"; testing time: 906ms
Entering test case "DoS_checkSig"
Leaving test case "DoS_checkSig"; testing time: 2203ms
Leaving test suite "DoS_tests"
Entering test suite "compress_tests"
Entering test case "compress_amounts"
Leaving test case "compress_amounts"; testing time: 4219ms
Leaving test suite "compress_tests"
Entering test suite "Checkpoints_tests"
Entering test case "sanity"
Leaving test case "sanity"
Leaving test suite "Checkpoints_tests"
Entering test suite "CheckBlock_tests"
Entering test case "May15"
Test case May15 did not check any assertions
Leaving test case "May15"
Leaving test suite "CheckBlock_tests"
Entering test suite "canonical_tests"
Entering test case "script_canon"
Leaving test case "script_canon"; testing time: 15ms
Entering test case "script_noncanon"
Leaving test case "script_noncanon"; testing time: 15999mks
Leaving test suite "canonical_tests"
Entering test suite "bloom_tests"
Entering test case "bloom_create_insert_serialize"
Leaving test case "bloom_create_insert_serialize"
Entering test case "bloom_create_insert_serialize_with_tweak"
Leaving test case "bloom_create_insert_serialize_with_tweak"
Entering test case "bloom_create_insert_key"
Leaving test case "bloom_create_insert_key"
Entering test case "bloom_match"
Leaving test case "bloom_match"
Entering test case "merkle_block_1"
Leaving test case "merkle_block_1"
Entering test case "merkle_block_2"
Leaving test case "merkle_block_2"
Entering test case "merkle_block_2_with_update_none"
Leaving test case "merkle_block_2_with_update_none"
Entering test case "merkle_block_3_and_serialize"
Leaving test case "merkle_block_3_and_serialize"
Entering test case "merkle_block_4"
Leaving test case "merkle_block_4"
Entering test case "merkle_block_4_test_p2pubkey_only"
Leaving test case "merkle_block_4_test_p2pubkey_only"
Entering test case "merkle_block_4_test_update_none"
Leaving test case "merkle_block_4_test_update_none"
Leaving test suite "bloom_tests"
Entering test suite "bignum_tests"
Entering test case "bignum_setint64"
Leaving test case "bignum_setint64"
Entering test case "bignum_SetCompact"
Leaving test case "bignum_SetCompact"
Leaving test suite "bignum_tests"
Entering test suite "base64_tests"
Entering test case "base64_testvectors"
Leaving test case "base64_testvectors"
Leaving test suite "base64_tests"
Entering test suite "base58_tests"
Entering test case "base58_EncodeBase58"
Leaving test case "base58_EncodeBase58"
Entering test case "base58_DecodeBase58"
Leaving test case "base58_DecodeBase58"
Entering test case "base58_keys_valid_parse"
Leaving test case "base58_keys_valid_parse"; testing time: 15ms
Entering test case "base58_keys_valid_gen"
Leaving test case "base58_keys_valid_gen"
Entering test case "base58_keys_invalid"
Leaving test case "base58_keys_invalid"; testing time: 31999mks
Leaving test suite "base58_tests"
Entering test suite "base32_tests"
Entering test case "base32_testvectors"
Leaving test case "base32_testvectors"
Leaving test suite "base32_tests"
Entering test suite "allocator_tests"
Entering test case "test_LockedPageManagerBase"
Leaving test case "test_LockedPageManagerBase"
Leaving test suite "allocator_tests"
Entering test suite "Alert_tests"
Entering test case "AlertApplies"
Leaving test case "AlertApplies"; testing time: 15ms
Leaving test suite "Alert_tests"
Entering test suite "accounting_tests"
Entering test case "acc_orderupgrade"
Leaving test case "acc_orderupgrade"; testing time: 31ms
Leaving test suite "accounting_tests"
Leaving test suite "Bitcoin Test Suite"


Ron


LTC: LUYiMVsrFQewUSPDasSKGzhyTPAkiTeSov BTC: 1DPvP6WoZzaNQ9Nxzd64hjYad1kyQzTTbx YAC: Y3ZggXDvnRJaRwtVGyGJwt6DMLN3EPQpQf 
The day is coming when a single carrot, freshly observed, will set off a revolution.  Paul Cezanne
cinnamon_carter
Legendary
*
Offline Offline

Activity: 1148
Merit: 1018


It's about time -- All merrit accepted !!!


View Profile WWW
September 30, 2015, 07:54:32 AM
 #1050

Ron, i never got a chance to try, just recently installed vs to use for some other projects and will likely test with btc first , if i come up with anything useful will post here.

Check out my coin Photon
Merge Mine 5 other Blake 256 coins - 6x your hash power  https://www.blakecoin.org/

The obvious choice is not always the best choice.

LOOK DEEPER - Look into the Blake 256 Family -- CC
hashman
Legendary
*
Offline Offline

Activity: 1264
Merit: 1008


View Profile
September 30, 2015, 07:18:50 PM
 #1051

lmao, you guys understand that bitcoin exists now and yet ...  still use mac/win?  7 years in? 

wake up peeps!  No excuse for that today. 
old c coder
Sr. Member
****
Offline Offline

Activity: 260
Merit: 250



View Profile WWW
September 30, 2015, 10:05:55 PM
 #1052

lmao, you guys understand that bitcoin exists now and yet ...  still use mac/win?  7 years in? 

wake up peeps!  No excuse for that today. 
Hello hashman,

And I think that to ignore the market where there are an order of magnitude more desktops on the internet using (all kinds of different versions of) Windows than all the Mac, linux, unix,... machines combined is one of the reasons why bitcoin after 6 years is still ignored.  See http://netmarketshare.com/, chose Operating Systems, etc.  There are other reasons too.

Ron


LTC: LUYiMVsrFQewUSPDasSKGzhyTPAkiTeSov BTC: 1DPvP6WoZzaNQ9Nxzd64hjYad1kyQzTTbx YAC: Y3ZggXDvnRJaRwtVGyGJwt6DMLN3EPQpQf 
The day is coming when a single carrot, freshly observed, will set off a revolution.  Paul Cezanne
moon_sun
Newbie
*
Offline Offline

Activity: 17
Merit: 0


View Profile
October 11, 2015, 03:45:42 PM
 #1053

Hi, I'm new here Wink I am following this tutorial but I receive errors while making qrencode-3.4.4 (step 2.6)
I'm using Windows 7 x86 on Oracle VM Virtualbox. Can somebody help? Please! Smiley

Code:
checking whether the C compiler works...no
configure: error: in '/c/deps/qrencode-3.4.4':
configure: error: C compiler cannot create executables
See 'config.log' for more details

This is the content of config.log file

Code:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by QRencode configure 3.4.4, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure --enable-static --disable-shared --without-tools

## --------- ##
## Platform. ##
## --------- ##

hostname = PC
uname -m = i686
uname -r = 1.0.18(0.48/3/2)
uname -s = MINGW32_NT-6.1
uname -v = 2012-11-21 22:34

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: .
PATH: /usr/local/bin
PATH: /mingw/bin
PATH: /bin
PATH: /c/mingw32/bin
PATH: /c/Windows/system32
PATH: /c/Windows
PATH: /c/Windows/System32/Wbem
PATH: /c/Windows/System32/WindowsPowerShell/v1.0/


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2237: checking build system type
configure:2251: result: i686-pc-mingw32
configure:2271: checking host system type
configure:2284: result: i686-pc-mingw32
configure:2304: checking target system type
configure:2317: result: i686-pc-mingw32
configure:2360: checking for a BSD-compatible install
configure:2428: result: /bin/install -c
configure:2439: checking whether build environment is sane
configure:2494: result: yes
configure:2645: checking for a thread-safe mkdir -p
configure:2684: result: /bin/mkdir -p
configure:2691: checking for gawk
configure:2707: found /bin/gawk
configure:2718: result: gawk
configure:2729: checking whether make sets $(MAKE)
configure:2751: result: yes
configure:2780: checking whether make supports nested variables
configure:2797: result: yes
configure:2966: checking for style of include used by make
configure:2994: result: GNU
configure:3065: checking for gcc
configure:3081: found /bin/gcc
configure:3092: result: gcc
configure:3321: checking for C compiler version
configure:3330: gcc --version >&5
gcc (GCC) 3.4.4 (msys special)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3341: $? = 0
configure:3330: gcc -v >&5
Reading specs from /usr/lib/gcc/i686-pc-msys/3.4.4/specs
Configured with: /home/cstrauss/build/gcc3/gcc-3.4.4/configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --infodir=/share/info --mandir=/share/man --libexecdir=/lib --enable-languages=c,c++ --disable-nls --enable-threads=posix --enable-sjlj-exceptions --enable-hash-synchronization --enable-libstdcxx-debug --with-newlib
Thread model: posix
gcc version 3.4.4 (msys special)
configure:3341: $? = 0
configure:3330: gcc -V >&5
gcc: `-V' option must have argument
configure:3341: $? = 1
configure:3330: gcc -qversion >&5
gcc: unrecognized option `-qversion'
gcc: no input files
configure:3341: $? = 1
configure:3361: checking whether the C compiler works
configure:3383: gcc    conftest.c ../libpng-1.6.16/.libs/libpng.a ../../mingw32/i686-w64-mingw32/lib/libz.a >&5
gcc: ../libpng-1.6.16/.libs/libpng.a: No such file or directory
configure:3387: $? = 1
configure:3425: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "QRencode"
| #define PACKAGE_TARNAME "qrencode"
| #define PACKAGE_VERSION "3.4.4"
| #define PACKAGE_STRING "QRencode 3.4.4"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define MAJOR_VERSION 3
| #define MINOR_VERSION 4
| #define MICRO_VERSION 4
| #define PACKAGE "qrencode"
| #define VERSION "3.4.4"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:3430: error: in `/c/deps/qrencode-3.4.4':
configure:3432: error: C compiler cannot create executables
See `config.log' for more details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-mingw32
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=set
ac_cv_env_LIBS_value='../libpng-1.6.16/.libs/libpng.a ../../mingw32/i686-w64-mingw32/lib/libz.a'
ac_cv_env_PKG_CONFIG_LIBDIR_set=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=
ac_cv_env_PKG_CONFIG_PATH_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_png_CFLAGS_set=set
ac_cv_env_png_CFLAGS_value=-I../libpng-1.6.16
ac_cv_env_png_LIBS_set=set
ac_cv_env_png_LIBS_value=-L../libpng-1.6.16/.libs
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i686-pc-mingw32
ac_cv_path_install='/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
ac_cv_target=i686-pc-mingw32
am_cv_make_support_nested_variables=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /c/deps/qrencode-3.4.4/use/missing aclocal-1.14'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AR=''
AUTOCONF='${SHELL} /c/deps/qrencode-3.4.4/use/missing autoconf'
AUTOHEADER='${SHELL} /c/deps/qrencode-3.4.4/use/missing autoheader'
AUTOMAKE='${SHELL} /c/deps/qrencode-3.4.4/use/missing automake-1.14'
AWK='gawk'
BUILD_TESTS_FALSE=''
BUILD_TESTS_TRUE=''
BUILD_TOOLS_FALSE=''
BUILD_TOOLS_TRUE=''
CC='gcc'
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DLLTOOL=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
FGREP=''
GREP=''
HAVE_LIBPTHREAD_FALSE=''
HAVE_LIBPTHREAD_TRUE=''
HAVE_SDL_FALSE=''
HAVE_SDL_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD=''
LDFLAGS=''
LIBICONV=''
LIBOBJS=''
LIBPTHREAD=''
LIBS='../libpng-1.6.16/.libs/libpng.a ../../mingw32/i686-w64-mingw32/lib/libz.a'
LIBTOOL=''
LIPO=''
LN_S=''
LTLIBICONV=''
LTLIBOBJS=''
MAJOR_VERSION='3'
MAKEINFO='${SHELL} /c/deps/qrencode-3.4.4/use/missing makeinfo'
MANIFEST_TOOL=''
MICRO_VERSION='4'
MINOR_VERSION='4'
MKDIR_P='/bin/mkdir -p'
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE='qrencode'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='QRencode'
PACKAGE_STRING='QRencode 3.4.4'
PACKAGE_TARNAME='qrencode'
PACKAGE_URL=''
PACKAGE_VERSION='3.4.4'
PATH_SEPARATOR=':'
PKG_CONFIG=''
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH=''
RANLIB=''
SDL_CFLAGS=''
SDL_CONFIG=''
SDL_LIBS=''
SED=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='3.4.4'
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='i686-pc-mingw32'
build_alias=''
build_cpu='i686'
build_os='mingw32'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='i686-pc-mingw32'
host_alias=''
host_cpu='i686'
host_os='mingw32'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /c/deps/qrencode-3.4.4/use/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
png_CFLAGS='-I../libpng-1.6.16'
png_LIBS='-L../libpng-1.6.16/.libs'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='i686-pc-mingw32'
target_alias=''
target_cpu='i686'
target_os='mingw32'
target_vendor='pc'

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "QRencode"
#define PACKAGE_TARNAME "qrencode"
#define PACKAGE_VERSION "3.4.4"
#define PACKAGE_STRING "QRencode 3.4.4"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define MAJOR_VERSION 3
#define MINOR_VERSION 4
#define MICRO_VERSION 4
#define PACKAGE "qrencode"
#define VERSION "3.4.4"

configure: exit 77
Do you have the right PATH set?


When you built qrencode did you get any errors ?

You could try make clean & rebuilding it or delete qrencode folder & just rebuild it.

I did not bother to check if you were using btc source known to be compatable with these build directions.

I suggest also on the win 7 vm in control panel go to user accounts , change user account settings, pull all the way down to never notify.... to allow easier / seamless building of the toolchain. This has been known to cause issues for some people.

Hi, sorry for the late reply.
I tried to delete qrencode-3.4.4 folder, extract it again and run mingw, but I alway get errors when it displays "checking whether the C compiler works...no" ; "configure: error: C compiler cannot create executables" even with the "never notify" option on.
My path is set exactly like this tutorial suggests (I pasted it directly):
Code:
C:\mingw32\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\


Any clues? Thanks for helping Wink
foxill1
Jr. Member
*
Offline Offline

Activity: 58
Merit: 10


View Profile
October 12, 2015, 06:58:00 AM
 #1054

I compiled wallet, but I get this error:

Code:
C:/deps/boost_1_59_0/stage/lib\libboost_chrono-mgw49-mt-s-1_59.a(chrono.o): duplicate section `.rdata$_ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_6system12system_errorEEEEE[__ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_6system12system_errorEEEEE]' has different size
./build\db.o:db.cpp:(.text+0x34e): undefined reference to `DbEnv::DbEnv(unsigned int)'
./build\db.o:db.cpp:(.text+0x729): undefined reference to `DbEnv::close(unsigned int)'
./build\db.o:db.cpp:(.text+0x753): undefined reference to `DbEnv::DbEnv(unsigned int)'
./build\db.o:db.cpp:(.text+0x769): undefined reference to `DbEnv::remove(char const*, unsigned int)'
./build\db.o:db.cpp:(.text+0x774): undefined reference to `DbEnv::~DbEnv()'
./build\db.o:db.cpp:(.text+0x784): undefined reference to `DbEnv::strerror(int)'
./build\db.o:db.cpp:(.text+0x7e3): undefined reference to `DbEnv::~DbEnv()'
./build\db.o:db.cpp:(.text+0x856): undefined reference to `DbEnv::~DbEnv()'
./build\db.o:db.cpp:(.text+0x8f0): undefined reference to `DbEnv::~DbEnv()'
./build\db.o:db.cpp:(.text+0xcc9): undefined reference to `DbEnv::set_lg_dir(char const*)'
./build\db.o:db.cpp:(.text+0xd1b): undefined reference to `DbEnv::set_cachesize(unsigned int, unsigned int, int)'
./build\db.o:db.cpp:(.text+0xd2c): undefined reference to `DbEnv::set_lg_bsize(unsigned int)'
./build\db.o:db.cpp:(.text+0xd3d): undefined reference to `DbEnv::set_lg_max(unsigned int)'
./build\db.o:db.cpp:(.text+0xd4e): undefined reference to `DbEnv::set_lk_max_locks(unsigned int)'
./build\db.o:db.cpp:(.text+0xd5f): undefined reference to `DbEnv::set_lk_max_objects(unsigned int)'
./build\db.o:db.cpp:(.text+0xd99): undefined reference to `DbEnv::set_errfile(_iobuf*)'
./build\db.o:db.cpp:(.text+0xdc6): undefined reference to `DbEnv::set_flags(unsigned int, int)'
./build\db.o:db.cpp:(.text+0xddf): undefined reference to `DbEnv::set_flags(unsigned int, int)'
./build\db.o:db.cpp:(.text+0xdf8): undefined reference to `DbEnv::log_set_config(unsigned int, int)'
./build\db.o:db.cpp:(.text+0xe25): undefined reference to `DbEnv::open(char const*, unsigned int, int)'
./build\db.o:db.cpp:(.text+0xfe4): undefined reference to `DbEnv::strerror(int)'
./build\db.o:db.cpp:(.text+0x15f0): undefined reference to `Db::Db(DbEnv*, unsigned int)'
./build\db.o:db.cpp:(.text+0x17e3): undefined reference to `DbMpoolFile::set_flags(unsigned int, int)'
./build\db.o:db.cpp:(.text+0x1aa9): undefined reference to `DbEnv::set_cachesize(unsigned int, unsigned int, int)'
./build\db.o:db.cpp:(.text+0x1aba): undefined reference to `DbEnv::set_lg_bsize(unsigned int)'
./build\db.o:db.cpp:(.text+0x1acb): undefined reference to `DbEnv::set_lg_max(unsigned int)'
./build\db.o:db.cpp:(.text+0x1adc): undefined reference to `DbEnv::set_lk_max_locks(unsigned int)'
./build\db.o:db.cpp:(.text+0x1aed): undefined reference to `DbEnv::set_lk_max_objects(unsigned int)'
./build\db.o:db.cpp:(.text+0x1b06): undefined reference to `DbEnv::set_flags(unsigned int, int)'
./build\db.o:db.cpp:(.text+0x1b1f): undefined reference to `DbEnv::log_set_config(unsigned int, int)'
./build\db.o:db.cpp:(.text+0x1b40): undefined reference to `DbEnv::open(char const*, unsigned int, int)'
./build\db.o:db.cpp:(.text+0x1d3c): undefined reference to `Db::Db(DbEnv*, unsigned int)'
./build\db.o:db.cpp:(.text+0x1d63): undefined reference to `Db::verify(char const*, char const*, std::ostream*, unsigned int)'
./build\db.o:db.cpp:(.text+0x1db7): undefined reference to `Db::~Db()'
./build\db.o:db.cpp:(.text+0x1e6e): undefined reference to `Db::~Db()'
./build\db.o:db.cpp:(.text+0x1f7e): undefined reference to `Db::Db(DbEnv*, unsigned int)'
./build\db.o:db.cpp:(.text+0x1fa7): undefined reference to `Db::verify(char const*, char const*, std::ostream*, unsigned int)'
./build\db.o:db.cpp:(.text+0x1ff7): undefined reference to `Db::~Db()'
./build\db.o:db.cpp:(.text+0x252a): undefined reference to `Db::~Db()'
./build\db.o:db.cpp:(.text+0x269d): undefined reference to `DbTxn::abort()'
./build\db.o:db.cpp:(.text+0x26d5): undefined reference to `DbEnv::txn_checkpoint(unsigned int, unsigned int, unsigned int)'
./build\db.o:db.cpp:(.text+0x2864): undefined reference to `DbEnv::txn_checkpoint(unsigned int, unsigned int, unsigned int)'
./build\db.o:db.cpp:(.text+0x2885): undefined reference to `DbEnv::lsn_reset(char const*, unsigned int)'
./build\db.o:db.cpp:(.text+0x2920): undefined reference to `DbEnv::dbremove(DbTxn*, char const*, char const*, unsigned int)'
./build\db.o:db.cpp:(.text+0x2bbc): undefined reference to `Db::Db(DbEnv*, unsigned int)'
./build\db.o:db.cpp:(.text+0x2d2d): undefined reference to `Dbt::Dbt()'
./build\db.o:db.cpp:(.text+0x2d35): undefined reference to `Dbt::Dbt()'
./build\db.o:db.cpp:(.text+0x2d69): undefined reference to `Dbc::get(Dbt*, Dbt*, unsigned int)'
./build\db.o:db.cpp:(.text+0x2e76): undefined reference to `Dbt::~Dbt()'
./build\db.o:db.cpp:(.text+0x2e81): undefined reference to `Dbt::~Dbt()'
./build\db.o:db.cpp:(.text+0x304e): undefined reference to `Dbt::Dbt(void*, unsigned int)'
./build\db.o:db.cpp:(.text+0x307b): undefined reference to `Dbt::Dbt(void*, unsigned int)'
./build\db.o:db.cpp:(.text+0x30bb): undefined reference to `Dbt::~Dbt()'
./build\db.o:db.cpp:(.text+0x30c6): undefined reference to `Dbt::~Dbt()'
./build\db.o:db.cpp:(.text+0x3177): undefined reference to `Dbc::close()'
./build\db.o:db.cpp:(.text+0x3286): undefined reference to `Db::Db(DbEnv*, unsigned int)'
./build\db.o:db.cpp:(.text+0x32ac): undefined reference to `Db::remove(char const*, char const*, unsigned int)'
./build\db.o:db.cpp:(.text+0x32c8): undefined reference to `Db::Db(DbEnv*, unsigned int)'
./build\db.o:db.cpp:(.text+0x32f5): undefined reference to `Db::rename(char const*, char const*, char const*, unsigned int)'
./build\db.o:db.cpp:(.text+0x3306): undefined reference to `Db::~Db()'
./build\db.o:db.cpp:(.text+0x3311): undefined reference to `Db::~Db()'
./build\db.o:db.cpp:(.text+0x332b): undefined reference to `Dbc::close()'
./build\db.o:db.cpp:(.text+0x33b6): undefined reference to `Dbt::~Dbt()'
./build\db.o:db.cpp:(.text+0x33c1): undefined reference to `Dbt::~Dbt()'
./build\db.o:db.cpp:(.text+0x34e5): undefined reference to `Dbt::~Dbt()'
./build\db.o:db.cpp:(.text+0x34f0): undefined reference to `Dbt::~Dbt()'
./build\db.o:db.cpp:(.text+0x3514): undefined reference to `Db::~Db()'
./build\db.o:db.cpp:(.text+0x3523): undefined reference to `Db::~Db()'
./build\db.o:db.cpp:(.text+0x3896): undefined reference to `DbEnv::txn_checkpoint(unsigned int, unsigned int, unsigned int)'
./build\db.o:db.cpp:(.text+0x38d2): undefined reference to `DbEnv::lsn_reset(char const*, unsigned int)'
./build\db.o:db.cpp:(.text+0x3adf): undefined reference to `DbEnv::log_archive(char***, unsigned int)'
C:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bin/ld.exe: ./build\db.o: bad reloc address 0x348 in section `.rdata'
C:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bin/ld.exe: final link failed: Invalid operation
collect2.exe: error: ld returned 1 exit status
old c coder
Sr. Member
****
Offline Offline

Activity: 260
Merit: 250



View Profile WWW
October 17, 2015, 07:43:18 PM
 #1055

I compiled wallet, but I get this error:

Code:
C:/deps/boost_1_59_0/stage/lib\libboost_chrono-mgw49-mt-s-1_59.a(chrono.o): duplicate section `.rdata$_ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_6system12system_errorEEEEE[__ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_6system12system_errorEEEEE]' has different size
...
./build\db.o:db.cpp:(.text+0x34e): undefined reference to `DbEnv::DbEnv(unsigned int)'
...
collect2.exe: error: ld returned 1 exit status

Hello Foxill1 (?)

Looks like your build environment can't find the BerkeleyDB include (&/or library) files, perhaps other things too!

So you must ponder your build machinery, autogen?  and the system it is running on (your OS setup) and try to determine where &/or who is wrong. Shocked

I would look at message #1 in this forum,
https://bitcointalk.org/index.php?topic=149479.msg1587734#msg1587734, especially step 2.2 Wink

Ron


LTC: LUYiMVsrFQewUSPDasSKGzhyTPAkiTeSov BTC: 1DPvP6WoZzaNQ9Nxzd64hjYad1kyQzTTbx YAC: Y3ZggXDvnRJaRwtVGyGJwt6DMLN3EPQpQf 
The day is coming when a single carrot, freshly observed, will set off a revolution.  Paul Cezanne
foxill1
Jr. Member
*
Offline Offline

Activity: 58
Merit: 10


View Profile
October 22, 2015, 01:43:16 PM
 #1056

I compiled wallet, but I get this error:

Code:
C:/deps/boost_1_59_0/stage/lib\libboost_chrono-mgw49-mt-s-1_59.a(chrono.o): duplicate section `.rdata$_ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_6system12system_errorEEEEE[__ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_6system12system_errorEEEEE]' has different size
...
./build\db.o:db.cpp:(.text+0x34e): undefined reference to `DbEnv::DbEnv(unsigned int)'
...
collect2.exe: error: ld returned 1 exit status

Hello Foxill1 (?)

Looks like your build environment can't find the BerkeleyDB include (&/or library) files, perhaps other things too!

So you must ponder your build machinery, autogen?  and the system it is running on (your OS setup) and try to determine where &/or who is wrong. Shocked

I would look at message #1 in this forum,
https://bitcointalk.org/index.php?topic=149479.msg1587734#msg1587734, especially step 2.2 Wink

Ron

Thanks Smiley

one more question. How can I change the look wallet? Qt Creator does not help
old c coder
Sr. Member
****
Offline Offline

Activity: 260
Merit: 250



View Profile WWW
October 22, 2015, 07:05:50 PM
 #1057

I compiled wallet, but I get this error:

Code:
C:/deps/boost_1_59_0/stage/lib\libboost_chrono-mgw49-mt-s-1_59.a(chrono.o): duplicate section `.rdata$_ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_6system12system_errorEEEEE[__ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_6system12system_errorEEEEE]' has different size
...
./build\db.o:db.cpp:(.text+0x34e): undefined reference to `DbEnv::DbEnv(unsigned int)'
...
collect2.exe: error: ld returned 1 exit status

Hello Foxill1 (?)

Looks like your build environment can't find the BerkeleyDB include (&/or library) files, perhaps other things too!

So you must ponder your build machinery, autogen?  and the system it is running on (your OS setup) and try to determine where &/or who is wrong. Shocked

I would look at message #1 in this forum,
https://bitcointalk.org/index.php?topic=149479.msg1587734#msg1587734, especially step 2.2 Wink

Ron

Thanks Smiley

one more question. How can I change the look wallet? Qt Creator does not help
Hello Foxill1?,

I presume then, that you got it to compile?

In any event, to "prettify" a standard *coin-qt.exe, try Qt Designer! Wink  And if you come up with anything that's neat, cool, etc. let us know Grin

Ron


LTC: LUYiMVsrFQewUSPDasSKGzhyTPAkiTeSov BTC: 1DPvP6WoZzaNQ9Nxzd64hjYad1kyQzTTbx YAC: Y3ZggXDvnRJaRwtVGyGJwt6DMLN3EPQpQf 
The day is coming when a single carrot, freshly observed, will set off a revolution.  Paul Cezanne
foxill1
Jr. Member
*
Offline Offline

Activity: 58
Merit: 10


View Profile
October 22, 2015, 07:52:48 PM
 #1058

I compiled wallet, but I get this error:

Code:
C:/deps/boost_1_59_0/stage/lib\libboost_chrono-mgw49-mt-s-1_59.a(chrono.o): duplicate section `.rdata$_ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_6system12system_errorEEEEE[__ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_6system12system_errorEEEEE]' has different size
...
./build\db.o:db.cpp:(.text+0x34e): undefined reference to `DbEnv::DbEnv(unsigned int)'
...
collect2.exe: error: ld returned 1 exit status

Hello Foxill1 (?)

Looks like your build environment can't find the BerkeleyDB include (&/or library) files, perhaps other things too!

So you must ponder your build machinery, autogen?  and the system it is running on (your OS setup) and try to determine where &/or who is wrong. Shocked

I would look at message #1 in this forum,
https://bitcointalk.org/index.php?topic=149479.msg1587734#msg1587734, especially step 2.2 Wink

Ron

Thanks Smiley

one more question. How can I change the look wallet? Qt Creator does not help
Hello Foxill1?,

I presume then, that you got it to compile?

In any event, to "prettify" a standard *coin-qt.exe, try Qt Designer! Wink  And if you come up with anything that's neat, cool, etc. let us know Grin

Ron


Thanks again. Yes I compiled coin and Qt Designer also helps
moon_sun
Newbie
*
Offline Offline

Activity: 17
Merit: 0


View Profile
October 30, 2015, 11:06:28 AM
 #1059

Hi, I'm new here Wink I am following this tutorial but I receive errors while making qrencode-3.4.4 (step 2.6)
I'm using Windows 7 x86 on Oracle VM Virtualbox. Can somebody help? Please! Smiley

Code:
checking whether the C compiler works...no
configure: error: in '/c/deps/qrencode-3.4.4':
configure: error: C compiler cannot create executables
See 'config.log' for more details

This is the content of config.log file

Code:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by QRencode configure 3.4.4, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure --enable-static --disable-shared --without-tools

## --------- ##
## Platform. ##
## --------- ##

hostname = PC
uname -m = i686
uname -r = 1.0.18(0.48/3/2)
uname -s = MINGW32_NT-6.1
uname -v = 2012-11-21 22:34

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: .
PATH: /usr/local/bin
PATH: /mingw/bin
PATH: /bin
PATH: /c/mingw32/bin
PATH: /c/Windows/system32
PATH: /c/Windows
PATH: /c/Windows/System32/Wbem
PATH: /c/Windows/System32/WindowsPowerShell/v1.0/


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2237: checking build system type
configure:2251: result: i686-pc-mingw32
configure:2271: checking host system type
configure:2284: result: i686-pc-mingw32
configure:2304: checking target system type
configure:2317: result: i686-pc-mingw32
configure:2360: checking for a BSD-compatible install
configure:2428: result: /bin/install -c
configure:2439: checking whether build environment is sane
configure:2494: result: yes
configure:2645: checking for a thread-safe mkdir -p
configure:2684: result: /bin/mkdir -p
configure:2691: checking for gawk
configure:2707: found /bin/gawk
configure:2718: result: gawk
configure:2729: checking whether make sets $(MAKE)
configure:2751: result: yes
configure:2780: checking whether make supports nested variables
configure:2797: result: yes
configure:2966: checking for style of include used by make
configure:2994: result: GNU
configure:3065: checking for gcc
configure:3081: found /bin/gcc
configure:3092: result: gcc
configure:3321: checking for C compiler version
configure:3330: gcc --version >&5
gcc (GCC) 3.4.4 (msys special)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3341: $? = 0
configure:3330: gcc -v >&5
Reading specs from /usr/lib/gcc/i686-pc-msys/3.4.4/specs
Configured with: /home/cstrauss/build/gcc3/gcc-3.4.4/configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --infodir=/share/info --mandir=/share/man --libexecdir=/lib --enable-languages=c,c++ --disable-nls --enable-threads=posix --enable-sjlj-exceptions --enable-hash-synchronization --enable-libstdcxx-debug --with-newlib
Thread model: posix
gcc version 3.4.4 (msys special)
configure:3341: $? = 0
configure:3330: gcc -V >&5
gcc: `-V' option must have argument
configure:3341: $? = 1
configure:3330: gcc -qversion >&5
gcc: unrecognized option `-qversion'
gcc: no input files
configure:3341: $? = 1
configure:3361: checking whether the C compiler works
configure:3383: gcc    conftest.c ../libpng-1.6.16/.libs/libpng.a ../../mingw32/i686-w64-mingw32/lib/libz.a >&5
gcc: ../libpng-1.6.16/.libs/libpng.a: No such file or directory
configure:3387: $? = 1
configure:3425: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "QRencode"
| #define PACKAGE_TARNAME "qrencode"
| #define PACKAGE_VERSION "3.4.4"
| #define PACKAGE_STRING "QRencode 3.4.4"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define MAJOR_VERSION 3
| #define MINOR_VERSION 4
| #define MICRO_VERSION 4
| #define PACKAGE "qrencode"
| #define VERSION "3.4.4"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:3430: error: in `/c/deps/qrencode-3.4.4':
configure:3432: error: C compiler cannot create executables
See `config.log' for more details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-mingw32
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=set
ac_cv_env_LIBS_value='../libpng-1.6.16/.libs/libpng.a ../../mingw32/i686-w64-mingw32/lib/libz.a'
ac_cv_env_PKG_CONFIG_LIBDIR_set=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=
ac_cv_env_PKG_CONFIG_PATH_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_png_CFLAGS_set=set
ac_cv_env_png_CFLAGS_value=-I../libpng-1.6.16
ac_cv_env_png_LIBS_set=set
ac_cv_env_png_LIBS_value=-L../libpng-1.6.16/.libs
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i686-pc-mingw32
ac_cv_path_install='/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
ac_cv_target=i686-pc-mingw32
am_cv_make_support_nested_variables=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /c/deps/qrencode-3.4.4/use/missing aclocal-1.14'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AR=''
AUTOCONF='${SHELL} /c/deps/qrencode-3.4.4/use/missing autoconf'
AUTOHEADER='${SHELL} /c/deps/qrencode-3.4.4/use/missing autoheader'
AUTOMAKE='${SHELL} /c/deps/qrencode-3.4.4/use/missing automake-1.14'
AWK='gawk'
BUILD_TESTS_FALSE=''
BUILD_TESTS_TRUE=''
BUILD_TOOLS_FALSE=''
BUILD_TOOLS_TRUE=''
CC='gcc'
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DLLTOOL=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
FGREP=''
GREP=''
HAVE_LIBPTHREAD_FALSE=''
HAVE_LIBPTHREAD_TRUE=''
HAVE_SDL_FALSE=''
HAVE_SDL_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD=''
LDFLAGS=''
LIBICONV=''
LIBOBJS=''
LIBPTHREAD=''
LIBS='../libpng-1.6.16/.libs/libpng.a ../../mingw32/i686-w64-mingw32/lib/libz.a'
LIBTOOL=''
LIPO=''
LN_S=''
LTLIBICONV=''
LTLIBOBJS=''
MAJOR_VERSION='3'
MAKEINFO='${SHELL} /c/deps/qrencode-3.4.4/use/missing makeinfo'
MANIFEST_TOOL=''
MICRO_VERSION='4'
MINOR_VERSION='4'
MKDIR_P='/bin/mkdir -p'
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE='qrencode'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='QRencode'
PACKAGE_STRING='QRencode 3.4.4'
PACKAGE_TARNAME='qrencode'
PACKAGE_URL=''
PACKAGE_VERSION='3.4.4'
PATH_SEPARATOR=':'
PKG_CONFIG=''
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH=''
RANLIB=''
SDL_CFLAGS=''
SDL_CONFIG=''
SDL_LIBS=''
SED=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='3.4.4'
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='i686-pc-mingw32'
build_alias=''
build_cpu='i686'
build_os='mingw32'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='i686-pc-mingw32'
host_alias=''
host_cpu='i686'
host_os='mingw32'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /c/deps/qrencode-3.4.4/use/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
png_CFLAGS='-I../libpng-1.6.16'
png_LIBS='-L../libpng-1.6.16/.libs'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='i686-pc-mingw32'
target_alias=''
target_cpu='i686'
target_os='mingw32'
target_vendor='pc'

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "QRencode"
#define PACKAGE_TARNAME "qrencode"
#define PACKAGE_VERSION "3.4.4"
#define PACKAGE_STRING "QRencode 3.4.4"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define MAJOR_VERSION 3
#define MINOR_VERSION 4
#define MICRO_VERSION 4
#define PACKAGE "qrencode"
#define VERSION "3.4.4"

configure: exit 77
Do you have the right PATH set?


When you built qrencode did you get any errors ?

You could try make clean & rebuilding it or delete qrencode folder & just rebuild it.

I did not bother to check if you were using btc source known to be compatable with these build directions.

I suggest also on the win 7 vm in control panel go to user accounts , change user account settings, pull all the way down to never notify.... to allow easier / seamless building of the toolchain. This has been known to cause issues for some people.

Hi, sorry for the late reply.
I tried to delete qrencode-3.4.4 folder, extract it again and run mingw, but I alway get errors when it displays "checking whether the C compiler works...no" ; "configure: error: C compiler cannot create executables" even with the "never notify" option on.
My path is set exactly like this tutorial suggests (I pasted it directly):
Code:
C:\mingw32\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\


Any clues? Thanks for helping Wink

Bumping my help request! Please! Smiley
hhanh00
Sr. Member
****
Offline Offline

Activity: 467
Merit: 266


View Profile
October 30, 2015, 03:27:21 PM
 #1060

Did you do the libpng step?

Download and unpack http://download.sourceforge.net/libpng/libpng-1.6.16.tar.gz inside your deps folder then configure and make:
Code:
cd /c/deps/libpng-1.6.16
configure --disable-shared
make
cp .libs/libpng16.a .libs/libpng.a

Pages: « 1 ... 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 [53] 54 55 56 57 58 59 60 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!