-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
msys2 windows make problem #6743
Comments
this is a problem in your SDK. see that both definitions are in include files outside r2land:
i have removed the include of sys/types.h in zconf.h because it was not necessary at all. git pull and let me know if it builds now |
Getting same errors, any idea how could I fix the SDK? $ make
Generating r_version.h file
/bin/sh: cmp: no se encontró la orden
Update libr/include/r_version.h
make -C shlr/zip
make[1]: se entra en el directorio '/home/tzaoh/r2/shlr/zip'
make -C zip
make[2]: se entra en el directorio '/home/tzaoh/r2/shlr/zip/zip'
gcc -c -MD -fPIC -g -Wall -D__WINDOWS__=1 -fPIC -D_WIN32=1 -I../../../libr/include -I../include/ -o zip_dirent.o zip_dirent.c
In file included from /usr/include/w32api/winsock.h:36:0,
from ../../../libr/include/r_types.h:92,
from ../include/zipconf.h:16,
from zip.h:56,
from zipint.h:53,
from zip_dirent.c:44:
/usr/include/w32api/psdk_inc/_fd_types.h:100:2: aviso: #warning "fd_set and associated macros have been defined in sys/types. This can cause runtime problems with W32 sockets" [-Wcpp]
#warning "fd_set and associated macros have been defined in sys/types. \
^~~~~~~
In file included from ../../../libr/include/r_types.h:92:0,
from ../include/zipconf.h:16,
from zip.h:56,
from zipint.h:53,
from zip_dirent.c:44:
/usr/include/w32api/winsock.h:299:34: error: tipos en conflicto para ‘select’
WINSOCK_API_LINKAGE int WSAAPI select(int nfds,fd_set *readfds,fd_set *writefds,fd_set *exceptfds,const PTIMEVAL timeout);
^~~~~~
In file included from /usr/include/sys/types.h:68:0,
from /usr/include/stdio.h:61,
from zip_dirent.c:36:
/usr/include/sys/select.h:73:5: nota: la declaración previa de ‘select’ estaba aquí
int select __P ((int __n, fd_set *__readfds, fd_set *__writefds,
^~~~~~
make[2]: *** [/home/tzaoh/r2/libr/../global.mk:43: zip_dirent.o] Error 1
make[2]: se sale del directorio '/home/tzaoh/r2/shlr/zip/zip'
make[1]: *** [Makefile:25: zip/libr_zip.a] Error 2
make[1]: se sale del directorio '/home/tzaoh/r2/shlr/zip'
make: *** [Makefile:49: all] Error 2 |
Try now |
Sorry for the delay: $ make
Generating r_version.h file
/bin/sh: cmp: no se encontró la orden
Update libr/include/r_version.h
make -C shlr/zip
make[1]: se entra en el directorio '/home/tzaoh/r2/shlr/zip'
make -C zip
make[2]: se entra en el directorio '/home/tzaoh/r2/shlr/zip/zip'
gcc -c -MD -fPIC -g -Wall -D__WINDOWS__=1 -fPIC -D_WIN32=1 -I../../../libr/i nclude -I../include/ -o zip_dirent.o zip_dirent.c
In file included from /usr/include/w32api/winsock.h:36:0,
from ../../../libr/include/r_types.h:92,
from ../include/zipconf.h:16,
from zip.h:56,
from zipint.h:53,
from zip_dirent.c:44:
/usr/include/w32api/psdk_inc/_fd_types.h:100:2: aviso: #warning "fd_set and associated macros have been defined in sys/types. This can cause runtime problems with W32 sockets" [-Wcpp]
#warning "fd_set and associated macros have been defined in sys/types. \
^~~~~~~
In file included from ../../../libr/include/r_types.h:92:0,
from ../include/zipconf.h:16,
from zip.h:56,
from zipint.h:53,
from zip_dirent.c:44:
/usr/include/w32api/winsock.h:299:34: error: tipos en conflicto para ‘select’
WINSOCK_API_LINKAGE int WSAAPI select(int nfds,fd_set *readfds,fd_set *writefds,fd_set *exceptfds,const PTIMEVAL timeout);
^~~~~~
In file included from /usr/include/sys/types.h:68:0,
from /usr/include/stdio.h:61,
from zip_dirent.c:36:
/usr/include/sys/select.h:73:5: nota: la declaración previa de ‘select’ estaba aquí
int select __P ((int __n, fd_set *__readfds, fd_set *__writefds,
^~~~~~
make[2]: *** [/home/tzaoh/r2/libr/../global.mk:43: zip_dirent.o] Error 1
make[2]: se sale del directorio '/home/tzaoh/r2/shlr/zip/zip'
make[1]: *** [Makefile:25: zip/libr_zip.a] Error 2
make[1]: se sale del directorio '/home/tzaoh/r2/shlr/zip'
make: *** [Makefile:49: all] Error 2 |
… On 10 Feb 2017, at 00:35, Tzaoh ***@***.***> wrote:
Sorry for the delay:
git pulled but still same errors.
$ make
Generating r_version.h file
/bin/sh: cmp: no se encontró la orden
Update libr/include/r_version.h
make -C shlr/zip
make[1]: se entra en el directorio '/home/tzaoh/r2/shlr/zip'
make -C zip
make[2]: se entra en el directorio '/home/tzaoh/r2/shlr/zip/zip'
gcc -c -MD -fPIC -g -Wall -D__WINDOWS__=1 -fPIC -D_WIN32=1 -I../../../libr/i nclude -I../include/ -o zip_dirent.o zip_dirent.c
In file included from /usr/include/w32api/winsock.h:36:0,
from ../../../libr/include/r_types.h:92,
from ../include/zipconf.h:16,
from zip.h:56,
from zipint.h:53,
from zip_dirent.c:44:
/usr/include/w32api/psdk_inc/_fd_types.h:100:2: aviso: #warning "fd_set and associated macros have been defined in sys/types. This can cause runtime problems with W32 sockets" [-Wcpp]
#warning "fd_set and associated macros have been defined in sys/types. \
^~~~~~~
In file included from ../../../libr/include/r_types.h:92:0,
from ../include/zipconf.h:16,
from zip.h:56,
from zipint.h:53,
from zip_dirent.c:44:
/usr/include/w32api/winsock.h:299:34: error: tipos en conflicto para ‘select’
WINSOCK_API_LINKAGE int WSAAPI select(int nfds,fd_set *readfds,fd_set *writefds,fd_set *exceptfds,const PTIMEVAL timeout);
^~~~~~
In file included from /usr/include/sys/types.h:68:0,
from /usr/include/stdio.h:61,
from zip_dirent.c:36:
/usr/include/sys/select.h:73:5: nota: la declaración previa de ‘select’ estaba aquí
int select __P ((int __n, fd_set *__readfds, fd_set *__writefds,
^~~~~~
make[2]: *** [/home/tzaoh/r2/libr/../global.mk:43: zip_dirent.o] Error 1
make[2]: se sale del directorio '/home/tzaoh/r2/shlr/zip/zip'
make[1]: *** [Makefile:25: zip/libr_zip.a] Error 2
make[1]: se sale del directorio '/home/tzaoh/r2/shlr/zip'
make: *** [Makefile:49: all] Error 2
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#6743 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AA3-lvgyuu6T6GXxEVcFxHk33CtXRQS_ks5ra6LAgaJpZM4L7dkz>.
|
I commented the line 299 of /usr/lib/winsock.h and keeps compiling (YaY) but I guess thats not a plausible solution to commit. oops another one: gcc -c -MD -fPIC -g -Wall -D__WINDOWS__=1 -I/home/tzaoh/r2/libr/../shlr/zip/include -I/home/tzaoh/r2/libr/include -I../../shlr/sdb/src//src -o punycode.o punycode.c
gcc -shared -o libr_util.dll -Wl,-soname=libr_util.dll mem.o pool.o unum.o str.o hex.o file.o range.o tinyrange.o prof.o cache.o sys.o buf.o w32-sys.o ubase64.o base85.o base91.o list.o flist.o uht.o uht64.o mixed.o btree.o chmod.o graph.o regex/regcomp.o regex/regerror.o regex/regexec.o uleb128.o sandbox.o calc.o thread.o thread_lock.o thread_msg.o strpool.o bitmap.o strht.o p_date.o p_format.o print.o p_seven.o slist.o randomart.o log.o zip.o debruijn.o utf8.o strbuf.o lib.o name.o spaces.o signal.o syscmd.o diff.o bdiff.o stack.o queue.o tree.o des.o id_storage.o punycode.o ../../shlr/sdb/src/buffer.o ../../shlr/sdb/src/cdb.o ../../shlr/sdb/src/cdb_make.o ../../shlr/sdb/src/ht.o ../../shlr/sdb/src/sdbht.o ../../shlr/sdb/src/json.o ../../shlr/sdb/src/lock.o ../../shlr/sdb/src/ls.o ../../shlr/sdb/src/ns.o ../../shlr/sdb/src/query.o ../../shlr/sdb/src/sdb.o ../../shlr/sdb/src/base64.o ../../shlr/sdb/src/disk.o ../../shlr/sdb/src/array.o ../../shlr/sdb/src/fmt.o ../../shlr/sdb/src/match.o ../../shlr/sdb/src/num.o ../../shlr/sdb/src/util.o ../../shlr/sdb/src/journal.o ../../shlr/spp/spp.o -fPIC /home/tzaoh/r2/libr/../shlr/zip/librz.a
../../shlr/spp/spp.o: En la función `cmd_to_str':
/home/tzaoh/r2/libr/util/../../shlr/spp/p/spp.h:17: referencia a `_popen' sin definir
/home/tzaoh/r2/libr/util/../../shlr/spp/p/spp.h:17:(.text+0x1b0): reubicación truncada para ajustar: R_X86_64_PC32 contra el símbolo `_popen' sin definir
/home/tzaoh/r2/libr/util/../../shlr/spp/p/spp.h:22: referencia a `_pclose' sin definir
/home/tzaoh/r2/libr/util/../../shlr/spp/p/spp.h:22:(.text+0x1fa): reubicación truncada para ajustar: R_X86_64_PC32 contra el símbolo `_pclose' sin definir
../../shlr/spp/spp.o: En la función `spp_add':
/home/tzaoh/r2/libr/util/../../shlr/spp/p/spp.h:101: referencia a `_snprintf' sin definir
/home/tzaoh/r2/libr/util/../../shlr/spp/p/spp.h:101:(.text+0x4c1): reubicación truncada para ajustar: R_X86_64_PC32 contra el símbolo `_snprintf' sin definir
../../shlr/spp/spp.o: En la función `spp_trace':
/home/tzaoh/r2/libr/util/../../shlr/spp/p/spp.h:134: referencia a `_snprintf' sin definir
/home/tzaoh/r2/libr/util/../../shlr/spp/p/spp.h:134:(.text+0x5e6): reubicación truncada para ajustar: R_X86_64_PC32 contra el símbolo `_snprintf' sin definir
../../shlr/spp/spp.o: En la función `spp_pipe':
/home/tzaoh/r2/libr/util/../../shlr/spp/p/spp.h:320: referencia a `_popen' sin definir
/home/tzaoh/r2/libr/util/../../shlr/spp/p/spp.h:320:(.text+0xe17): reubicación truncada para ajustar: R_X86_64_PC32 contra el símbolo `_popen' sin definir
../../shlr/spp/spp.o: En la función `spp_endpipe':
/home/tzaoh/r2/libr/util/../../shlr/spp/p/spp.h:365: referencia a `_pclose' sin definir
/home/tzaoh/r2/libr/util/../../shlr/spp/p/spp.h:365:(.text+0xfe2): reubicación truncada para ajustar: R_X86_64_PC32 contra el símbolo `_pclose' sin definir
collect2: error: ld devolvió el estado de salida 1
make[2]: *** [../rules.mk:73: libr_util.dll] Error 1
make[2]: se sale del directorio '/home/tzaoh/r2/libr/util'
make[1]: *** [../rules.mk:59: all] Error 2
make[1]: se sale del directorio '/home/tzaoh/r2/libr/util'
make: *** [Makefile:50: all] Error 2 |
the " cant find `cmp ` is” will make r2 rebuild from scratch everytime you type make
… On 10 Feb 2017, at 00:57, Tzaoh ***@***.***> wrote:
I commented the line 299 of /usr/lib/winsock.h
"WINSOCK_API_LINKAGE int WSAAPI select(int nfds,fd_set *readfds,fd_set *writefds,fd_set *exceptfds,const PTIMEVAL timeout);"
and keeps compiling (YaY) but I guess thats not a plausible solution to commit.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#6743 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AA3-lofn_mUYDB1tds3MZluSvhS7qEFGks5ra6f6gaJpZM4L7dkz>.
|
i have removed that cmp thing from the makefile, also fixed a regression introduced by the $(BUILDSEC)
pls retry
… On 10 Feb 2017, at 00:59, ***@***.*** wrote:
the " cant find `cmp ` is” will make r2 rebuild from scratch everytime you type make
> On 10 Feb 2017, at 00:57, Tzaoh ***@***.*** ***@***.***>> wrote:
>
> I commented the line 299 of /usr/lib/winsock.h
> "WINSOCK_API_LINKAGE int WSAAPI select(int nfds,fd_set *readfds,fd_set *writefds,fd_set *exceptfds,const PTIMEVAL timeout);"
>
> and keeps compiling (YaY) but I guess thats not a plausible solution to commit.
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub <#6743 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AA3-lofn_mUYDB1tds3MZluSvhS7qEFGks5ra6f6gaJpZM4L7dkz>.
>
|
Hi, that last one resolved the "select" duplicity problem (removing the comment I previously commented still passes that part). The cmp stuff worked too as you said. Last part still remains though, but is its closer at least. gcc -c -MD -fPIC -g -Wall -D__WINDOWS__=1 -I/home/tzaoh/r2/libr/../shlr/zip/include -I/home/tzaoh/r2/libr/include -I../../shlr/sdb/src/ /src -o punycode.o punycode.c
gcc -shared -o libr_util.dll -Wl,-soname=libr_util.dll mem.o pool.o unum.o str.o hex.o file.o range.o tinyrange.o prof.o cache.o sys.o buf.o w32-sys.o ubase64.o base85.o base91.o list.o flist.o uht.o uht64.o mixed.o btree.o chmod.o graph.o regex/regcomp.o regex/regerror.o regex/regexec.o uleb128.o sandbox.o calc.o thread.o thread_lock.o thread_msg.o strpool.o bitmap.o strht.o p_date.o p_format.o print.o p_s even.o slist.o randomart.o log.o zip.o debruijn.o utf8.o strbuf.o lib.o name.o spaces.o signal.o syscmd.o diff.o bdiff.o stack.o queue.o t ree.o des.o idpool.o punycode.o ../../shlr/sdb/src/buffer.o ../../shlr/sdb/src/cdb.o ../../shlr/sdb/src/cdb_make.o ../../shlr/sdb/src/ht.o ../../shlr/sdb/src/sdbht.o ../../shlr/sdb/src/json.o ../../shlr/sdb/src/lock.o ../../shlr/sdb/src/ls.o ../../shlr/sdb/src/ns.o ../../shlr /sdb/src/query.o ../../shlr/sdb/src/sdb.o ../../shlr/sdb/src/base64.o ../../shlr/sdb/src/disk.o ../../shlr/sdb/src/array.o ../../shlr/sdb/ src/fmt.o ../../shlr/sdb/src/match.o ../../shlr/sdb/src/num.o ../../shlr/sdb/src/util.o ../../shlr/sdb/src/journal.o ../../shlr/spp/spp.o -fPIC /home/tzaoh/r2/libr/../shlr/zip/librz.a
../../shlr/spp/spp.o: En la función `cmd_to_str':
/home/tzaoh/r2/libr/util/../../shlr/spp/p/spp.h:17: referencia a `_popen' sin definir
/home/tzaoh/r2/libr/util/../../shlr/spp/p/spp.h:17:(.text+0x1b0): reubicación truncada para ajustar: R_X86_64_PC32 contra el símbolo `_pop en' sin definir
/home/tzaoh/r2/libr/util/../../shlr/spp/p/spp.h:22: referencia a `_pclose' sin definir
/home/tzaoh/r2/libr/util/../../shlr/spp/p/spp.h:22:(.text+0x1fa): reubicación truncada para ajustar: R_X86_64_PC32 contra el símbolo `_pcl ose' sin definir
../../shlr/spp/spp.o: En la función `spp_add':
/home/tzaoh/r2/libr/util/../../shlr/spp/p/spp.h:101: referencia a `_snprintf' sin definir
/home/tzaoh/r2/libr/util/../../shlr/spp/p/spp.h:101:(.text+0x4c1): reubicación truncada para ajustar: R_X86_64_PC32 contra el símbolo `_sn printf' sin definir
../../shlr/spp/spp.o: En la función `spp_trace':
/home/tzaoh/r2/libr/util/../../shlr/spp/p/spp.h:134: referencia a `_snprintf' sin definir
/home/tzaoh/r2/libr/util/../../shlr/spp/p/spp.h:134:(.text+0x5e6): reubicación truncada para ajustar: R_X86_64_PC32 contra el símbolo `_sn printf' sin definir
../../shlr/spp/spp.o: En la función `spp_pipe':
/home/tzaoh/r2/libr/util/../../shlr/spp/p/spp.h:320: referencia a `_popen' sin definir
/home/tzaoh/r2/libr/util/../../shlr/spp/p/spp.h:320:(.text+0xe17): reubicación truncada para ajustar: R_X86_64_PC32 contra el símbolo `_po pen' sin definir
../../shlr/spp/spp.o: En la función `spp_endpipe':
/home/tzaoh/r2/libr/util/../../shlr/spp/p/spp.h:365: referencia a `_pclose' sin definir
/home/tzaoh/r2/libr/util/../../shlr/spp/p/spp.h:365:(.text+0xfe2): reubicación truncada para ajustar: R_X86_64_PC32 contra el símbolo `_pc lose' sin definir
collect2: error: ld devolvió el estado de salida 1
make[2]: *** [../rules.mk:73: libr_util.dll] Error 1
make[2]: se sale del directorio '/home/tzaoh/r2/libr/util'
make[1]: *** [../rules.mk:59: all] Error 2
make[1]: se sale del directorio '/home/tzaoh/r2/libr/util'
make: *** [Makefile:50: all] Error 2 |
This is because spp is built without fPIC. Maybe Unlogic can have a look at this
… On 11 Feb 2017, at 03:44, Tzaoh ***@***.***> wrote:
Hi, that last one resolved the "select" duplicity problem (removing the comment I previously commented still passes that part). Last part still remains though, but is its closer at least.
gcc -c -MD -fPIC -g -Wall -D__WINDOWS__=1 -I/home/tzaoh/r2/libr/../shlr/zip/include -I/home/tzaoh/r2/libr/include -I../../shlr/sdb/src/ /src -o punycode.o punycode.c
gcc -shared -o libr_util.dll -Wl,-soname=libr_util.dll mem.o pool.o unum.o str.o hex.o file.o range.o tinyrange.o prof.o cache.o sys.o buf.o w32-sys.o ubase64.o base85.o base91.o list.o flist.o uht.o uht64.o mixed.o btree.o chmod.o graph.o regex/regcomp.o regex/regerror.o regex/regexec.o uleb128.o sandbox.o calc.o thread.o thread_lock.o thread_msg.o strpool.o bitmap.o strht.o p_date.o p_format.o print.o p_s even.o slist.o randomart.o log.o zip.o debruijn.o utf8.o strbuf.o lib.o name.o spaces.o signal.o syscmd.o diff.o bdiff.o stack.o queue.o t ree.o des.o idpool.o punycode.o ../../shlr/sdb/src/buffer.o ../../shlr/sdb/src/cdb.o ../../shlr/sdb/src/cdb_make.o ../../shlr/sdb/src/ht.o ../../shlr/sdb/src/sdbht.o ../../shlr/sdb/src/json.o ../../shlr/sdb/src/lock.o ../../shlr/sdb/src/ls.o ../../shlr/sdb/src/ns.o ../../shlr /sdb/src/query.o ../../shlr/sdb/src/sdb.o ../../shlr/sdb/src/base64.o ../../shlr/sdb/src/disk.o ../../shlr/sdb/src/array.o ../../shlr/sdb/ src/fmt.o ../../shlr/sdb/src/match.o ../../shlr/sdb/src/num.o ../../shlr/sdb/src/util.o ../../shlr/sdb/src/journal.o ../../shlr/spp/spp.o -fPIC /home/tzaoh/r2/libr/../shlr/zip/librz.a
../../shlr/spp/spp.o: En la función `cmd_to_str':
/home/tzaoh/r2/libr/util/../../shlr/spp/p/spp.h:17: referencia a `_popen' sin definir
/home/tzaoh/r2/libr/util/../../shlr/spp/p/spp.h:17:(.text+0x1b0): reubicación truncada para ajustar: R_X86_64_PC32 contra el símbolo `_pop en' sin definir
/home/tzaoh/r2/libr/util/../../shlr/spp/p/spp.h:22: referencia a `_pclose' sin definir
/home/tzaoh/r2/libr/util/../../shlr/spp/p/spp.h:22:(.text+0x1fa): reubicación truncada para ajustar: R_X86_64_PC32 contra el símbolo `_pcl ose' sin definir
../../shlr/spp/spp.o: En la función `spp_add':
/home/tzaoh/r2/libr/util/../../shlr/spp/p/spp.h:101: referencia a `_snprintf' sin definir
/home/tzaoh/r2/libr/util/../../shlr/spp/p/spp.h:101:(.text+0x4c1): reubicación truncada para ajustar: R_X86_64_PC32 contra el símbolo `_sn printf' sin definir
../../shlr/spp/spp.o: En la función `spp_trace':
/home/tzaoh/r2/libr/util/../../shlr/spp/p/spp.h:134: referencia a `_snprintf' sin definir
/home/tzaoh/r2/libr/util/../../shlr/spp/p/spp.h:134:(.text+0x5e6): reubicación truncada para ajustar: R_X86_64_PC32 contra el símbolo `_sn printf' sin definir
../../shlr/spp/spp.o: En la función `spp_pipe':
/home/tzaoh/r2/libr/util/../../shlr/spp/p/spp.h:320: referencia a `_popen' sin definir
/home/tzaoh/r2/libr/util/../../shlr/spp/p/spp.h:320:(.text+0xe17): reubicación truncada para ajustar: R_X86_64_PC32 contra el símbolo `_po pen' sin definir
../../shlr/spp/spp.o: En la función `spp_endpipe':
/home/tzaoh/r2/libr/util/../../shlr/spp/p/spp.h:365: referencia a `_pclose' sin definir
/home/tzaoh/r2/libr/util/../../shlr/spp/p/spp.h:365:(.text+0xfe2): reubicación truncada para ajustar: R_X86_64_PC32 contra el símbolo `_pc lose' sin definir
collect2: error: ld devolvió el estado de salida 1
make[2]: *** [../rules.mk:73: libr_util.dll] Error 1
make[2]: se sale del directorio '/home/tzaoh/r2/libr/util'
make[1]: *** [../rules.mk:59: all] Error 2
make[1]: se sale del directorio '/home/tzaoh/r2/libr/util'
make: *** [Makefile:50: all] Error 2
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I'll see what I can do on my end, but I don't have a Windows box available atm |
git pull it should be using -fPIC to build libspp now
… On 11 Feb 2017, at 03:44, Tzaoh ***@***.***> wrote:
Hi, that last one resolved the "select" duplicity problem (removing the comment I previously commented still passes that part). Last part still remains though, but is its closer at least.
gcc -c -MD -fPIC -g -Wall -D__WINDOWS__=1 -I/home/tzaoh/r2/libr/../shlr/zip/include -I/home/tzaoh/r2/libr/include -I../../shlr/sdb/src/ /src -o punycode.o punycode.c
gcc -shared -o libr_util.dll -Wl,-soname=libr_util.dll mem.o pool.o unum.o str.o hex.o file.o range.o tinyrange.o prof.o cache.o sys.o buf.o w32-sys.o ubase64.o base85.o base91.o list.o flist.o uht.o uht64.o mixed.o btree.o chmod.o graph.o regex/regcomp.o regex/regerror.o regex/regexec.o uleb128.o sandbox.o calc.o thread.o thread_lock.o thread_msg.o strpool.o bitmap.o strht.o p_date.o p_format.o print.o p_s even.o slist.o randomart.o log.o zip.o debruijn.o utf8.o strbuf.o lib.o name.o spaces.o signal.o syscmd.o diff.o bdiff.o stack.o queue.o t ree.o des.o idpool.o punycode.o ../../shlr/sdb/src/buffer.o ../../shlr/sdb/src/cdb.o ../../shlr/sdb/src/cdb_make.o ../../shlr/sdb/src/ht.o ../../shlr/sdb/src/sdbht.o ../../shlr/sdb/src/json.o ../../shlr/sdb/src/lock.o ../../shlr/sdb/src/ls.o ../../shlr/sdb/src/ns.o ../../shlr /sdb/src/query.o ../../shlr/sdb/src/sdb.o ../../shlr/sdb/src/base64.o ../../shlr/sdb/src/disk.o ../../shlr/sdb/src/array.o ../../shlr/sdb/ src/fmt.o ../../shlr/sdb/src/match.o ../../shlr/sdb/src/num.o ../../shlr/sdb/src/util.o ../../shlr/sdb/src/journal.o ../../shlr/spp/spp.o -fPIC /home/tzaoh/r2/libr/../shlr/zip/librz.a
../../shlr/spp/spp.o: En la función `cmd_to_str':
/home/tzaoh/r2/libr/util/../../shlr/spp/p/spp.h:17: referencia a `_popen' sin definir
/home/tzaoh/r2/libr/util/../../shlr/spp/p/spp.h:17:(.text+0x1b0): reubicación truncada para ajustar: R_X86_64_PC32 contra el símbolo `_pop en' sin definir
/home/tzaoh/r2/libr/util/../../shlr/spp/p/spp.h:22: referencia a `_pclose' sin definir
/home/tzaoh/r2/libr/util/../../shlr/spp/p/spp.h:22:(.text+0x1fa): reubicación truncada para ajustar: R_X86_64_PC32 contra el símbolo `_pcl ose' sin definir
../../shlr/spp/spp.o: En la función `spp_add':
/home/tzaoh/r2/libr/util/../../shlr/spp/p/spp.h:101: referencia a `_snprintf' sin definir
/home/tzaoh/r2/libr/util/../../shlr/spp/p/spp.h:101:(.text+0x4c1): reubicación truncada para ajustar: R_X86_64_PC32 contra el símbolo `_sn printf' sin definir
../../shlr/spp/spp.o: En la función `spp_trace':
/home/tzaoh/r2/libr/util/../../shlr/spp/p/spp.h:134: referencia a `_snprintf' sin definir
/home/tzaoh/r2/libr/util/../../shlr/spp/p/spp.h:134:(.text+0x5e6): reubicación truncada para ajustar: R_X86_64_PC32 contra el símbolo `_sn printf' sin definir
../../shlr/spp/spp.o: En la función `spp_pipe':
/home/tzaoh/r2/libr/util/../../shlr/spp/p/spp.h:320: referencia a `_popen' sin definir
/home/tzaoh/r2/libr/util/../../shlr/spp/p/spp.h:320:(.text+0xe17): reubicación truncada para ajustar: R_X86_64_PC32 contra el símbolo `_po pen' sin definir
../../shlr/spp/spp.o: En la función `spp_endpipe':
/home/tzaoh/r2/libr/util/../../shlr/spp/p/spp.h:365: referencia a `_pclose' sin definir
/home/tzaoh/r2/libr/util/../../shlr/spp/p/spp.h:365:(.text+0xfe2): reubicación truncada para ajustar: R_X86_64_PC32 contra el símbolo `_pc lose' sin definir
collect2: error: ld devolvió el estado de salida 1
make[2]: *** [../rules.mk:73: libr_util.dll] Error 1
make[2]: se sale del directorio '/home/tzaoh/r2/libr/util'
make[1]: *** [../rules.mk:59: all] Error 2
make[1]: se sale del directorio '/home/tzaoh/r2/libr/util'
make: *** [Makefile:50: all] Error 2
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#6743 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AA3-lhs4OV4WqSjE7kc5-vufnkHuUD0Zks5rbSCqgaJpZM4L7dkz>.
|
Hi @Svenito, firstly if nec, I can test it. But if you want there are official free lite windows images on https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/ |
For me it stops here. #6751 |
Hi @XVilka , my version is msys2 mingw-w64. |
wondering why people uses msys2 |
Closing becase of #9973 |
Following
https://radare.gitbooks.io/radare2book/content/introduction/windows_compilation.html
to compile for w64 ended with this error.
I commented it on telegram channel but prefer this to know its status.
The text was updated successfully, but these errors were encountered: