Bitcoin Forum
May 28, 2024, 11:38:02 PM *
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 49060 times)
noreplybatam
Newbie
*
Offline Offline

Activity: 27
Merit: 0


View Profile
August 28, 2017, 03:14:39 PM
 #81

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

hi, i got this error

../mxe/usr/i686-w64-mingw32.static/qt5/include/QtCore/qglobal.h:530:1: warning: floating constant truncated to zero [-Woverflow]
i686-w64-mingw32.static-g++: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [build/addressbookpage.o] Error 4
i686-w64-mingw32.static-g++: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: i686-w64-mingw32.static-g++: internal compiler error: Segmentation fault (program cc1plus)
*** [build/coincontroltreewidget.o] Error 4Please submit a full bug report,
with preprocessed source if appropriate.

See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [build/sendcoinsdialog.o] Error 4
i686-w64-mingw32.static-g++: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [build/coincontroldialog.o] Error 4
i686-w64-mingw32.static-g++: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [build/editaddressdialog.o] Error 4
i686-w64-mingw32.static-g++: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [build/signverifymessagedialog.o] Error 4
i686-w64-mingw32.static-g++: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [build/optionsdialog.o] Error 4
i686-w64-mingw32.static-g++: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [build/aboutdialog.o] Error 4
i686-w64-mingw32.static-g++: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [build/txdb-bdb.o] Error 4


what i missed ?? please help me
D3m0nKinGx
Hero Member
*****
Offline Offline

Activity: 1638
Merit: 507


The snake which cannot cast its skin has to die


View Profile
August 28, 2017, 03:20:13 PM
 #82

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

hi, i got this error

../mxe/usr/i686-w64-mingw32.static/qt5/include/QtCore/qglobal.h:530:1: warning: floating constant truncated to zero [-Woverflow]
i686-w64-mingw32.static-g++: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [build/addressbookpage.o] Error 4
i686-w64-mingw32.static-g++: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: i686-w64-mingw32.static-g++: internal compiler error: Segmentation fault (program cc1plus)
*** [build/coincontroltreewidget.o] Error 4Please submit a full bug report,
with preprocessed source if appropriate.

See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [build/sendcoinsdialog.o] Error 4
i686-w64-mingw32.static-g++: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [build/coincontroldialog.o] Error 4
i686-w64-mingw32.static-g++: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [build/editaddressdialog.o] Error 4
i686-w64-mingw32.static-g++: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [build/signverifymessagedialog.o] Error 4
i686-w64-mingw32.static-g++: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [build/optionsdialog.o] Error 4
i686-w64-mingw32.static-g++: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [build/aboutdialog.o] Error 4
i686-w64-mingw32.static-g++: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [build/txdb-bdb.o] Error 4


what i missed ?? please help me

seems you need to setup a swap file, or increase the one already there, so this issue is likely due to lack of ram

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







███
███░░░███
███░░░░░░░░░███
███░░░░░░░░░░░░░░░███
███░░░░░░░░░░░░░░░░░░░░░███
███░░░░░░░░░░░░░░░░░░░░░░░░░░░███
███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░███
███░░░░░░░░░░░░░░░░░░░░░░░░░░░███
███░░░░░░░░░░░░░░░░░░░░░███
███░░░░███░░░░░░░░░░░░░░░███░░░░███
███░░░░░░░░░███░░░░░░░░░███░░░░░░░░░███
███░░░░░░░░░███░░░███░░░░░░░░░███
███░░░░░░░░░███░░░░░░░░░███
███░░░░███░░░░░░░░░░░░░░░███░░░░███
███░░░░░░░░░███░░░░░░░░░███░░░░░░░░░███
███░░░░░░░░░███░░░███░░░░░░░░░███
███░░░░░░░░░███░░░░░░░░░███
███░░░░░░░░░░░░░░░███
███░░░░░░░░░███
███░░░███
███
.
.
.
◇▬
◆▬◇▬
◆▬◇▬◇▬
.
.
noreplybatam
Newbie
*
Offline Offline

