Proxmark developers community

Research, development and trades concerning the powerful Proxmark3 device! Remember sharing is caring. Bring something back to the community.

You are not logged in.

#1 2016-10-05 03:59:42

earlneo
Contributor
Registered: 2016-10-01
Posts: 36

Compile issue. Hard_Nested branch.

Hi. I tried to compile the hardnested branch and getting the following error.

Checked out revision 1512.

pm3 ~/branches/hard_nested$ make
make -C client all
make[1]: Entering directory `/pm3/branches/hard_nested/client'
Compiling liblua, using platform mingw
cd ../liblua && make mingw
make[2]: Entering directory `/pm3/branches/hard_nested/liblua'
make "LUA_A=lua52.dll" "LUA_T=lua.exe" \
        "AR=gcc -shared -o" "RANLIB=strip --strip-unneeded" \
        "SYSCFLAGS=-DLUA_BUILD_AS_DLL" "SYSLIBS=" "SYSLDFLAGS=-s" lua.exe
make[3]: Entering directory `/pm3/branches/hard_nested/liblua'
make[3]: `lua.exe' is up to date.
make[3]: Leaving directory `/pm3/branches/hard_nested/liblua'
make "LUAC_T=luac.exe" luac.exe
make[3]: Entering directory `/pm3/branches/hard_nested/liblua'
make[3]: `luac.exe' is up to date.
make[3]: Leaving directory `/pm3/branches/hard_nested/liblua'
make[2]: Leaving directory `/pm3/branches/hard_nested/liblua'
gcc -std=c99 -I. -I../include -I../common -I../zlib -I/opt/local/include -I../liblua -Wall  -g -O4 -DHAVE_GUI -DZ_SOLO -DZ_PREFIX -DNO_GZIP -DZLIB_PM3_TUNED  -c -o obj/cmdhfmfhard.o cmdhfmfhard.c
In file included from cmdhfmfhard.c:28:
../common/parity.h: In function 'evenparity8':
../common/parity.h:27: error: expected string literal before ')' token
make[1]: *** [obj/cmdhfmfhard.o] Error 1
make[1]: Leaving directory `/pm3/branches/hard_nested/client'
make: *** [client/all] Error 2

I did the following command but getting the same errors as well. make clean && make all make

I can build other branch successful but not hardnested brach.

I sync via github and try to copy the branch manually and make it. all results are same.

Last edited by earlneo (2016-10-05 04:58:09)

Offline

#2 2017-03-14 23:10:46

MaBi
Contributor
Registered: 2016-11-06
Posts: 12

Re: Compile issue. Hard_Nested branch.

I get the same error using ProxSpace by gator on Windows 7 32 bit.

Did you solve it?

Online

#3 2017-03-15 02:46:07

ntk
Contributor
Registered: 2015-05-24
Posts: 487

Re: Compile issue. Hard_Nested branch.

make sure extract the sw in a new directory and compile it. Also what is the gcc version you use? Even proxspace has the old version.

Last edited by ntk (2017-03-15 02:48:50)

Offline

#4 2017-03-20 22:50:12

MaBi
Contributor
Registered: 2016-11-06
Posts: 12

Re: Compile issue. Hard_Nested branch.

I have download the last repository version ProxSpace-130613 with inside mingw32-gcc-4.4.0 and gator's ProxSpace but the error is the same reported by earlneo...

Do you have any suggestions?

Online

#5 2017-03-21 19:41:55

piwi
Contributor
Registered: 2013-06-04
Posts: 387

Re: Compile issue. Hard_Nested branch.

You may try to remove the last colon in this line. Maybe your old compiler doesn't allow an empty clobber list in the asm statement.

Offline

Board footer

Powered by FluxBB