Bitcoin Forum
May 12, 2024, 12:28:52 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2] 3 4 5 6 7 8 9 10 11 12 13 14 15 »  All
  Print  
Author Topic: [HOWTO] compile altcoin for windows on linux using mxe and mingw  (Read 49057 times)
hendo420
Sr. Member
****
Offline Offline

Activity: 420
Merit: 250



View Profile WWW
October 27, 2015, 02:41:02 PM
 #21

Here's a copy of my Ubuntu 14.04 32-bit VMware Image for anyone that wants it. You will need atleast VMware 10 installed.

https://www.amazon.com/clouddrive/share/ZhOxZQQzji8FpQvuV9b86DqJg6IGpIXmlXFyG5o2X8h?ref_=cd_ph_share_link_copy

It should be a big help to anyone that is having problems following this guide.

The user password is Password1

The root password is Password1

There are instructions on the desktop for anyone that needs them. Wink

ebmarket.co
"The nature of Bitcoin is such that once version 0.1 was released, the core design was set in stone for the rest of its lifetime." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715473732
Hero Member
*
Offline Offline

Posts: 1715473732

View Profile Personal Message (Offline)

Ignore
1715473732
Reply with quote  #2

1715473732
Report to moderator
blackchopper
Sr. Member
****
Offline Offline

Activity: 316
Merit: 253



View Profile WWW
November 04, 2015, 04:58:31 AM
 #22

Morning,

I decided to give this a try since I'm new to the whole bitcoin / altcoin scene. This is the error I am getting when I try to compile, and I didnt see a Makefile.Release...

Code:
[build]     qtxlsxwriter         i686-w64-mingw32.static                        
[done]      qtxlsxwriter         i686-w64-mingw32.static                                    156204 KiB     0m57.310s
[no-build]  qt5                  i686-w64-mingw32.static
--------------------------------------------------------------------------------------------
./compile-blk.sh: line 6: i686-w64-mingw32.static-qmake-qt5: command not found
make: Makefile.Release: No such file or directory
make: *** No rule to make target `Makefile.Release'.  Stop.

Which step am I missing?

I am compiling this using Ubuntu 14.04 LTS x86_64

Verify that your PATH env var contains the correct location for mxe

Code:
export PATH=/mnt/mxe/usr/bin:$PATH

Hello.  Having some fun testing our making a QT file.  I'm having the same issue as the other person.  What exactly do I have to correct?  The "export PATH=/mnt/mxe/usr/bin:$PATH" or a line in compile-m.sh?

I followed your instructions to a tee and all the files are in the same place as yours.  I'm on a fresh install of Ubuntu.  I get the same error as the user above.

Thanks for your help!  Guide is excellent.

Developer with a background in Marketing and Promotions.
CHECK OUT PLATINUMBAR XPTX
blackchopper
Sr. Member
****
Offline Offline

Activity: 316
Merit: 253



View Profile WWW
November 05, 2015, 07:15:12 AM
 #23

I cleared up the path issue, but now I'm getting this error when I compile blackcoin:


Code:
/mnt/mxe/usr/i686-w64-mingw32.static/lib/libdb_cxx.a(os_pid.o):os_pid.c:(.text+0x25): undefined reference to `pthread_self'
collect2: error: ld returned 1 exit status
Makefile.Release:468: recipe for target 'release/blackcoin-qt.exe' failed
make: *** [release/blackcoin-qt.exe] Error 1

Developer with a background in Marketing and Promotions.
CHECK OUT PLATINUMBAR XPTX
lulzyou
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
December 26, 2015, 07:25:40 AM
 #24

Code:
libtool: link: /mnt/mxe/usr/bin/i686-w64-mingw32.static-gcc -O3 -o db_archive db_archive.o util_sig.o  libdb-5.3.a
libdb-5.3.a: error adding symbols: Archive has no index; run ranlib to add one
collect2: error: ld returned 1 exit status
make: *** [db_archive] Error 1

I encounter this problem. anyone know how to solve?



Just add the "RANLIB=...." as shown below:

Quote
#!/bin/bash
MXE_PATH=/mnt/mxe
sed -i "s/WinIoCtl.h/winioctl.h/g" src/dbinc/win_db.h
mkdir build_mxe
cd build_mxe

RANLIB=$MXE_PATH/usr/bin/i686-w64-mingw32.static-ranlib \
      CC=$MXE_PATH/usr/bin/i686-w64-mingw32.static-gcc \
      CXX=$MXE_PATH/usr/bin/i686-w64-mingw32.static-g++ \
      ../dist/configure \
      --disable-replication \
      --enable-mingw \
      --enable-cxx \
      --host x86 \
      --prefix=$MXE_PATH/usr/i686-w64-mingw32.static

make

make install

I'm having a similar issue but its this

/src/leveldb/libmemenv.a: error adding symbols: Archive has no index; run ranlib to add one
collect2: error: ld returned 1 exit status