Activity: 27
Merit: 0


View Profile
August 28, 2017, 03:34:41 PM
 #83

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

hi, i got this error

../mxe/usr/i686-w64-mingw32.static/qt5/include/QtCore/qglobal.h:530:1: warning: floating constant truncated to zero [-Woverflow]
i686-w64-mingw32.static-g++: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [build/addressbookpage.o] Error 4
i686-w64-mingw32.static-g++: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: i686-w64-mingw32.static-g++: internal compiler error: Segmentation fault (program cc1plus)
*** [build/coincontroltreewidget.o] Error 4Please submit a full bug report,
with preprocessed source if appropriate.

See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [build/sendcoinsdialog.o] Error 4
i686-w64-mingw32.static-g++: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [build/coincontroldialog.o] Error 4
i686-w64-mingw32.static-g++: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [build/editaddressdialog.o] Error 4
i686-w64-mingw32.static-g++: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [build/signverifymessagedialog.o] Error 4
i686-w64-mingw32.static-g++: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [build/optionsdialog.o] Error 4
i686-w64-mingw32.static-g++: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [build/aboutdialog.o] Error 4
i686-w64-mingw32.static-g++: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [build/txdb-bdb.o] Error 4


what i missed ?? please help me

seems you need to setup a swap file, or increase the one already there, so this issue is likely due to lack of ram
what minimal resource ??
D3m0nKinGx
Hero Member
*****
Offline Offline

Activity: 1638
Merit: 507


The snake which cannot cast its skin has to die


View Profile
August 28, 2017, 03:38:26 PM
 #84

https://www.digitalocean.com/community/tutorials/how-to-add-swap-on-ubuntu-14-04

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







███
███░░░███
███░░░░░░░░░███
███░░░░░░░░░░░░░░░███
███░░░░░░░░░░░░░░░░░░░░░███
███░░░░░░░░░░░░░░░░░░░░░░░░░░░███
███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░███
███░░░░░░░░░░░░░░░░░░░░░░░░░░░███
███░░░░░░░░░░░░░░░░░░░░░███
███░░░░███░░░░░░░░░░░░░░░███░░░░███
███░░░░░░░░░███░░░░░░░░░███░░░░░░░░░███
███░░░░░░░░░███░░░███░░░░░░░░░███
███░░░░░░░░░███░░░░░░░░░███
███░░░░███░░░░░░░░░░░░░░░███░░░░███
███░░░░░░░░░███░░░░░░░░░███░░░░░░░░░███
███░░░░░░░░░███░░░███░░░░░░░░░███
███░░░░░░░░░███░░░░░░░░░███
███░░░░░░░░░░░░░░░███
███░░░░░░░░░███
███░░░███
███
.
.
.
◇▬
◆▬◇▬
◆▬◇▬◇▬
.
.
noreplybatam
Newbie
*
Offline Offline

Activity: 27
Merit: 0


View Profile
August 28, 2017, 04:15:02 PM
 #85

still got the same error  Cry
noreplybatam
Newbie
*
Offline Offline

Activity: 27
Merit: 0


View Profile
August 28, 2017, 04:36:05 PM
 #86

