Jump to content

Recommended Posts

pogin

Hi everybody,

 

i getting this error, someone can help?

 

c:\photon>make -f Makefile.Release
cd C:/photon/src/leveldb && CC=gcc CXX=g++ TARGET_OS=OS_WINDOWS_CROSSCOMPILE mi
ngw32-make OPT="-pipe -O2" libleveldb.a libmemenv.a && ranlib C:/photon/src/lev
eldb/libleveldb.a && ranlib C:/photon/src/leveldb/libmemenv.a
CC: error: =gcc: No such file or directory
CC: error: CXX=g++: No such file or directory
CC: error: TARGET_OS=OS_WINDOWS_CROSSCOMPILE: No such file or directory
CC: error: mingw32-make: No such file or directory
CC: error: OPT=-pipe -O2: No such file or directory
mingw32-make: *** [c:/photon/src/leveldb/libleveldb.a] Error 1

 

Share this post


Link to post
Share on other sites
BlueDragon747

try this:

 

cd /src/leveldb
chmod +x Makefile
chmod +x build_detect_platform
sudo make libleveldb.a libmemenv.a

 

or 

cd /src/leveldb

mingw32-make TARGET_OS=NATIVE_WINDOWS libleveldb.a libmemenv.a

 

or 

cd /src/leveldb

sudo make libleveldb.a libmemenv.a

Share this post


Link to post
Share on other sites
pogin
23 minutes ago, BlueDragon747 said:

try this:

 

cd /src/leveldb
chmod +x Makefile
chmod +x build_detect_platform
sudo make libleveldb.a libmemenv.a

 

or 

cd /src/leveldb

mingw32-make TARGET_OS=NATIVE_WINDOWS libleveldb.a libmemenv.a

 

or 

cd /src/leveldb

sudo make libleveldb.a libmemenv.a

 

didnt work for me

Share this post


Link to post
Share on other sites
BlueDragon747

same error? and which ones did you try?

also what os ?

Share this post


Link to post
Share on other sites
pogin
2 minutes ago, BlueDragon747 said:

same error? and which ones did you try?

 

Same, the second (mingw32-make TARGET_OS=NATIVE_WINDOWS libleveldb.a libmemenv.a), others give error (Unknown platform!).

 

after doing the second option, same error :

 

CC: error: =gcc: No such file or directory
CC: error: CXX=g++: No such file or directory
CC: error: TARGET_OS=OS_WINDOWS_CROSSCOMPILE: No such file or directory
CC: error: mingw32-make: No such file or directory
CC: error: OPT=-pipe -O2: No such file or directory
mingw32-make: *** [c:/pogcoin/src/leveldb/libleveldb.a] Error 1

 

Share this post


Link to post
Share on other sites
FreakCoder

Move the Target line in front and try again.

Share this post


Link to post
Share on other sites
innate

Thanks for Provide information and links.

Share this post


Link to post
Share on other sites
Brewin95

Need Help i Keep Getting This Error After i Use The Make Command For 

 

../dist/configure --enable-mingw --enable-cxx --disable-shared --disable-replication

make

 

collect2: ld returned 1 exit status
make: *** [libdb-4.8.la] Error 1

 

Can any one give me a hand to fix this error? 

Share this post


Link to post
Share on other sites
TheRhinoProject

Keep getting this error : 

 

CC: fout: =gcc: No such file or directory
CC: fout: CXX=g++: No such file or directory
CC: fout: TARGET_OS=OS_WINDOWS_CROSSCOMPILE: No such file or directory
CC: fout: mingw32-make: No such file or directory
CC: fout: OPT=-pipe -D_FORTIFY_SOURCE=2 -O2: No such file or directory
mingw32-make: *** [c:/rhinoxcoin/rhinoxcoin/src/leveldb/libleveldb.a] Error 1


 

Any fixes on this ?

 

 

 

 

 

Share this post


Link to post
Share on other sites
martincrypt02

in the building system b2 has error , and need perl upgrade which is i cant find the way to do

Share this post


Link to post
Share on other sites
CryptoCat123

Thank you guys for a detailed explanation!

Share this post


Link to post
Share on other sites
Roalkege

Hey,

when I type in 

mingw32-make -j 5 -f Makefile.Release

I get this error. There are a lot of more of this "small" errors, like  

src/misc/db.h:244:26: error: 'DB_DBT_MALLOC' was not declared in this scope
         datKey.set_flags(DB_DBT_MALLOC);
                          ^
src/misc/db.h:244:26: error: 'DB_DBT_MALLOC' was not declared in this scope
         datKey.set_flags(DB_DBT_MALLOC);
                          ^
src/misc/db.h:255:54: error: 'class Dbt' has no member named 'get_size'
         ssKey.write((char*)datKey.get_data(), datKey.get_size());
                                                      ^
src/misc/db.h:258:60: error: 'class Dbt' has no member named 'get_size'
         ssValue.write((char*)datValue.get_data(), datValue.get_size());
                                                            ^
src/misc/db.h:261:45: error: 'class Dbt' has no member named 'get_size'
         memset(datKey.get_data(), 0, datKey.get_size());
                                             ^
src/misc/db.h:262:49: error: 'class Dbt' has no member named 'get_size'
         memset(datValue.get_data(), 0, datValue.get_size());
                                                 ^
src/misc/db.h: In member function 'bool CDB::TxnBegin()':
src/misc/db.h:273:38: error: call to 'DbTxn* CDBEnv::TxnBegin(int)' uses the default argument for parameter 1, which is not yet defined
         DbTxn* ptxn = bitdb.TxnBegin();
                                      ^
Makefile.Release:23256: recipe for target 'build/transactiontablemodel.o' failed
mingw32-make: *** [build/transactiontablemodel.o] Error 1

How can I solve it?

I do not build Photon.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Cryptocurrenytalk Logo

 

News, information, and discussions about cryptocurrencies, blockchains, technology, and events. Blockchaintalk is your source for advice on what to mine, technical details, new launch announcements, and advice from trusted members of the community. Cryptocurrencytalk is your source for everything crypto. We love discussing the world of cryptocurrencies.

 

   
×
×
  • Create New...

Important Information

By using CRYPTOCURRENCYTALK.COM, you agree to our Terms of Use.