im assuming its another place in the compile, but im trying to add ranlib in both compiles and still no luck. an suggestions (sorry for digging up an old thread, but its the only one that makes sense, and im still downloading the amazon image hendo420 has.

thank you
Rkana
Sr. Member
****
Offline Offline

Activity: 281
Merit: 250

RK Coin Services - Alt Coins Dev (ETH-BTC & More)


View Profile
December 26, 2015, 12:00:41 PM
 #25

This is a very useful tutorial. Thank you for sharing it. Will do some learning with it.

I Do COIN SERVICES (WEB JsWALLET + INSIGHT EXPLORER | ELECTRUM)
I Can Make You an ETH OR BTC ALTCOIN And OTHER COIN DEVELOPMENT - PM Me For More Info
luke9511
Newbie
*
Offline Offline

Activity: 16
Merit: 0


View Profile
January 08, 2016, 06:56:55 PM
 #26

first i want to say very good guide and thanks for it aswell! but i am having an issue when i try to run the compile-blk.sh file i get the following error

Code:
./compile-blk.sh: line 5: blackcoin-qt.pro: command not found
make: Makefile.Release: No such file or directory
make: *** No rule to make target `Makefile.Release'.  Stop.

i dont know what else to do i am stuck does anyone have any advice?
iGotSpots
Legendary
*
Offline Offline

Activity: 2548
Merit: 1054


CPU Web Mining 🕸️ on webmining.io


View Profile WWW
January 08, 2016, 07:16:58 PM
 #27

first i want to say very good guide and thanks for it aswell! but i am having an issue when i try to run the compile-blk.sh file i get the following error

Code:
./compile-blk.sh: line 5: blackcoin-qt.pro: command not found
make: Makefile.Release: No such file or directory
make: *** No rule to make target `Makefile.Release'.  Stop.

i dont know what else to do i am stuck does anyone have any advice?

Something is most likely named incorrectly. Check all spelling matches

luke9511
Newbie
*
Offline Offline

Activity: 16
Merit: 0


View Profile
January 08, 2016, 07:25:40 PM
Last edit: January 08, 2016, 07:36:00 PM by luke9511
 #28

first i want to say very good guide and thanks for it aswell! but i am having an issue when i try to run the compile-blk.sh file i get the following error

Code:
./compile-blk.sh: line 5: blackcoin-qt.pro: command not found
make: Makefile.Release: No such file or directory
make: *** No rule to make target `Makefile.Release'.  Stop.

i dont know what else to do i am stuck does anyone have any advice?

Something is most likely named incorrectly. Check all spelling matches

i have checked everything, i didnt even type any of the commands i copied and pasted them all i also checked my path environment variable to make sure it was correct and it is, i dont know what else there is

EDIT new error which i think may have the same thing to do with the first
Code:
./compile-blk.sh: line 6: i686-w64-mingw32.static-qmake-qt5: command not found
make: Makefile.Release: No such file or directory
make: *** No rule to make target `Makefile.Release'.  Stop.
bhokor
Legendary
*
Offline Offline

Activity: 966
Merit: 1000


View Profile
January 08, 2016, 09:05:08 PM
 #29

Here's a copy of my Ubuntu 14.04 32-bit VMware Image for anyone that wants it. You will need atleast VMware 10 installed.

https://www.amazon.com/clouddrive/share/ZhOxZQQzji8FpQvuV9b86DqJg6IGpIXmlXFyG5o2X8h?ref_=cd_ph_share_link_copy

It should be a big help to anyone that is having problems following this guide.

The user password is Password1

The root password is Password1

There are instructions on the desktop for anyone that needs them. Wink

Thank you for the share, it is pure gold, i have been trying and i have could compile three altcoins wallets without problems, i have only a question about if it is possible to have installed qt4 and qt 5 and not have problems with compilation.
Have you tried it?

thanks again
luke9511
Newbie
*
Offline Offline

Activity: 16
Merit: 0


View Profile
January 13, 2016, 06:57:47 PM
 #30

i kinda got this working though there is no Makefile.Release any where, but if i delete the .Release part it compiles fine but it compiles for linux instead of windows
Nthused
Legendary
*
Offline Offline

Activity: 1554
Merit: 1001



View Profile
March 17, 2016, 07:24:00 AM
 #31

Random question but could you do this on a VM server with exceeded specs ?
AliceWonderMiscreations
Full Member
***
Offline Offline

Activity: 182
Merit: 107


View Profile WWW
March 17, 2016, 09:31:13 AM
 #32

I wish Linux tutorials would stop assuming Ubuntu and start specifying the upstream product name that is needed rather than a sudo apt-get line.

Weird that dependencies like bash and perl and sed are listed there.

Are they not standard in Ubuntu?

I hereby reserve the right to sometimes be wrong
zeitman007
Newbie
*
Offline Offline

Activity: 24
Merit: 0


View Profile
March 23, 2016, 04:54:35 AM
 #33

Im having trouble with the command not found error.  Ubuntu 14.04 64-bit

Code:
./compile-blk.sh: line 6: i686-w64-mingw32.static-qmake-qt5: command not found
make: Makefile.Release: No such file or directory
make: *** No rule to make target `Makefile.Release'.  Stop.

I have ran the export PATH=/mnt/mxe/usr/bin:$PATH command many times, that should be where mxe is since I followed the tutorial to a T.

Any ideas?  Thanks!
tebbo
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
April 10, 2016, 08:21:29 PM
 #34

Im having trouble with the command not found error.  Ubuntu 14.04 64-bit

Code:
./compile-blk.sh: line 6: i686-w64-mingw32.static-qmake-qt5: command not found
make: Makefile.Release: No such file or directory
make: *** No rule to make target `Makefile.Release'.  Stop.

I have ran the export PATH=/mnt/mxe/usr/bin:$PATH command many times, that should be where mxe is since I followed the tutorial to a T.

Any ideas?  Thanks!


I'm having this problem also.

Has anyone solved it yet.

All $PATH are correct.

Thanks

Tebbo
ironsniper
Member
**
Offline Offline

Activity: 92
Merit: 10


View Profile
July 11, 2016, 01:25:53 PM
 #35

anyone know how to get past this error

Code:
make: i686-w64-mingw32.static-g++: Command not found
DanyBv
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
July 31, 2016, 01:18:51 PM
 #36

first i want to say very good guide and thanks for it aswell! but i am having an issue when i try to run the compile-blk.sh file i get the following error

Code:
./compile-blk.sh: line 5: blackcoin-qt.pro: command not found
make: Makefile.Release: No such file or directory
make: *** No rule to make target `Makefile.Release'.  Stop.

i dont know what else to do i am stuck does anyone have any advice?

Same issue...  Sad
D3m0nKinGx
Hero Member
*****
Offline Offline

Activity: 1638
Merit: 507


The snake which cannot cast its skin has to die


View Profile
September 21, 2016, 04:34:43 AM
 #37

I tried compiling with BDB versions 5.3.28; 6.0.35; and 6.1.29 (http://wwupw.oracle.com/technetwork/database/database-technologies/berkeleydb/downloads/index.html)

when the compile-db.sh gets to the make command the following errors occur:

Missing files: (there are multiple of these)

Code:
In file included from ./db_int.h:77:0,
                 from ../src/mutex/mut_win32.c:12:
../src/dbinc/win_db.h:21:20: fatal error: direct.h: No such file or directory
compilation terminated.
Makefile:2211: recipe for target 'mut_win32.o' failed
make: *** [mut_win32.o] Error 1
./libtool --mode=compile cc -c -I. -I../src  -O3  ../src/mutex/mut_win32.c
libtool: compile:  cc -c -I. -I../src -O3 ../src/mutex/mut_win32.c -o mut_win32.o
In file included from ./db_int.h:77:0,
                 from ../src/mutex/mut_win32.c:12:
../src/dbinc/win_db.h:21:20: fatal error: direct.h: No such file or directory
compilation terminated.
Makefile:2211: recipe for target 'mut_win32.o' failed
make: *** [mut_win32.o] Error 1

After commenting out the "missing" files in win_db.h the following error occurs:

Code:
config.status: executing libtool commands
./libtool --mode=compile cc -c -I. -I../src  -O3  ../src/mutex/mut_win32.c
libtool: compile:  cc -c -I. -I../src -O3 ../src/mutex/mut_win32.c -o mut_win32.o
In file included from ./db_int.h:96:0,
                 from ../src/mutex/mut_win32.c:12:
./db.h:3196:34: error: unknown type name 'SECURITY_ATTRIBUTES'
 int db_env_set_win_security __P((SECURITY_ATTRIBUTES *sa));
                                  ^
./db.h:40:21: note: in definition of macro '__P'
 #define __P(protos) protos
                     ^
In file included from ./db_int.h:1161:0,
                 from ../src/mutex/mut_win32.c:12:
../src/dbinc/globals.h:39:2: error: unknown type name 'SECURITY_DESCRIPTOR'
  SECURITY_DESCRIPTOR win_default_sec_desc;
  ^
../src/dbinc/globals.h:40:2: error: unknown type name 'SECURITY_ATTRIBUTES'
  SECURITY_ATTRIBUTES win_default_sec_attr;
  ^
../src/dbinc/globals.h:42:2: error: unknown type name 'SECURITY_ATTRIBUTES'
  SECURITY_ATTRIBUTES *win_sec_attr;
  ^
In file included from ./db_int.h:1163:0,
                 from ../src/mutex/mut_win32.c:12:
../src/dbinc/region.h:291:2: error: unknown type name 'HANDLE'
  HANDLE wnt_handle;  /* Win/NT HANDLE. */
  ^
In file included from ../src/dbinc/mutex_int.h:12:0,
                 from ../src/dbinc/mutex.h:15,
                 from ./db_int.h:1165,
                 from ../src/mutex/mut_win32.c:12:
../src/dbinc/atomic.h:43:9: error: unknown type name 'DWORD'
 typedef DWORD atomic_value_t;
         ^
../src/dbinc/atomic.h:108:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'volatile'
 typedef LONG volatile *interlocked_val;
              ^
In file included from ../src/dbinc/mutex.h:15:0,
                 from ./db_int.h:1165,
                 from ../src/mutex/mut_win32.c:12:
../src/dbinc/mutex_int.h:369:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'volatile'
 typedef LONG volatile tsl_t;
              ^
../src/dbinc/mutex_int.h:371:2: error: unknown type name 'LONG'
  LONG nwaiters;       \
  ^
../src/dbinc/mutex_int.h:1006:2: note: in expansion of macro 'MUTEX_FIELDS'
  MUTEX_FIELDS   /* Opaque thread mutex structures. */
  ^
../src/dbinc/mutex_int.h:1018:2: error: unknown type name 'tsl_t'
  tsl_t  tas;
  ^
In file included from ./db_int.h:1170:0,
                 from ../src/mutex/mut_win32.c:12:
../src/dbinc/os.h:129:2: error: unknown type name 'HANDLE'
  HANDLE handle;   /* Windows/32 file handle. */
  ^
../src/dbinc/os.h:130:2: error: unknown type name 'HANDLE'
  HANDLE trunc_handle;  /* Handle for truncate calls. */
  ^
../src/mutex/mut_win32.c:30:8: error: unknown type name '_TCHAR'
 static _TCHAR hex_digits[] = _T("0123456789abcdef");
        ^
../src/mutex/mut_win32.c:30:30: warning: implicit declaration of function '_T' [-Wimplicit-function-declaration]
 static _TCHAR hex_digits[] = _T("0123456789abcdef");
                              ^
../src/mutex/mut_win32.c:30:30: error: invalid initializer
../src/mutex/mut_win32.c: In function 'get_handle':
../src/mutex/mut_win32.c:35:2: error: unknown type name 'HANDLE'
  HANDLE *eventp;
  ^
../src/mutex/mut_win32.c:37:2: error: unknown type name '_TCHAR'
  _TCHAR idbuf[] = _T("db.m00000000");
  ^
../src/mutex/mut_win32.c:37:19: error: invalid initializer
  _TCHAR idbuf[] = _T("db.m00000000");
                   ^
../src/mutex/mut_win32.c:38:2: error: unknown type name '_TCHAR'
  _TCHAR *p = idbuf + 12;
  ^
../src/mutex/mut_win32.c:47:3: warning: implicit declaration of function 'InitializeSecurityDescriptor' [-Wimplicit-function-declaration]
   InitializeSecurityDescriptor(&DB_GLOBAL(win_default_sec_desc),
   ^
../src/mutex/mut_win32.c:48:7: error: 'SECURITY_DESCRIPTOR_REVISION' undeclared (first use in this function)
       SECURITY_DESCRIPTOR_REVISION);
       ^
../src/mutex/mut_win32.c:48:7: note: each undeclared identifier is reported only once for each function it appears in
../src/mutex/mut_win32.c:49:3: warning: implicit declaration of function 'SetSecurityDescriptorDacl' [-Wimplicit-function-declaration]
   SetSecurityDescriptorDacl(&DB_GLOBAL(win_default_sec_desc),
   ^
../src/mutex/mut_win32.c:51:34: error: request for member 'nLength' in something not a structure or union
   DB_GLOBAL(win_default_sec_attr).nLength =
                                  ^
../src/mutex/mut_win32.c:52:14: error: 'SECURITY_ATTRIBUTES' undeclared (first use in this function)
       sizeof(SECURITY_ATTRIBUTES);
              ^
../src/mutex/mut_win32.c:53:34: error: request for member 'bInheritHandle' in something not a structure or union
   DB_GLOBAL(win_default_sec_attr).bInheritHandle = FALSE;
                                  ^
../src/mutex/mut_win32.c:54:34: error: request for member 'lpSecurityDescriptor' in something not a structure or union
   DB_GLOBAL(win_default_sec_attr).lpSecurityDescriptor =
                                  ^
../src/mutex/mut_win32.c:60:17: warning: implicit declaration of function 'CreateEvent' [-Wimplicit-function-declaration]
  if ((*eventp = CreateEvent(DB_GLOBAL(win_sec_attr),
                 ^
../src/mutex/mut_win32.c:61:28: warning: comparison between pointer and integer
      FALSE, FALSE, idbuf)) == NULL) {
                            ^
../src/mutex/mut_win32.c: In function '__db_win32_mutex_lock_int':
../src/mutex/mut_win32.c:90:2: error: unknown type name 'HANDLE'
  HANDLE event;
  ^
../src/mutex/mut_win32.c:124:8: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
  event = NULL;
        ^
In file included from ../src/dbinc/mutex_int.h:12:0,
                 from ../src/dbinc/mutex.h:15,
                 from ./db_int.h:1165,
                 from ../src/mutex/mut_win32.c:12:
../src/dbinc/atomic.h:124:3: warning: implicit declaration of function 'InterlockedCompareExchange' [-Wimplicit-function-declaration]
  (InterlockedCompareExchange((interlocked_val)(&(p)->value), \
   ^
../src/dbinc/mutex_int.h:1116:2: note: in expansion of macro 'atomic_compare_exchange'
  atomic_compare_exchange(env,    \
  ^
../src/mutex/mut_win32.c:143:34: note: in expansion of macro 'MUTEXP_ACQUIRE'
   if (MUTEXP_IS_BUSY(mutexp) || !MUTEXP_ACQUIRE(mutexp)) {
                                  ^
../src/dbinc/atomic.h:124:31: error: 'interlocked_val' undeclared (first use in this function)
  (InterlockedCompareExchange((interlocked_val)(&(p)->value), \
                               ^
../src/dbinc/mutex_int.h:1116:2: note: in expansion of macro 'atomic_compare_exchange'
  atomic_compare_exchange(env,    \
  ^
../src/mutex/mut_win32.c:143:34: note: in expansion of macro 'MUTEXP_ACQUIRE'
   if (MUTEXP_IS_BUSY(mutexp) || !MUTEXP_ACQUIRE(mutexp)) {
                                  ^
../src/dbinc/atomic.h:124:30: error: called object is not a function or function pointer
  (InterlockedCompareExchange((interlocked_val)(&(p)->value), \
                              ^
../src/dbinc/mutex_int.h:1116:2: note: in expansion of macro 'atomic_compare_exchange'
  atomic_compare_exchange(env,    \
  ^
../src/mutex/mut_win32.c:143:34: note: in expansion of macro 'MUTEXP_ACQUIRE'
   if (MUTEXP_IS_BUSY(mutexp) || !MUTEXP_ACQUIRE(mutexp)) {
                                  ^
In file included from ../src/dbinc/mutex.h:15:0,
                 from ./db_int.h:1165,
                 from ../src/mutex/mut_win32.c:12:
../src/dbinc/mutex_int.h:375:27: warning: implicit declaration of function 'InterlockedExchange' [-Wimplicit-function-declaration]
 #define MUTEX_SET(tsl)  (!InterlockedExchange((PLONG)tsl, 1))
                           ^
../src/dbinc/mutex_int.h:1118:2: note: in expansion of macro 'MUTEX_SET'
  MUTEX_SET(&(mutexp)->tas))
  ^
../src/mutex/mut_win32.c:143:34: note: in expansion of macro 'MUTEXP_ACQUIRE'
   if (MUTEXP_IS_BUSY(mutexp) || !MUTEXP_ACQUIRE(mutexp)) {
                                  ^
../src/dbinc/mutex_int.h:375:48: error: 'PLONG' undeclared (first use in this function)
 #define MUTEX_SET(tsl)  (!InterlockedExchange((PLONG)tsl, 1))
                                                ^
../src/dbinc/mutex_int.h:1118:2: note: in expansion of macro 'MUTEX_SET'
  MUTEX_SET(&(mutexp)->tas))
  ^
../src/mutex/mut_win32.c:143:34: note: in expansion of macro 'MUTEXP_ACQUIRE'
   if (MUTEXP_IS_BUSY(mutexp) || !MUTEXP_ACQUIRE(mutexp)) {
                                  ^
../src/dbinc/mutex_int.h:1118:12: error: invalid operands to binary & (have 'int *' and 'int')
  MUTEX_SET(&(mutexp)->tas))
            ^
../src/dbinc/mutex_int.h:375:54: note: in definition of macro 'MUTEX_SET'
 #define MUTEX_SET(tsl)  (!InterlockedExchange((PLONG)tsl, 1))
                                                      ^
../src/mutex/mut_win32.c:143:34: note: in expansion of macro 'MUTEXP_ACQUIRE'
   if (MUTEXP_IS_BUSY(mutexp) || !MUTEXP_ACQUIRE(mutexp)) {
                                  ^
../src/mutex/mut_win32.c:183:13: warning: comparison between pointer and integer
   if (event == NULL)
             ^
../src/mutex/mut_win32.c:188:13: warning: comparison between pointer and integer
   if (event != NULL) {
             ^
../src/mutex/mut_win32.c:189:4: warning: implicit declaration of function 'CloseHandle' [-Wimplicit-function-declaration]
    CloseHandle(event);
    ^
../src/mutex/mut_win32.c:190:4: warning: implicit declaration of function 'InterlockedDecrement' [-Wimplicit-function-declaration]
    InterlockedDecrement(&mutexp->nwaiters);
    ^
../src/mutex/mut_win32.c:235:12: warning: comparison between pointer and integer
  if (event == NULL) {
            ^
../src/mutex/mut_win32.c:242:3: warning: implicit declaration of function 'InterlockedIncrement' [-Wimplicit-function-declaration]
   InterlockedIncrement(&mutexp->nwaiters);
   ^
../src/mutex/mut_win32.c:248:13: warning: implicit declaration of function 'WaitForSingleObject' [-Wimplicit-function-declaration]
  if ((ret = WaitForSingleObject(event, ms)) == WAIT_FAILED) {
             ^
../src/mutex/mut_win32.c:248:48: error: 'WAIT_FAILED' undeclared (first use in this function)
  if ((ret = WaitForSingleObject(event, ms)) == WAIT_FAILED) {
                                                ^
../src/mutex/mut_win32.c:248:45: warning: comparison between pointer and integer
  if ((ret = WaitForSingleObject(event, ms)) == WAIT_FAILED) {
                                             ^
../src/mutex/mut_win32.c:267:12: warning: comparison between pointer and integer
  if (event != NULL) {
            ^
../src/mutex/mut_win32.c: In function '__db_win32_mutex_readlock_int':
../src/mutex/mut_win32.c:348:2: error: unknown type name 'HANDLE'
  HANDLE event;
  ^
../src/mutex/mut_win32.c:375:8: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
  event = NULL;
        ^
In file included from ../src/dbinc/mutex_int.h:12:0,
                 from ../src/dbinc/mutex.h:15,
                 from ./db_int.h:1165,
                 from ../src/mutex/mut_win32.c:12:
../src/dbinc/atomic.h:124:31: error: 'interlocked_val' undeclared (first use in this function)
  (InterlockedCompareExchange((interlocked_val)(&(p)->value), \
                               ^
../src/mutex/mut_win32.c:410:15: note: in expansion of macro 'atomic_compare_exchange'
   } else if (!atomic_compare_exchange(env, &mutexp->sharecount,
               ^
../src/dbinc/atomic.h:124:30: error: called object is not a function or function pointer
  (InterlockedCompareExchange((interlocked_val)(&(p)->value), \
                              ^
../src/mutex/mut_win32.c:410:15: note: in expansion of macro 'atomic_compare_exchange'
   } else if (!atomic_compare_exchange(env, &mutexp->sharecount,
               ^
../src/mutex/mut_win32.c:430:13: warning: comparison between pointer and integer
   if (event == NULL)
             ^
../src/mutex/mut_win32.c:435:13: warning: comparison between pointer and integer
   if (event != NULL) {
             ^
../src/mutex/mut_win32.c:469:12: warning: comparison between pointer and integer
  if (event == NULL) {
            ^
../src/mutex/mut_win32.c:480:48: error: 'WAIT_FAILED' undeclared (first use in this function)
  if ((ret = WaitForSingleObject(event, ms)) == WAIT_FAILED) {
                                                ^
../src/mutex/mut_win32.c:480:45: warning: comparison between pointer and integer
  if ((ret = WaitForSingleObject(event, ms)) == WAIT_FAILED) {
                                             ^
../src/mutex/mut_win32.c:502:12: warning: comparison between pointer and integer
  if (event != NULL) {
            ^
../src/mutex/mut_win32.c: In function '__db_win32_mutex_unlock':
../src/mutex/mut_win32.c:561:2: error: unknown type name 'HANDLE'
  HANDLE event;
  ^
../src/mutex/mut_win32.c:604:9: error: 'interlocked_val' undeclared (first use in this function)
        (interlocked_val)(&atomic_read(
         ^
../src/mutex/mut_win32.c:604:8: error: called object is not a function or function pointer
        (interlocked_val)(&atomic_read(
        ^
../src/mutex/mut_win32.c:614:29: error: called object is not a function or function pointer
    if (InterlockedDecrement((interlocked_val)
                             ^
In file included from ../src/dbinc/mutex.h:15:0,
                 from ./db_int.h:1165,
                 from ../src/mutex/mut_win32.c:12:
../src/dbinc/mutex_int.h:376:47: error: 'PLONG' undeclared (first use in this function)
 #define MUTEX_UNSET(tsl) InterlockedExchange((PLONG)tsl, 0)
                                               ^
../src/mutex/mut_win32.c:631:3: note: in expansion of macro 'MUTEX_UNSET'
   MUTEX_UNSET(&mutexp->tas);
   ^
../src/mutex/mut_win32.c:631:15: error: invalid operands to binary & (have 'int *' and 'int')
   MUTEX_UNSET(&mutexp->tas);
               ^
../src/dbinc/mutex_int.h:376:53: note: in definition of macro 'MUTEX_UNSET'
 #define MUTEX_UNSET(tsl) InterlockedExchange((PLONG)tsl, 0)
                                                     ^
../src/mutex/mut_win32.c:644:8: warning: implicit declaration of function 'PulseEvent' [-Wimplicit-function-declaration]
   if (!PulseEvent(event)) {
        ^
../src/mutex/mut_win32.c: In function 'db_env_set_win_security':
../src/mutex/mut_win32.c:686:2: error: unknown type name 'SECURITY_ATTRIBUTES'
  SECURITY_ATTRIBUTES *sa;
  ^
Makefile:2265: recipe for target 'mut_win32.o' failed
make: *** [mut_win32.o] Error 1
./libtool --mode=compile cc -c -I. -I../src  -O3  ../src/mutex/mut_win32.c
libtool: compile:  cc -c -I. -I../src -O3 ../src/mutex/mut_win32.c -o mut_win32.o
In file included from ./db_int.h:96:0,
                 from ../src/mutex/mut_win32.c:12:
./db.h:3196:34: error: unknown type name 'SECURITY_ATTRIBUTES'
 int db_env_set_win_security __P((SECURITY_ATTRIBUTES *sa));
                                  ^
./db.h:40:21: note: in definition of macro '__P'
 #define __P(protos) protos
                     ^
In file included from ./db_int.h:1161:0,
                 from ../src/mutex/mut_win32.c:12:
../src/dbinc/globals.h:39:2: error: unknown type name 'SECURITY_DESCRIPTOR'
  SECURITY_DESCRIPTOR win_default_sec_desc;
  ^
../src/dbinc/globals.h:40:2: error: unknown type name 'SECURITY_ATTRIBUTES'
  SECURITY_ATTRIBUTES win_default_sec_attr;
  ^
../src/dbinc/globals.h:42:2: error: unknown type name 'SECURITY_ATTRIBUTES'
  SECURITY_ATTRIBUTES *win_sec_attr;
  ^
In file included from ./db_int.h:1163:0,
                 from ../src/mutex/mut_win32.c:12:
../src/dbinc/region.h:291:2: error: unknown type name 'HANDLE'
  HANDLE wnt_handle;  /* Win/NT HANDLE. */
  ^
In file included from ../src/dbinc/mutex_int.h:12:0,
                 from ../src/dbinc/mutex.h:15,
                 from ./db_int.h:1165,
                 from ../src/mutex/mut_win32.c:12:
../src/dbinc/atomic.h:43:9: error: unknown type name 'DWORD'
 typedef DWORD atomic_value_t;
         ^
../src/dbinc/atomic.h:108:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'volatile'
 typedef LONG volatile *interlocked_val;
              ^
In file included from ../src/dbinc/mutex.h:15:0,
                 from ./db_int.h:1165,
                 from ../src/mutex/mut_win32.c:12:
../src/dbinc/mutex_int.h:369:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'volatile'
 typedef LONG volatile tsl_t;
              ^
../src/dbinc/mutex_int.h:371:2: error: unknown type name 'LONG'
  LONG nwaiters;       \
  ^
../src/dbinc/mutex_int.h:1006:2: note: in expansion of macro 'MUTEX_FIELDS'
  MUTEX_FIELDS   /* Opaque thread mutex structures. */
  ^
../src/dbinc/mutex_int.h:1018:2: error: unknown type name 'tsl_t'
  tsl_t  tas;
  ^
In file included from ./db_int.h:1170:0,
                 from ../src/mutex/mut_win32.c:12:
../src/dbinc/os.h:129:2: error: unknown type name 'HANDLE'
  HANDLE handle;   /* Windows/32 file handle. */
  ^
../src/dbinc/os.h:130:2: error: unknown type name 'HANDLE'
  HANDLE trunc_handle;  /* Handle for truncate calls. */
  ^
../src/mutex/mut_win32.c:30:8: error: unknown type name '_TCHAR'
 static _TCHAR hex_digits[] = _T("0123456789abcdef");
        ^
../src/mutex/mut_win32.c:30:30: warning: implicit declaration of function '_T' [-Wimplicit-function-declaration]
 static _TCHAR hex_digits[] = _T("0123456789abcdef");
                              ^
../src/mutex/mut_win32.c:30:30: error: invalid initializer
../src/mutex/mut_win32.c: In function 'get_handle':
../src/mutex/mut_win32.c:35:2: error: unknown type name 'HANDLE'
  HANDLE *eventp;
  ^
../src/mutex/mut_win32.c:37:2: error: unknown type name '_TCHAR'
  _TCHAR idbuf[] = _T("db.m00000000");
  ^
../src/mutex/mut_win32.c:37:19: error: invalid initializer
  _TCHAR idbuf[] = _T("db.m00000000");
                   ^
../src/mutex/mut_win32.c:38:2: error: unknown type name '_TCHAR'
  _TCHAR *p = idbuf + 12;
  ^
../src/mutex/mut_win32.c:47:3: warning: implicit declaration of function 'InitializeSecurityDescriptor' [-Wimplicit-function-declaration]
   InitializeSecurityDescriptor(&DB_GLOBAL(win_default_sec_desc),
   ^
../src/mutex/mut_win32.c:48:7: error: 'SECURITY_DESCRIPTOR_REVISION' undeclared (first use in this function)
       SECURITY_DESCRIPTOR_REVISION);
       ^
../src/mutex/mut_win32.c:48:7: note: each undeclared identifier is reported only once for each function it appears in
../src/mutex/mut_win32.c:49:3: warning: implicit declaration of function 'SetSecurityDescriptorDacl' [-Wimplicit-function-declaration]
   SetSecurityDescriptorDacl(&DB_GLOBAL(win_default_sec_desc),
   ^
../src/mutex/mut_win32.c:51:34: error: request for member 'nLength' in something not a structure or union
   DB_GLOBAL(win_default_sec_attr).nLength =
                                  ^
../src/mutex/mut_win32.c:52:14: error: 'SECURITY_ATTRIBUTES' undeclared (first use in this function)
       sizeof(SECURITY_ATTRIBUTES);
              ^
../src/mutex/mut_win32.c:53:34: error: request for member 'bInheritHandle' in something not a structure or union
   DB_GLOBAL(win_default_sec_attr).bInheritHandle = FALSE;
                                  ^
../src/mutex/mut_win32.c:54:34: error: request for member 'lpSecurityDescriptor' in something not a structure or union
   DB_GLOBAL(win_default_sec_attr).lpSecurityDescriptor =
                                  ^
../src/mutex/mut_win32.c:60:17: warning: implicit declaration of function 'CreateEvent' [-Wimplicit-function-declaration]
  if ((*eventp = CreateEvent(DB_GLOBAL(win_sec_attr),
                 ^
../src/mutex/mut_win32.c:61:28: warning: comparison between pointer and integer
      FALSE, FALSE, idbuf)) == NULL) {
                            ^
../src/mutex/mut_win32.c: In function '__db_win32_mutex_lock_int':
../src/mutex/mut_win32.c:90:2: error: unknown type name 'HANDLE'
  HANDLE event;
  ^
../src/mutex/mut_win32.c:124:8: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
  event = NULL;
        ^
In file included from ../src/dbinc/mutex_int.h:12:0,
                 from ../src/dbinc/mutex.h:15,
                 from ./db_int.h:1165,
                 from ../src/mutex/mut_win32.c:12:
../src/dbinc/atomic.h:124:3: warning: implicit declaration of function 'InterlockedCompareExchange' [-Wimplicit-function-declaration]
  (InterlockedCompareExchange((interlocked_val)(&(p)->value), \
   ^
../src/dbinc/mutex_int.h:1116:2: note: in expansion of macro 'atomic_compare_exchange'
  atomic_compare_exchange(env,    \
  ^
../src/mutex/mut_win32.c:143:34: note: in expansion of macro 'MUTEXP_ACQUIRE'
   if (MUTEXP_IS_BUSY(mutexp) || !MUTEXP_ACQUIRE(mutexp)) {
                                  ^
../src/dbinc/atomic.h:124:31: error: 'interlocked_val' undeclared (first use in this function)
  (InterlockedCompareExchange((interlocked_val)(&(p)->value), \
                               ^
../src/dbinc/mutex_int.h:1116:2: note: in expansion of macro 'atomic_compare_exchange'
  atomic_compare_exchange(env,    \
  ^
../src/mutex/mut_win32.c:143:34: note: in expansion of macro 'MUTEXP_ACQUIRE'
   if (MUTEXP_IS_BUSY(mutexp) || !MUTEXP_ACQUIRE(mutexp)) {
                                  ^
../src/dbinc/atomic.h:124:30: error: called object is not a function or function pointer
  (InterlockedCompareExchange((interlocked_val)(&(p)->value), \
                              ^
../src/dbinc/mutex_int.h:1116:2: note: in expansion of macro 'atomic_compare_exchange'
  atomic_compare_exchange(env,    \
  ^
../src/mutex/mut_win32.c:143:34: note: in expansion of macro 'MUTEXP_ACQUIRE'
   if (MUTEXP_IS_BUSY(mutexp) || !MUTEXP_ACQUIRE(mutexp)) {
                                  ^
In file included from ../src/dbinc/mutex.h:15:0,
                 from ./db_int.h:1165,
                 from ../src/mutex/mut_win32.c:12:
../src/dbinc/mutex_int.h:375:27: warning: implicit declaration of function 'InterlockedExchange' [-Wimplicit-function-declaration]
 #define MUTEX_SET(tsl)  (!InterlockedExchange((PLONG)tsl, 1))
                           ^
../src/dbinc/mutex_int.h:1118:2: note: in expansion of macro 'MUTEX_SET'
  MUTEX_SET(&(mutexp)->tas))
  ^
../src/mutex/mut_win32.c:143:34: note: in expansion of macro 'MUTEXP_ACQUIRE'
   if (MUTEXP_IS_BUSY(mutexp) || !MUTEXP_ACQUIRE(mutexp)) {
                                  ^
../src/dbinc/mutex_int.h:375:48: error: 'PLONG' undeclared (first use in this function)
 #define MUTEX_SET(tsl)  (!InterlockedExchange((PLONG)tsl, 1))
                                                ^
../src/dbinc/mutex_int.h:1118:2: note: in expansion of macro 'MUTEX_SET'
  MUTEX_SET(&(mutexp)->tas))
  ^
../src/mutex/mut_win32.c:143:34: note: in expansion of macro 'MUTEXP_ACQUIRE'
   if (MUTEXP_IS_BUSY(mutexp) || !MUTEXP_ACQUIRE(mutexp)) {
                                  ^
../src/dbinc/mutex_int.h:1118:12: error: invalid operands to binary & (have 'int *' and 'int')
  MUTEX_SET(&(mutexp)->tas))
            ^
../src/dbinc/mutex_int.h:375:54: note: in definition of macro 'MUTEX_SET'
 #define MUTEX_SET(tsl)  (!InterlockedExchange((PLONG)tsl, 1))
                                                      ^
../src/mutex/mut_win32.c:143:34: note: in expansion of macro 'MUTEXP_ACQUIRE'
   if (MUTEXP_IS_BUSY(mutexp) || !MUTEXP_ACQUIRE(mutexp)) {
                                  ^
../src/mutex/mut_win32.c:183:13: warning: comparison between pointer and integer
   if (event == NULL)
             ^
../src/mutex/mut_win32.c:188:13: warning: comparison between pointer and integer
   if (event != NULL) {
             ^
../src/mutex/mut_win32.c:189:4: warning: implicit declaration of function 'CloseHandle' [-Wimplicit-function-declaration]
    CloseHandle(event);
    ^
../src/mutex/mut_win32.c:190:4: warning: implicit declaration of function 'InterlockedDecrement' [-Wimplicit-function-declaration]
    InterlockedDecrement(&mutexp->nwaiters);
    ^
../src/mutex/mut_win32.c:235:12: warning: comparison between pointer and integer
  if (event == NULL) {
            ^
../src/mutex/mut_win32.c:242:3: warning: implicit declaration of function 'InterlockedIncrement' [-Wimplicit-function-declaration]
   InterlockedIncrement(&mutexp->nwaiters);
   ^
../src/mutex/mut_win32.c:248:13: warning: implicit declaration of function 'WaitForSingleObject' [-Wimplicit-function-declaration]
  if ((ret = WaitForSingleObject(event, ms)) == WAIT_FAILED) {
             ^
../src/mutex/mut_win32.c:248:48: error: 'WAIT_FAILED' undeclared (first use in this function)
  if ((ret = WaitForSingleObject(event, ms)) == WAIT_FAILED) {
                                                ^
../src/mutex/mut_win32.c:248:45: warning: comparison between pointer and integer
  if ((ret = WaitForSingleObject(event, ms)) == WAIT_FAILED) {
                                             ^
../src/mutex/mut_win32.c:267:12: warning: comparison between pointer and integer
  if (event != NULL) {
            ^
../src/mutex/mut_win32.c: In function '__db_win32_mutex_readlock_int':
../src/mutex/mut_win32.c:348:2: error: unknown type name 'HANDLE'
  HANDLE event;
  ^
../src/mutex/mut_win32.c:375:8: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
  event = NULL;
        ^
In file included from ../src/dbinc/mutex_int.h:12:0,
                 from ../src/dbinc/mutex.h:15,
                 from ./db_int.h:1165,
                 from ../src/mutex/mut_win32.c:12:
../src/dbinc/atomic.h:124:31: error: 'interlocked_val' undeclared (first use in this function)
  (InterlockedCompareExchange((interlocked_val)(&(p)->value), \
                               ^
../src/mutex/mut_win32.c:410:15: note: in expansion of macro 'atomic_compare_exchange'
   } else if (!atomic_compare_exchange(env, &mutexp->sharecount,
               ^
../src/dbinc/atomic.h:124:30: error: called object is not a function or function pointer
  (InterlockedCompareExchange((interlocked_val)(&(p)->value), \
                              ^
../src/mutex/mut_win32.c:410:15: note: in expansion of macro 'atomic_compare_exchange'
   } else if (!atomic_compare_exchange(env, &mutexp->sharecount,
               ^
../src/mutex/mut_win32.c:430:13: warning: comparison between pointer and integer
   if (event == NULL)
             ^
../src/mutex/mut_win32.c:435:13: warning: comparison between pointer and integer
   if (event != NULL) {
             ^
../src/mutex/mut_win32.c:469:12: warning: comparison between pointer and integer
  if (event == NULL) {
            ^
../src/mutex/mut_win32.c:480:48: error: 'WAIT_FAILED' undeclared (first use in this function)
  if ((ret = WaitForSingleObject(event, ms)) == WAIT_FAILED) {
                                                ^
../src/mutex/mut_win32.c:480:45: warning: comparison between pointer and integer
  if ((ret = WaitForSingleObject(event, ms)) == WAIT_FAILED) {
                                             ^
../src/mutex/mut_win32.c:502:12: warning: comparison between pointer and integer
  if (event != NULL) {
            ^
../src/mutex/mut_win32.c: In function '__db_win32_mutex_unlock':
../src/mutex/mut_win32.c:561:2: error: unknown type name 'HANDLE'
  HANDLE event;
  ^
../src/mutex/mut_win32.c:604:9: error: 'interlocked_val' undeclared (first use in this function)
        (interlocked_val)(&atomic_read(
         ^
../src/mutex/mut_win32.c:604:8: error: called object is not a function or function pointer
        (interlocked_val)(&atomic_read(
        ^
../src/mutex/mut_win32.c:614:29: error: called object is not a function or function pointer
    if (InterlockedDecrement((interlocked_val)
                             ^
In file included from ../src/dbinc/mutex.h:15:0,
                 from ./db_int.h:1165,
                 from ../src/mutex/mut_win32.c:12:
../src/dbinc/mutex_int.h:376:47: error: 'PLONG' undeclared (first use in this function)
 #define MUTEX_UNSET(tsl) InterlockedExchange((PLONG)tsl, 0)
                                               ^
../src/mutex/mut_win32.c:631:3: note: in expansion of macro 'MUTEX_UNSET'
   MUTEX_UNSET(&mutexp->tas);
   ^
../src/mutex/mut_win32.c:631:15: error: invalid operands to binary & (have 'int *' and 'int')
   MUTEX_UNSET(&mutexp->tas);
               ^
../src/dbinc/mutex_int.h:376:53: note: in definition of macro 'MUTEX_UNSET'
 #define MUTEX_UNSET(tsl) InterlockedExchange((PLONG)tsl, 0)
                                                     ^
../src/mutex/mut_win32.c:644:8: warning: implicit declaration of function 'PulseEvent' [-Wimplicit-function-declaration]
   if (!PulseEvent(event)) {
        ^
../src/mutex/mut_win32.c: In function 'db_env_set_win_security':
../src/mutex/mut_win32.c:686:2: error: unknown type name 'SECURITY_ATTRIBUTES'
  SECURITY_ATTRIBUTES *sa;
  ^
Makefile:2265: recipe for target 'mut_win32.o' failed
make: *** [mut_win32.o] Error 1

seems this win_db.h has a lot of missing files referenced. and if i comment out the "missing" files on the #include lines, there's another error that comes up.

So any assistance with compiling the Berkeley DB would be appreciated. thanks

.
.
.
▬◇
▬◇▬◆
▬◇▬◇▬◆
.
.







███
███░░░███
███░░░░░░░░░███
███░░░░░░░░░░░░░░░███
███░░░░░░░░░░░░░░░░░░░░░███
███░░░░░░░░░░░░░░░░░░░░░░░░░░░███
███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░███
███░░░░░░░░░░░░░░░░░░░░░░░░░░░███
███░░░░░░░░░░░░░░░░░░░░░███
███░░░░███░░░░░░░░░░░░░░░███░░░░███
███░░░░░░░░░███░░░░░░░░░███░░░░░░░░░███
███░░░░░░░░░███░░░███░░░░░░░░░███
███░░░░░░░░░███░░░░░░░░░███
███░░░░███░░░░░░░░░░░░░░░███░░░░███
███░░░░░░░░░███░░░░░░░░░███░░░░░░░░░███
███░░░░░░░░░███░░░███░░░░░░░░░███
███░░░░░░░░░███░░░░░░░░░███
███░░░░░░░░░░░░░░░███
███░░░░░░░░░███
███░░░███
███
.
.
.
◇▬
◆▬◇▬
◆▬◇▬◇▬
.
.
D3m0nKinGx
Hero Member
*****
Offline Offline

Activity: 1638
Merit: 507


The snake which cannot cast its skin has to die


View Profile
September 22, 2016, 10:46:57 AM
 #38

./build/txdb-leveldb.o: file not recognized: File format not recognized
collect2: error: ld returned 1 exit status
Makefile.Release:629: recipe for target 'release/amsterdamcoin-qt.exe' failed
make: *** [release/amsterdamcoin-qt.exe] Error 1


Assistance please.

Also I did do:

TARGET_OS=NATIVE_WINDOWS make libleveldb.a libmemenv.a CC=~/mxe/usr/bin/i686-w64-mingw32.static-gcc CXX=~/mxe/usr/bin/i686-w64-mingw32.static-g++

.
.
.
▬◇
▬◇▬◆
▬◇▬◇▬◆
.
.







███
███░░░███
███░░░░░░░░░███
███░░░░░░░░░░░░░░░███
███░░░░░░░░░░░░░░░░░░░░░███
███░░░░░░░░░░░░░░░░░░░░░░░░░░░███
███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░███
███░░░░░░░░░░░░░░░░░░░░░░░░░░░███
███░░░░░░░░░░░░░░░░░░░░░███
███░░░░███░░░░░░░░░░░░░░░███░░░░███
███░░░░░░░░░███░░░░░░░░░███░░░░░░░░░███
███░░░░░░░░░███░░░███░░░░░░░░░███
███░░░░░░░░░███░░░░░░░░░███
███░░░░███░░░░░░░░░░░░░░░███░░░░███
███░░░░░░░░░███░░░░░░░░░███░░░░░░░░░███
███░░░░░░░░░███░░░███░░░░░░░░░███
███░░░░░░░░░███░░░░░░░░░███
███░░░░░░░░░░░░░░░███
███░░░░░░░░░███
███░░░███
███
.
.
.
◇▬
◆▬◇▬
◆▬◇▬◇▬
.
.
nemgun
Hero Member
*****
Offline Offline

Activity: 882
Merit: 533



View Profile WWW
October 19, 2016, 03:22:21 PM
 #39

first i want to say very good guide and thanks for it aswell! but i am having an issue when i try to run the compile-blk.sh file i get the following error

Code:
./compile-blk.sh: line 5: blackcoin-qt.pro: command not found
make: Makefile.Release: No such file or directory
make: *** No rule to make target `Makefile.Release'.  Stop.

i dont know what else to do i am stuck does anyone have any advice?

Same issue...  Sad

simply check path variables using root ==> sudo su (enter password )
                                                   ==> export
you will get a list of variables, PATH= will be there, if there is no /mnt/mxe/usr/bin:

then do under root acces ==> export PATH=/mnt/mxe/usr/bin:$PATH

and then retry compile Cheesy

and if you ever do it for the first time i think it also works with ==> sudo export PATH=/mnt/mxe/usr/bin:$PATH
but still need to test.
dzimbeck
Legendary
*
Offline Offline

Activity: 2412
Merit: 1044


View Profile
December 29, 2016, 01:11:54 AM
 #40

Here's a copy of my Ubuntu 14.04 32-bit VMware Image for anyone that wants it. You will need atleast VMware 10 installed.

https://www.amazon.com/clouddrive/share/ZhOxZQQzji8FpQvuV9b86DqJg6IGpIXmlXFyG5o2X8h?ref_=cd_ph_share_link_copy

It should be a big help to anyone that is having problems following this guide.

The user password is Password1

The root password is Password1

There are instructions on the desktop for anyone that needs them. Wink

This doesn't work for me, I get "i686-w64-mingw32.static-g++: internal compiler error: Segmentation fault" error 4
doesn't make any sense

I'm used to building daemon, can't build qt for anything very frustrating.
Pages: « 1 [2] 3 4 5 6 7 8 9 10 11 12 13 14 15 »  All
  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!