sir i got this error
Code:
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [build/signverifymessagedialog.o] Error 1
make: *** [build/optionsdialog.o] Error 1
make: *** [build/editaddressdialog.o] Error 1
0x86ccff0 crash_signal
/mnt/mxe/tmp-gcc-i686-w64-mingw32.static/gcc-5.2.0/gcc/toplev.c:383
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
In file included from /mnt/mxe/usr/i686-w64-mingw32.static/include/boost/limits.hpp:19:0,
                 from /mnt/mxe/usr/i686-w64-mingw32.static/include/boost/date_time/posix_time/posix_time_config.hpp:13,
                 from /mnt/mxe/usr/i686-w64-mingw32.static/include/boost/date_time/posix_time/posix_time_system.hpp:13,
                 from /mnt/mxe/usr/i686-w64-mingw32.static/include/boost/date_time/posix_time/ptime.hpp:12,
                 from /mnt/mxe/usr/i686-w64-mingw32.static/include/boost/date_time/posix_time/posix_time_types.hpp:12,
                 from /mnt/mxe/usr/i686-w64-mingw32.static/include/boost/thread/thread_time.hpp:11,
                 from /mnt/mxe/usr/i686-w64-mingw32.static/include/boost/thread/win32/thread_data.hpp:10,
                 from /mnt/mxe/usr/i686-w64-mingw32.static/include/boost/thread/thread_only.hpp:15,
                 from /mnt/mxe/usr/i686-w64-mingw32.static/include/boost/thread/thread.hpp:12,
                 from /mnt/mxe/usr/i686-w64-mingw32.static/include/boost/thread.hpp:13,
                 from src/util.h:22,
                 from src/bignum.h:11,
                 from src/main.h:11,
                 from src/db.h:8,
                 from z�2B�JbT�1=����(���$H��/_��%�
��(���<�                                             AjSe�x �e#Q�Խ:���K�'
         G����x�Q��t�f̱�a|\.�H�
�%��w��C�_�b�g����7,����H�l�Fu��q{)��"쪷��zw�L<�0w�˙a��^����X�H�ytM�g�����A�r�k�6��P����u�>�8�3��g���j�.j�>�8�3��g���j�.��g<�o/d�+�ă�.��g<�o/dQ]�j�.��g�c�ă�.��g���jȮ��ă�n�j�.��g�(~-��f��g<�o/d��{-�"�}rX�6Z[uJ������wi����b��xiQ�'��L"�A7�:6:
/mnt/mxe/usr/lib/gcc/i686-w64-mingw32.static/5.2.0/include/c++/limits:1601:7: internal compiler error: Segmentation fault
       max() _GLIBCXX_USE_NOEXCEPT { return __FLT_MAX__; }
       ^
make: *** [build/bitcoinaddressvalidator.o] Error 1
0x86ccff0 crash_signal
/mnt/mxe/tmp-gcc-i686-w64-mingw32.static/gcc-5.2.0/gcc/toplev.c:383
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [build/addressbookpage.o] Error 1
0x86ccff0 crash_signal
/mnt/mxe/tmp-gcc-i686-w64-mingw32.static/gcc-5.2.0/gcc/toplev.c:383
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [build/txdb-bdb.o] Error 1
noreplybatam
Newbie
*
Offline Offline

Activity: 27
Merit: 0


View Profile
August 28, 2017, 04:49:08 PM
 #87

Code:
i686-w64-mingw32.static-g++ -c -DQT_GUI -DQT_NO_PRINTER -std=gnu++11 -march=i686 -Isrc -Isrc/json -Isrc/qt -IC:/deps/boost_1_53_0 -Ic:/deps/db-4.8.30.NC/build_unix -Ic:/deps/openssl-1.0.2d/include -IC:/deps/qrencode-3.4.4 -I../mxe/usr/i686-w64-mingw32.static/qt5/include -I../mxe/usr/i686-w64-mingw32.static/qt5/include/QtWidgets -I../mxe/usr/i686-w64-mingw32.static/qt5/include/QtGui -I../mxe/usr/i686-w64-mingw32.static/qt5/include/QtNetwork -I../mxe/usr/i686-w64-mingw32.static/qt5/include/QtCore -Ibuild -Ibuild -I../mxe/usr/i686-w64-mingw32.static/qt5/mkspecs/win32-g++  -o build/txdb-bdb.o src/txdb-bdb.cpp
i686-w64-mingw32.static-g++: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [build/txdb-bdb.o] Error 4

very frustate compiling this  Cry
D3m0nKinGx
Hero Member
*****
Offline Offline

Activity: 1638
Merit: 507


The snake which cannot cast its skin has to die


View Profile
August 28, 2017, 05:03:59 PM
 #88

you sure you setup the swap-file correctly? 

what is the output when you do

free -h

at the terminal, there should be a value on the swap line something like:

Swap:          7.5G         45M        7.4G

also maybe it's also possible your mxe installation is corrupted

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







███
███░░░███
███░░░░░░░░░███
███░░░░░░░░░░░░░░░███
███░░░░░░░░░░░░░░░░░░░░░███
███░░░░░░░░░░░░░░░░░░░░░░░░░░░███
███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░███
███░░░░░░░░░░░░░░░░░░░░░░░░░░░███
███░░░░░░░░░░░░░░░░░░░░░███
███░░░░███░░░░░░░░░░░░░░░███░░░░███
███░░░░░░░░░███░░░░░░░░░███░░░░░░░░░███
███░░░░░░░░░███░░░███░░░░░░░░░███
███░░░░░░░░░███░░░░░░░░░███
███░░░░███░░░░░░░░░░░░░░░███░░░░███
███░░░░░░░░░███░░░░░░░░░███░░░░░░░░░███
███░░░░░░░░░███░░░███░░░░░░░░░███
███░░░░░░░░░███░░░░░░░░░███
███░░░░░░░░░░░░░░░███
███░░░░░░░░░███
███░░░███
███
.
.
.
◇▬
◆▬◇▬
◆▬◇▬◇▬
.
.
noreplybatam
Newbie
*
Offline Offline

Activity: 27
Merit: 0


View Profile
August 28, 2017, 05:07:54 PM
 #89

you sure you setup the swap-file correctly? 

what is the output when you do

free -h

at the terminal, there should be a value on the swap line something like:

Swap:          7.5G         45M        7.4G

also maybe it's also possible your mxe installation is corrupted

i got this

Swap:        19485          0      19485
D3m0nKinGx
Hero Member
*****
Offline Offline

Activity: 1638
Merit: 507


The snake which cannot cast its skin has to die


View Profile
August 28, 2017, 05:13:38 PM
 #90

you sure you setup the swap-file correctly? 

what is the output when you do

free -h

at the terminal, there should be a value on the swap line something like:

Swap:          7.5G         45M        7.4G

also maybe it's also possible your mxe installation is corrupted

i got this

Swap:        19485          0      19485

You didn't increase your swap that's only 19 Megabytes... if you only typed  "free" in the terminal, i asked you to type "free -h" or  "free -m" these switches give easier to read output

so if the first part is true, then you still need to make a larger swap

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







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

Activity: 1638
Merit: 507


The snake which cannot cast its skin has to die


View Profile
August 28, 2017, 05:19:30 PM
 #91

also make a file m32test.c with the code:

Code:
// Minimal C example
#include <stdio.h>
int main()
{
   printf("This works\n");
   return 0;
}

then test your compiler on the file:

Code:
mxe/usr/bin/i686-w64-mingw32.static-g++ m32test.c

use the path that your compiler is in ofc

this will create an executable a.exe if your compiler is working

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







███
███░░░███
███░░░░░░░░░███
███░░░░░░░░░░░░░░░███
███░░░░░░░░░░░░░░░░░░░░░███
███░░░░░░░░░░░░░░░░░░░░░░░░░░░███
███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░███
███░░░░░░░░░░░░░░░░░░░░░░░░░░░███
███░░░░░░░░░░░░░░░░░░░░░███
███░░░░███░░░░░░░░░░░░░░░███░░░░███
███░░░░░░░░░███░░░░░░░░░███░░░░░░░░░███
███░░░░░░░░░███░░░███░░░░░░░░░███
███░░░░░░░░░███░░░░░░░░░███
███░░░░███░░░░░░░░░░░░░░░███░░░░███
███░░░░░░░░░███░░░░░░░░░███░░░░░░░░░███
███░░░░░░░░░███░░░███░░░░░░░░░███
███░░░░░░░░░███░░░░░░░░░███
███░░░░░░░░░░░░░░░███
███░░░░░░░░░███
███░░░███
███
.
.
.
◇▬
◆▬◇▬
◆▬◇▬◇▬
.
.
noreplybatam
Newbie
*
Offline Offline

Activity: 27
Merit: 0


View Profile
August 28, 2017, 05:28:36 PM
 #92

also make a file m32test.c with the code:

Code:
// Minimal C example
#include <stdio.h>
int main()
{
   printf("This works\n");
   return 0;
}

then test your compiler on the file:

Code:
mxe/usr/bin/i686-w64-mingw32.static-g++ m32test.c

use the path that your compiler is in ofc

this will create an executable a.exe if your compiler is working

i type free -m then output return like that .
if i type free -h this return
Swap:          19G         0B        19G

i try to test compile and its worked
this is the screenshoot http://prntscr.com/ge44fc
D3m0nKinGx
Hero Member
*****
Offline Offline

Activity: 1638
Merit: 507


The snake which cannot cast its skin has to die


View Profile
August 28, 2017, 05:32:53 PM
 #93

what's the coin you are building?

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







███
███░░░███
███░░░░░░░░░███
███░░░░░░░░░░░░░░░███
███░░░░░░░░░░░░░░░░░░░░░███
███░░░░░░░░░░░░░░░░░░░░░░░░░░░███
███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░███
███░░░░░░░░░░░░░░░░░░░░░░░░░░░███
███░░░░░░░░░░░░░░░░░░░░░███
███░░░░███░░░░░░░░░░░░░░░███░░░░███
███░░░░░░░░░███░░░░░░░░░███░░░░░░░░░███
███░░░░░░░░░███░░░███░░░░░░░░░███
███░░░░░░░░░███░░░░░░░░░███
███░░░░███░░░░░░░░░░░░░░░███░░░░███
███░░░░░░░░░███░░░░░░░░░███░░░░░░░░░███
███░░░░░░░░░███░░░███░░░░░░░░░███
███░░░░░░░░░███░░░░░░░░░███
███░░░░░░░░░░░░░░░███
███░░░░░░░░░███
███░░░███
███
.
.
.
◇▬
◆▬◇▬
◆▬◇▬◇▬
.
.
noreplybatam
Newbie
*
Offline Offline

Activity: 27
Merit: 0


View Profile
August 28, 2017, 05:35:19 PM
 #94

what's the coin you are building?

i try create altcoin, with x11 algo
D3m0nKinGx
Hero Member
*****
Offline Offline

Activity: 1638
Merit: 507


The snake which cannot cast its skin has to die


View Profile
August 28, 2017, 05:35:57 PM
 #95

what's the coin you are building?

i try create altcoin, with x11 algo

what's the coin, source?

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







███
███░░░███
███░░░░░░░░░███
███░░░░░░░░░░░░░░░███
███░░░░░░░░░░░░░░░░░░░░░███
███░░░░░░░░░░░░░░░░░░░░░░░░░░░███
███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░███
███░░░░░░░░░░░░░░░░░░░░░░░░░░░███
███░░░░░░░░░░░░░░░░░░░░░███
███░░░░███░░░░░░░░░░░░░░░███░░░░███
███░░░░░░░░░███░░░░░░░░░███░░░░░░░░░███
███░░░░░░░░░███░░░███░░░░░░░░░███
███░░░░░░░░░███░░░░░░░░░███
███░░░░███░░░░░░░░░░░░░░░███░░░░███
███░░░░░░░░░███░░░░░░░░░███░░░░░░░░░███
███░░░░░░░░░███░░░███░░░░░░░░░███
███░░░░░░░░░███░░░░░░░░░███
███░░░░░░░░░░░░░░░███
███░░░░░░░░░███
███░░░███
███
.
.
.
◇▬
◆▬◇▬
◆▬◇▬◇▬
.
.
noreplybatam
Newbie
*
Offline Offline

Activity: 27
Merit: 0


View Profile
August 28, 2017, 05:42:01 PM
 #96

what's the coin you are building?

i try create altcoin, with x11 algo

what's the coin, source?
i try with this coin https://github.com/bfroemel/smallchange

from this link https://forum.gethashing.com/t/how-to-clone-a-coin-links-and-resources/3833
D3m0nKinGx
Hero Member
*****
Offline Offline

Activity: 1638
Merit: 507


The snake which cannot cast its skin has to die


View Profile
August 28, 2017, 05:47:38 PM
 #97


try compiling without mxe... you'll find out somethings lol

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







███
███░░░███
███░░░░░░░░░███
███░░░░░░░░░░░░░░░███
███░░░░░░░░░░░░░░░░░░░░░███
███░░░░░░░░░░░░░░░░░░░░░░░░░░░███
███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░███
███░░░░░░░░░░░░░░░░░░░░░░░░░░░███
███░░░░░░░░░░░░░░░░░░░░░███
███░░░░███░░░░░░░░░░░░░░░███░░░░███
███░░░░░░░░░███░░░░░░░░░███░░░░░░░░░███
███░░░░░░░░░███░░░███░░░░░░░░░███
███░░░░░░░░░███░░░░░░░░░███
███░░░░███░░░░░░░░░░░░░░░███░░░░███
███░░░░░░░░░███░░░░░░░░░███░░░░░░░░░███
███░░░░░░░░░███░░░███░░░░░░░░░███
███░░░░░░░░░███░░░░░░░░░███
███░░░░░░░░░░░░░░░███
███░░░░░░░░░███
███░░░███
███
.
.
.
◇▬
◆▬◇▬
◆▬◇▬◇▬
.
.
noreplybatam
Newbie
*
Offline Offline

Activity: 27
Merit: 0


View Profile
August 28, 2017, 05:49:54 PM
 #98

How to compiling without mxe ?
bumbacoin
Legendary
*
Offline Offline

Activity: 1638
Merit: 1036



View Profile
August 30, 2017, 03:10:24 AM
 #99

i'm having trouble with building a coin using secp256k1

Code:
libsecp256k1_la-secp256k1.o: file not recognized: File format not recognized

generally it seems like i have success with secp256k1 but it is not recognized on qt build.

i've tried a variety of things including

Code:
./autogen.sh
./configure --host=i686-w64-mingw32.static
make

fails on qt build

and
Code:
./configure --host=i686-w64-mingw32.static --prefix=/home/mxe/mxe/usr/i686-w64-mingw32.static --enable-static --disable-shared

gives error during configure
Code:
./configure: line 12234: SECP_64BIT_ASM_CHECK: command not found
./configure: line 12263: SECP_INT128_CHECK: command not found
./configure: line 12291: SECP_INT128_CHECK: command not found
./configure: line 12316: SECP_GMP_CHECK: command not found
./configure: line 12422: SECP_OPENSSL_CHECK: command not found

also fails on qt build



any assistance would be welcomed Smiley



i'm trying a different source, and using latest version of secp256k1 but still getting

Code:
libsecp256k1_la-secp256k1.o: file not recognized: File format not recognized

could it be to do with version of ubuntu or mxe i'm using ?
not sure about mxe (will need to check later) but am on ubuntu 14.

or is there something else i could try ?

💦☔️🐳💚💖💛
go to
cryptobetfair.com
ask for a voucher

████████████████
██████████████
█████████████
██████████████
██████████████
███████████
█████████
███████████
████████████
████████████
███████████
█████████████
██████████████
███████████████
████████████████
████████████████
🐠👻🍗🌳🐵
gjhiggins
Legendary
*
Offline Offline

Activity: 2254
Merit: 1278



View Profile WWW
August 30, 2017, 08:12:20 AM
 #100

i'm trying a different source, and using latest version of secp256k1 but still getting

Code:
libsecp256k1_la-secp256k1.o: file not recognized: File format not recognized

or is there something else i could try ?

It's a long shot but I've been caught out before with self-edited Makefiles fumbling the removal of binaries from the build directory, being skipped by make and, if I'm wrestling with cross-compilation, ultimately causing the linker to complain about unrecognised format. I also used to see that after the laptop crashed, leaving truncated .o files in the build directory. What you're describing suggests that the secp256k1 code is being natively compiled when it should be cross-compiled. I've also encountered crypto files that need to be compiled with plain C, requiring ${CC} to be properly bound to the corresponding MXE binary.

Cheers

Graham
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!