Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

radare2 fails to build on PowerPC Macintosh #22574

Open
thamugadi opened this issue Feb 7, 2024 · 8 comments
Open

radare2 fails to build on PowerPC Macintosh #22574

thamugadi opened this issue Feb 7, 2024 · 8 comments

Comments

@thamugadi
Copy link

I've already talked about it on the discord server, so I'm making an issue :)

Environment

Mac OS X Tiger 10.4.11
Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc
gcc -v
Using built-in specs.
Target: powerpc-apple-darwin8
Configured with: /var/tmp/gcc/gcc-5370~2/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib --build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8 --target=powerpc-apple-darwin8
Thread model: posix
gcc version 4.0.1 (Apple Computer, Inc. build 5370)

Description

Building radare2 fails on a PowerPC Mac.

Test

ibook-g4-de-a-o:~/radare2 ao$ sys/install.sh
/Users/ao/radare2
WARNING: Updating from remote repository
From https://github.com/radareorg/radare2
 * branch            master     -> FETCH_HEAD
Already up to date.
Warning: Cannot find system wide capstone
[*] Finding make is /usr/bin/make OK
[*] Configuring the build system ... OK
[*] Checking out capstone... OK
[*] Checking out vector35-arm64... OK
[*] Checking out vector35-armv7... OK
[*] Running configure... OK
[*] Ready. You can now run 'make'.
ARGS=
/bin/bash ./sys/build.sh
/Users/ao/radare2
/Users/ao/radare2
./configure --prefix=/usr/local
configure-plugins: Copying dist/plugins-cfg/plugins.def.cfg
configure-plugins: Loading ./plugins.cfg ..
configure-plugins: Generating libr/config.h
configure-plugins: Generating libr/asm/d/config.inc
configure-plugins: Generating libr/config.mk
SHARED: io.shm
STATIC: anal.a2f anal.null arch.6502 arch.6502_cs arch.8051 arch.alpha arch.amd29k arch.any_as arch.any_vasm arch.arc arch.arm arch.arm_cs arch.arm_gnu arch.arm_v35 arch.avr arch.bf arch.bpf arch.bpf_cs arch.chip8 arch.cr16 arch.cris arch.dalvik arch.dis arch.ebc arch.evm arch.fslsp arch.gb arch.h8300 arch.hppa_gnu arch.i4004 arch.i8080 arch.java arch.jdh8 arch.kvx arch.lanai arch.lh5801 arch.lm32 arch.loongarch_gnu arch.lua arch.m680x_cs arch.m68k_cs arch.m68k_gnu arch.mcore arch.mcs96 arch.mips_cs arch.mips_gnu arch.msp430 arch.nds32 arch.nios2 arch.null arch.or1k arch.pdp11 arch.pic arch.pickle arch.ppc_cs arch.ppc_gnu arch.propeller arch.pyc arch.riscv arch.riscv_cs arch.rsp arch.s390_cs arch.s390_gnu arch.sh arch.sh_cs arch.sm5xx arch.snes arch.sparc_cs arch.sparc_gnu arch.tms320 arch.tricore arch.tricore_cs arch.v810 arch.v850 arch.vax arch.wasm arch.ws arch.x86_cs arch.x86_nasm arch.x86_nz arch.xap arch.xcore_cs arch.xtensa arch.z80 asm.null bin.any bin.art bin.avr bin.bf bin.bflt bin.bios bin.bootimg bin.cgc bin.coff bin.dex bin.dis bin.dmp64 bin.dol bin.dyldcache bin.elf bin.elf64 bin.fs bin.hunk bin.java bin.le bin.lua bin.mach0 bin.mach064 bin.mbn bin.mdmp bin.menuet bin.msx bin.mz bin.ne bin.nes bin.nin3ds bin.ninds bin.ningb bin.ningba bin.nro bin.nso bin.off bin.omf bin.p9 bin.pcap bin.pdp11 bin.pe bin.pe64 bin.pebble bin.prg bin.psxexe bin.pyc bin.qnx bin.rel bin.s390 bin.sfc bin.smd bin.sms bin.symbols bin.te bin.tic bin.vsf bin.wad bin.wasm bin.xbe bin.xcoff64 bin.xnu_kernelcache bin.xtac bin.z64 bin.zimg bin_ldr.ldr_linux bin_xtr.xtr_dyldcache bin_xtr.xtr_fatmach0 bin_xtr.xtr_pemixed bin_xtr.xtr_sep64 bin_xtr.xtr_xalz bp.arm bp.bf bp.mips bp.null bp.ppc bp.riscv bp.x86 core.a2f core.agD core.java core.sixref crypto.aes crypto.aes_cbc crypto.aes_wrap crypto.base64 crypto.base91 crypto.blowfish crypto.cps2 crypto.des crypto.entropy crypto.punycode crypto.rc2 crypto.rc4 crypto.rc6 crypto.rol crypto.ror crypto.rot crypto.serpent crypto.sm4 crypto.xor debug.bf debug.bochs debug.esil debug.gdb debug.io debug.native debug.null debug.qnx debug.rap debug.rv32ima debug.winkd egg.exec egg.xor esil.dummy esil.null fs.ext2 fs.fat fs.fb fs.hfs fs.hfsplus fs.io fs.iso9660 fs.jfs fs.minix fs.ntfs fs.posix fs.r2 fs.reiserfs fs.sfs fs.tar fs.udf fs.ufs fs.xfs fs.zip io.ar io.bfdbg io.bochs io.cyclic io.debug io.default io.dsc io.fd io.gdb io.gprobe io.gzip io.http io.ihex io.isotp io.mach io.malloc io.mmap io.null io.procpid io.ptrace io.qnx io.r2k io.r2pipe io.r2web io.rap io.rbuf io.reg io.self io.serial io.socket io.sparse io.sysgdb io.tcpslurp io.treebuf io.w32 io.w32dbg io.winedbg io.winkd io.xalz io.xattr io.zip lang.c lang.cpipe lang.pipe lang.rust lang.spp lang.v lang.vala lang.zig parse.6502_pseudo parse.arm_pseudo parse.att2intel parse.avr_pseudo parse.bpf_pseudo parse.chip8_pseudo parse.dalvik_pseudo parse.evm_pseudo parse.m68k_pseudo parse.mips_pseudo parse.ppc_pseudo parse.riscv_pseudo parse.sh_pseudo parse.tms320_pseudo parse.v850_pseudo parse.wasm_pseudo parse.x86_pseudo parse.z80_pseudo
cp: plugins.cfg and ./plugins.cfg are identical (not copied).
checking build system type... PowerMacintosh-unknown-darwin
checking host system type... PowerMacintosh-unknown-darwin
checking target system type... PowerMacintosh-unknown-darwin
checking for working directories... current
using prefix '/usr/local'
checking for c compiler... gcc
checking for dynamic library... required
checking for pkg-config... /usr/local/bin/pkg-config
checking for patch... /usr/bin/patch
checking for ar... /usr/bin/ar
checking for git... /usr/local/bin/git
checking for gperf... /usr/bin/gperf
checking for libmagic ... no
checking for linux/can.h... no
checking pkg-config flags for liblz4... no
checking for libz ... yes
checking for libzip ... no
checking for libxxhash ... no
checking declaration of ADDR_NO_RANDOMIZE in sys/personality.h... no
checking declaration of __GLIBC__ in features.h... no
checking function arc4random_uniform() in c... no
checking function explicit_bzero() in c... no
checking function explicit_memset() in c... no
checking function clock_nanosleep() in c... no
checking function sigaction() in c... yes
checking function clock_gettime() in c... no
checking cflags  -std=gnu99... yes
checking version of library libuv >= 1.0.0... no
generating pkgcfg/r_egg.pc
generating pkgcfg/r_io.pc
generating pkgcfg/r_esil.pc
generating pkgcfg/r_cons.pc
generating pkgcfg/r_socket.pc
generating pkgcfg/r_reg.pc
generating pkgcfg/r_bp.pc
generating pkgcfg/r_flag.pc
generating pkgcfg/r_bin.pc
generating pkgcfg/r_lang.pc
generating pkgcfg/r_syscall.pc
generating pkgcfg/r_config.pc
generating pkgcfg/r_fs.pc
generating pkgcfg/r_util.pc
generating pkgcfg/r_magic.pc
generating pkgcfg/r_search.pc
generating pkgcfg/r_arch.pc
generating pkgcfg/r_crypto.pc
generating pkgcfg/r_anal.pc
generating pkgcfg/r_asm.pc
generating pkgcfg/r_debug.pc
creating ./config-user.mk
creating libr/include/r_userconf.h
creating pkgcfg/r_core.pc
cleaning temporally files... done

Final report:
 - BUILD = PowerMacintosh-unknown-darwin
 - CC = gcc
 - CFLAGS = ""
 - DEBUGGER = 1
 - HAVE_ARC4RANDOM_UNIFORM = 0
 - HAVE_EXPLICIT_BZERO = 0
 - HAVE_EXPLICIT_MEMSET = 0
 - HAVE_FORK = 1
 - HAVE_GPERF = 1
 - HAVE_LIBUV = 0
 - HAVE_LIB_GMP = 0
 - WANT_DEBUGSTUFF = 1
 - HAVE_OPENSSL = 0
 - WANT_SSL_CRYPTO = 0
 - HAVE_PTRACE = 1
 - HOST = PowerMacintosh-unknown-darwin
 - LDFLAGS = ""
 - LIBVERSION = 5.8.9
 - PKGCONFIG = /usr/local/bin/pkg-config
 - PREFIX = /usr/local
 - R_CHECKS_LEVEL = 2
 - TARGET = PowerMacintosh-unknown-darwin
 - USERCC = gcc
 - USEROSTYPE = darwin
 - USE_CAPSTONE = 0
 - USE_LIB_MAGIC = 0
 - NEW_IO_CACHE = ""
 - USE_LIB_XXHASH = 0
 - USE_LIB_ZIP = 0
 - USE_PTRACE_WRAP = 0
 - USE_SYSLZ4 = 0
 - VERSION = 5.8.9
 - WANT_DYLINK = 1
 - USE_SMALLZ4 = ""
Generating r_version.h file

>>>>>>>>
HOST SDB
>>>>>>>>

CC cdb.c
CC entry.c
CC buffer.c
CC cdb_make.c
CC ls.c
CC ht.c
CC ht_uu.c
CC sdb.c
CC num.c
CC base64.c
CC match.c
CC json.c
In file included from ht_uu.c:6:
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:378:3: warning: #warning "Cannot detect endianness; assuming little-endian."
CC ns.c
CC lock.c
CC util.c
CC disk.c
CC query.c
CC array.c
In file included from ht_uu.c:6:
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1387: warning: integer constant is too large for 'long' type
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1387: warning: integer constant is too large for 'long' type
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1387: warning: integer constant is too large for 'long' type
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1388: warning: integer constant is too large for 'long' type
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1388: warning: integer constant is too large for 'long' type
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h: In function 'CWISS_AbslHash_Mix':
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1398: warning: integer constant is too large for 'long' type
CC fmt.c
CC journal.c
CC text.c
CC dict.c
CC ht_pp.c
CC ht_up.c
CC ht_pu.c
CC ht_su.c
In file included from ht_pu.c:6:
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:378:3: warning: #warning "Cannot detect endianness; assuming little-endian."
CC set.c
CC diff.c
In file included from ht_su.c:7:
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:378:3: warning: #warning "Cannot detect endianness; assuming little-endian."
CC heap.c
In file included from ht_pu.c:6:
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1387: warning: integer constant is too large for 'long' type
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1387: warning: integer constant is too large for 'long' type
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1387: warning: integer constant is too large for 'long' type
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1388: warning: integer constant is too large for 'long' type
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1388: warning: integer constant is too large for 'long' type
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h: In function 'CWISS_AbslHash_Mix':
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1398: warning: integer constant is too large for 'long' type
CC main.c
In file included from ht_su.c:7:
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1387: warning: integer constant is too large for 'long' type
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1387: warning: integer constant is too large for 'long' type
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1387: warning: integer constant is too large for 'long' type
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1388: warning: integer constant is too large for 'long' type
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1388: warning: integer constant is too large for 'long' type
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h: In function 'CWISS_AbslHash_Mix':
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1398: warning: integer constant is too large for 'long' type
AR libsdb.a
ar: creating archive libsdb.a
BIN sdb
sdb/sdb: Mach-O executable ppc

>>>>>>>>>>
TARGET SDB
>>>>>>>>>>

CC cdb.c
CC buffer.c
CC cdb_make.c
CC ls.c
CC ht.c
CC ht_uu.c
CC sdb.c
CC num.c
CC base64.c
CC match.c
CC json.c
CC ns.c
CC lock.c
In file included from ht_uu.c:6:
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:378:3: warning: #warning "Cannot detect endianness; assuming little-endian."
In file included from ht_uu.c:6:
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:384: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:384: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:384: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:384: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:384: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:410: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:416: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:416: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:416: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:416: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:416: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:652: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:656: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:656: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:656: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:656: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:656: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:943: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:978: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:978: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:978: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:978: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:978: warning: ignoring #pragma GCC diagnostic
CC util.c
CC disk.c
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1149: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1158: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1158: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1158: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1158: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1158: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1261: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1267: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1267: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1267: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1267: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1267: warning: ignoring #pragma GCC diagnostic
CC query.c
CC array.c
CC fmt.c
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1409: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1430: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1430: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1430: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1430: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1430: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1504: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1559: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1559: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1559: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1559: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1559: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1817: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1834: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1834: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1834: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1834: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1834: warning: ignoring #pragma GCC diagnostic
CC journal.c
In file included from json.c:7:
json/js0n.c:26: warning: ignoring #pragma GCC diagnostic
json/js0n.c:27: warning: ignoring #pragma GCC diagnostic
json/js0n.c:28: warning: ignoring #pragma GCC diagnostic
CC text.c
CC dict.c
CC ht_pp.c
disk.c: In function 'sdb_disk_finish':
disk.c:136: warning: implicit declaration of function 'fsync'
CC ht_up.c
journal.c: In function 'sdb_journal_log':
journal.c:106: warning: implicit declaration of function 'fsync'
CC ht_pu.c
CC ht_su.c
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:2615: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:2651: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:2651: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:2651: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:2651: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:2651: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:2996: warning: ignoring #pragma GCC diagnostic
ht_uu.c:10: warning: ignoring #pragma GCC diagnostic
ht_uu.c:10: warning: ignoring #pragma GCC diagnostic
ht_uu.c:10: warning: ignoring #pragma GCC diagnostic
ht_uu.c:10: warning: ignoring #pragma GCC diagnostic
ht_uu.c:10: warning: ignoring #pragma GCC diagnostic
ht_uu.c:10: warning: ignoring #pragma GCC diagnostic
ht_uu.c:10: warning: ignoring #pragma GCC diagnostic
ht_uu.c:10: warning: ignoring #pragma GCC diagnostic
ht_uu.c:10: warning: ignoring #pragma GCC diagnostic
ht_uu.c:10: warning: ignoring #pragma GCC diagnostic
ht_uu.c:10: warning: ignoring #pragma GCC diagnostic
In file included from ht_pu.c:6:
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:378:3: warning: #warning "Cannot detect endianness; assuming little-endian."
In file included from ht_pu.c:6:
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:384: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:384: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:384: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:384: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:384: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:410: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:416: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:416: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:416: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:416: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:416: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:652: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:656: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:656: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:656: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:656: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:656: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:943: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:978: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:978: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:978: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:978: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:978: warning: ignoring #pragma GCC diagnostic
ht_uu.c:10: warning: ignoring #pragma GCC diagnostic
CC set.c
In file included from ht_su.c:7:
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:378:3: warning: #warning "Cannot detect endianness; assuming little-endian."
In file included from ht_su.c:7:
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:384: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:384: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:384: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:384: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:384: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:410: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:416: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:416: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:416: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:416: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:416: warning: ignoring #pragma GCC diagnostic
CC diff.c
CC heap.c
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:652: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:656: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:656: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:656: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:656: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:656: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:943: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:978: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:978: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:978: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:978: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:978: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1149: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1158: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1158: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1158: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1158: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1158: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1261: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1267: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1267: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1267: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1267: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1267: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1149: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1158: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1158: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1158: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1158: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1158: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1261: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1267: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1267: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1267: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1267: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1267: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1409: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1430: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1430: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1430: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1430: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1430: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1504: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1559: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1559: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1559: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1559: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1559: warning: ignoring #pragma GCC diagnostic
CC main.c
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1817: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1834: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1834: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1834: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1834: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1834: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1409: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1430: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1430: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1430: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1430: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1430: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1504: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1559: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1559: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1559: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1559: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1559: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1817: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1834: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1834: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1834: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1834: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:1834: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:2615: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:2651: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:2651: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:2651: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:2651: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:2651: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:2996: warning: ignoring #pragma GCC diagnostic
ht_pu.c:8: warning: ignoring #pragma GCC diagnostic
ht_pu.c:8: warning: ignoring #pragma GCC diagnostic
ht_pu.c:8: warning: ignoring #pragma GCC diagnostic
ht_pu.c:8: warning: ignoring #pragma GCC diagnostic
ht_pu.c:8: warning: ignoring #pragma GCC diagnostic
ht_pu.c:8: warning: ignoring #pragma GCC diagnostic
ht_pu.c:8: warning: ignoring #pragma GCC diagnostic
ht_pu.c:8: warning: ignoring #pragma GCC diagnostic
ht_pu.c:8: warning: ignoring #pragma GCC diagnostic
ht_pu.c:8: warning: ignoring #pragma GCC diagnostic
ht_pu.c:8: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:2615: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:2651: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:2651: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:2651: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:2651: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:2651: warning: ignoring #pragma GCC diagnostic
/Users/ao/radare2/libr/../shlr/sdb/include/sdb/cwisstable.h:2996: warning: ignoring #pragma GCC diagnostic
ht_su.c:14: warning: ignoring #pragma GCC diagnostic
ht_su.c:14: warning: ignoring #pragma GCC diagnostic
ht_su.c:14: warning: ignoring #pragma GCC diagnostic
ht_su.c:14: warning: ignoring #pragma GCC diagnostic
ht_su.c:14: warning: ignoring #pragma GCC diagnostic
ht_su.c:14: warning: ignoring #pragma GCC diagnostic
ht_su.c:14: warning: ignoring #pragma GCC diagnostic
ht_su.c:14: warning: ignoring #pragma GCC diagnostic
ht_su.c:14: warning: ignoring #pragma GCC diagnostic
ht_su.c:14: warning: ignoring #pragma GCC diagnostic
ht_su.c:14: warning: ignoring #pragma GCC diagnostic
ht_su.c:14: warning: ignoring #pragma GCC diagnostic
ht_pu.c:8: warning: ignoring #pragma GCC diagnostic
AR libsdb.a
ar: creating archive libsdb.a
[zlib 2] CC adler32.c
[zlib 3] CC crc32.c
[zlib 4] CC deflate.c
[zlib 5] CC infback.c
[zlib 6] CC inffast.c
[zlib 7] CC inflate.c
[zlib 8] CC inftrees.c
[zlib 9] CC trees.c
[zlib 10] CC zutil.c
[zlib 11] CC compress.c
[zlib 12] CC uncompr.c
[zlib 13] CC gzclose.c
[zlib 14] CC gzlib.c
[zlib 15] CC gzread.c
[zlib 16] CC gzwrite.c
ar: creating archive libr_z.a
[zip 17] CC zip_add.c
[zip 18] CC zip_add_dir.c
[zip 19] CC zip_add_entry.c
[zip 20] CC zip_algorithm_deflate.c
[zip 21] CC zip_buffer.c
[zip 22] CC zip_close.c
[zip 23] CC zip_delete.c
[zip 24] CC zip_dir_add.c
[zip 25] CC zip_dirent.c
[zip 26] CC zip_discard.c
[zip 27] CC zip_entry.c
[zip 28] CC zip_err_str.c
[zip 29] CC zip_error.c
[zip 30] CC zip_error_clear.c
[zip 31] CC zip_error_get.c
[zip 32] CC zip_error_get_sys_type.c
[zip 33] CC zip_error_strerror.c
[zip 34] CC zip_error_to_str.c
[zip 35] CC zip_extra_field.c
[zip 36] CC zip_extra_field_api.c
[zip 37] CC zip_fclose.c
[zip 38] CC zip_fdopen.c
[zip 39] CC zip_file_add.c
[zip 40] CC zip_file_error_clear.c
[zip 41] CC zip_file_error_get.c
[zip 42] CC zip_file_get_comment.c
[zip 43] CC zip_file_get_external_attributes.c
[zip 44] CC zip_file_get_offset.c
[zip 45] CC zip_file_rename.c
[zip 46] CC zip_file_replace.c
[zip 47] CC zip_file_set_comment.c
[zip 48] CC zip_file_set_external_attributes.c
[zip 49] CC zip_file_set_mtime.c
[zip 50] CC zip_file_strerror.c
[zip 51] CC zip_filerange_crc.c
[zip 52] CC zip_fopen.c
[zip 53] CC zip_fopen_index.c
[zip 54] CC zip_fopen_index_encrypted.c
[zip 55] CC zip_fread.c
[zip 56] CC zip_fseek.c
[zip 57] CC zip_ftell.c
[zip 58] CC zip_get_archive_comment.c
[zip 59] CC zip_get_archive_flag.c
[zip 60] CC zip_get_file_comment.c
[zip 61] CC zip_get_name.c
[zip 62] CC zip_get_num_entries.c
[zip 63] CC zip_get_num_files.c
[zip 64] CC zip_hash.c
[zip 65] CC zip_io_util.c
[zip 66] CC zip_libzip_version.c
[zip 67] CC zip_memdup.c
[zip 68] CC zip_name_locate.c
[zip 69] CC zip_new.c
[zip 70] CC zip_open.c
[zip 71] CC zip_pkware.c
[zip 72] CC zip_progress.c
[zip 73] CC zip_random_unix.c
[zip 74] CC zip_rename.c
zip_hash.c: In function 'hash_string':
zip_hash.c:87: warning: integer constant is too large for 'unsigned long' type
[zip 75] CC zip_replace.c
[zip 76] CC zip_set_archive_comment.c
[zip 77] CC zip_set_archive_flag.c
[zip 78] CC zip_set_default_password.c
[zip 79] CC zip_set_file_comment.c
[zip 80] CC zip_set_file_compression.c
[zip 81] CC zip_set_name.c
[zip 82] CC zip_source_accept_empty.c
[zip 83] CC zip_source_begin_write.c
[zip 84] CC zip_source_begin_write_cloning.c
[zip 85] CC zip_source_buffer.c
[zip 86] CC zip_source_call.c
[zip 87] CC zip_source_close.c
[zip 88] CC zip_source_commit_write.c
[zip 89] CC zip_source_compress.c
[zip 90] CC zip_source_crc.c
[zip 91] CC zip_source_deflate.c
[zip 92] CC zip_source_error.c
[zip 93] CC zip_source_file_common.c
[zip 94] CC zip_source_file_stdio.c
[zip 95] CC zip_source_file_stdio_named.c
[zip 96] CC zip_source_free.c
[zip 97] CC zip_source_function.c
[zip 98] CC zip_source_get_file_attributes.c
[zip 99] CC zip_source_is_deleted.c
[zip 100] CC zip_source_layered.c
[zip 101] CC zip_source_open.c
[zip 102] CC zip_source_pkware.c
[zip 103] CC zip_source_pkware_decode.c
[zip 104] CC zip_source_pkware_encode.c
[zip 105] CC zip_source_pop.c
[zip 106] CC zip_source_read.c
[zip 107] CC zip_source_remove.c
[zip 108] CC zip_source_rollback_write.c
[zip 109] CC zip_source_seek.c
[zip 110] CC zip_source_seek_write.c
[zip 111] CC zip_source_stat.c
[zip 112] CC zip_source_supports.c
[zip 113] CC zip_source_tell.c
[zip 114] CC zip_source_tell_write.c
[zip 115] CC zip_source_window.c
[zip 116] CC zip_source_write.c
[zip 117] CC zip_source_zip.c
[zip 118] CC zip_source_zip_new.c
[zip 119] CC zip_stat.c
[zip 120] CC zip_stat_index.c
[zip 121] CC zip_stat_init.c
[zip 122] CC zip_strerror.c
[zip 123] CC zip_string.c
[zip 124] CC zip_utf-8.c
ar: creating archive libr_zip.a
ar q librz.a zlib/adler32.o zlib/compress.o zlib/crc32.o zlib/deflate.o zlib/gzclose.o zlib/gzlib.o zlib/gzread.o zlib/gzwrite.o zlib/infback.o zlib/inffast.o zlib/inflate.o zlib/inftrees.o zlib/trees.o zlib/uncompr.o zlib/zutil.o zip/zip_add.o zip/zip_add_dir.o zip/zip_add_entry.o zip/zip_algorithm_deflate.o zip/zip_buffer.o zip/zip_close.o zip/zip_delete.o zip/zip_dir_add.o zip/zip_dirent.o zip/zip_discard.o zip/zip_entry.o zip/zip_err_str.o zip/zip_error.o zip/zip_error_clear.o zip/zip_error_get.o zip/zip_error_get_sys_type.o zip/zip_error_strerror.o zip/zip_error_to_str.o zip/zip_extra_field.o zip/zip_extra_field_api.o zip/zip_fclose.o zip/zip_fdopen.o zip/zip_file_add.o zip/zip_file_error_clear.o zip/zip_file_error_get.o zip/zip_file_get_comment.o zip/zip_file_get_external_attributes.o zip/zip_file_get_offset.o zip/zip_file_rename.o zip/zip_file_replace.o zip/zip_file_set_comment.o zip/zip_file_set_external_attributes.o zip/zip_file_set_mtime.o zip/zip_file_strerror.o zip/zip_filerange_crc.o zip/zip_fopen.o zip/zip_fopen_index.o zip/zip_fopen_index_encrypted.o zip/zip_fread.o zip/zip_fseek.o zip/zip_ftell.o zip/zip_get_archive_comment.o zip/zip_get_archive_flag.o zip/zip_get_file_comment.o zip/zip_get_name.o zip/zip_get_num_entries.o zip/zip_get_num_files.o zip/zip_hash.o zip/zip_io_util.o zip/zip_libzip_version.o zip/zip_memdup.o zip/zip_name_locate.o zip/zip_new.o zip/zip_open.o zip/zip_pkware.o zip/zip_progress.o zip/zip_random_unix.o zip/zip_rename.o zip/zip_replace.o zip/zip_set_archive_comment.o zip/zip_set_archive_flag.o zip/zip_set_default_password.o zip/zip_set_file_comment.o zip/zip_set_file_compression.o zip/zip_set_name.o zip/zip_source_accept_empty.o zip/zip_source_begin_write.o zip/zip_source_begin_write_cloning.o zip/zip_source_buffer.o zip/zip_source_call.o zip/zip_source_close.o zip/zip_source_commit_write.o zip/zip_source_compress.o zip/zip_source_crc.o zip/zip_source_deflate.o zip/zip_source_error.o zip/zip_source_file_common.o zip/zip_source_file_stdio.o zip/zip_source_file_stdio_named.o zip/zip_source_free.o zip/zip_source_function.o zip/zip_source_get_file_attributes.o zip/zip_source_is_deleted.o zip/zip_source_layered.o zip/zip_source_open.o zip/zip_source_pkware.o zip/zip_source_pkware_decode.o zip/zip_source_pkware_encode.o zip/zip_source_pop.o zip/zip_source_read.o zip/zip_source_remove.o zip/zip_source_rollback_write.o zip/zip_source_seek.o zip/zip_source_seek_write.o zip/zip_source_stat.o zip/zip_source_supports.o zip/zip_source_tell.o zip/zip_source_tell_write.o zip/zip_source_window.o zip/zip_source_write.o zip/zip_source_zip.o zip/zip_source_zip_new.o zip/zip_stat.o zip/zip_stat_index.o zip/zip_stat_init.o zip/zip_strerror.o zip/zip_string.o zip/zip_utf-8.o
ar: creating archive librz.a
ranlib librz.a
make[2]: /count.sh: Command not found
[] CC ../../shlr/spp/spp.c
In file included from ../../shlr/spp/spp.c:3:
../../shlr/spp/spp.h:83:20: error: r_util.h: No such file or directory
In file included from ../../shlr/spp/spp.c:3:
../../shlr/spp/spp.h:95: error: parse error before 'RStrBuf'
../../shlr/spp/spp.h:95: warning: no semicolon at end of struct or union
../../shlr/spp/spp.h:98: error: parse error before '}' token
../../shlr/spp/spp.h:98: warning: type defaults to 'int' in declaration of 'Output'
../../shlr/spp/spp.h:98: warning: data definition has no type or storage class
../../shlr/spp/spp.h:120: error: parse error before 'Output'
../../shlr/spp/spp.h:134: error: parse error before 'Output'
../../shlr/spp/spp.h:135: error: parse error before '*' token
../../shlr/spp/spp.h:149: error: parse error before 'Output'
../../shlr/spp/spp.h:149: warning: no semicolon at end of struct or union
../../shlr/spp/spp.h:150: warning: type defaults to 'int' in declaration of 'Spp'
../../shlr/spp/spp.h:150: warning: data definition has no type or storage class
../../shlr/spp/spp.h:152: error: parse error before 'Output'
../../shlr/spp/spp.h:153: error: parse error before 'Output'
../../shlr/spp/spp.h:154: error: parse error before 'Output'
../../shlr/spp/spp.h:155: error: parse error before 'Output'
../../shlr/spp/spp.h:156: error: parse error before 'Output'
../../shlr/spp/spp.h:161: error: parse error before '*' token
../../shlr/spp/spp.h:161: warning: type defaults to 'int' in declaration of 'spp_new'
../../shlr/spp/spp.h:161: warning: data definition has no type or storage class
../../shlr/spp/spp.h:162: error: parse error before '*' token
../../shlr/spp/spp.h:163: error: parse error before '*' token
In file included from ../../shlr/spp/spp.c:4:
../../shlr/spp/r_api.h:30: error: parse error before '*' token
In file included from ../../shlr/spp/spp.c:5:
../../shlr/spp/config.h:5:14: error: #if with no expression
In file included from ../../shlr/spp/config.h:19,
                 from ../../shlr/spp/spp.c:5:
../../shlr/spp/p/spp.h: In function 'spp_var_get':
../../shlr/spp/p/spp.h:29: warning: implicit declaration of function 'r_sys_getenv'
../../shlr/spp/p/spp.h:29: warning: return makes pointer from integer without a cast
../../shlr/spp/p/spp.h: In function 'spp_var_set':
../../shlr/spp/p/spp.h:33: warning: implicit declaration of function 'r_sys_setenv'
../../shlr/spp/p/spp.h: At top level:
../../shlr/spp/p/spp.h:69: error: parse error before 'Output'
../../shlr/spp/p/spp.h: In function 'spp_set':
../../shlr/spp/p/spp.h:71: error: 'state' undeclared (first use in this function)
../../shlr/spp/p/spp.h:71: error: (Each undeclared identifier is reported only once
../../shlr/spp/p/spp.h:71: error: for each function it appears in.)
../../shlr/spp/p/spp.h:74: error: 'buf' undeclared (first use in this function)
../../shlr/spp/p/spp.h: At top level:
../../shlr/spp/p/spp.h:93: error: parse error before 'Output'
../../shlr/spp/p/spp.h: In function 'spp_get':
../../shlr/spp/p/spp.h:95: error: 'state' undeclared (first use in this function)
../../shlr/spp/p/spp.h:98: error: 'buf' undeclared (first use in this function)
../../shlr/spp/p/spp.h:100: error: 'out' undeclared (first use in this function)
../../shlr/spp/p/spp.h: At top level:
../../shlr/spp/p/spp.h:105: error: parse error before 'Output'
../../shlr/spp/p/spp.h: In function 'spp_getrandom':
../../shlr/spp/p/spp.h:107: error: 'state' undeclared (first use in this function)
../../shlr/spp/p/spp.h:114: warning: implicit declaration of function 'r_sys_getpid'
../../shlr/spp/p/spp.h:116: error: 'buf' undeclared (first use in this function)
../../shlr/spp/p/spp.h:120: error: 'out' undeclared (first use in this function)
../../shlr/spp/p/spp.h: At top level:
../../shlr/spp/p/spp.h:124: error: parse error before 'Output'
../../shlr/spp/p/spp.h: In function 'spp_add':
../../shlr/spp/p/spp.h:126: error: 'buf' undeclared (first use in this function)
../../shlr/spp/p/spp.h:128: error: 'state' undeclared (first use in this function)
../../shlr/spp/p/spp.h: At top level:
../../shlr/spp/p/spp.h:146: error: parse error before 'Output'
../../shlr/spp/p/spp.h: In function 'spp_sub':
../../shlr/spp/p/spp.h:147: error: 'buf' undeclared (first use in this function)
../../shlr/spp/p/spp.h:150: error: 'state' undeclared (first use in this function)
../../shlr/spp/p/spp.h: At top level:
../../shlr/spp/p/spp.h:165: error: parse error before 'Output'
../../shlr/spp/p/spp.h: In function 'spp_trace':
../../shlr/spp/p/spp.h:166: error: 'state' undeclared (first use in this function)
../../shlr/spp/p/spp.h:167: error: 'buf' undeclared (first use in this function)
../../shlr/spp/p/spp.h: At top level:
../../shlr/spp/p/spp.h:173: error: parse error before 'Output'
../../shlr/spp/p/spp.h: In function 'spp_echo':
../../shlr/spp/p/spp.h:174: error: 'state' undeclared (first use in this function)
../../shlr/spp/p/spp.h:175: error: 'out' undeclared (first use in this function)
../../shlr/spp/p/spp.h:175: error: 'buf' undeclared (first use in this function)
../../shlr/spp/p/spp.h: At top level:
../../shlr/spp/p/spp.h:181: error: parse error before 'Output'
../../shlr/spp/p/spp.h: In function 'spp_error':
../../shlr/spp/p/spp.h:182: error: 'state' undeclared (first use in this function)
../../shlr/spp/p/spp.h:185: error: 'buf' undeclared (first use in this function)
../../shlr/spp/p/spp.h: At top level:
../../shlr/spp/p/spp.h:189: error: parse error before 'Output'
../../shlr/spp/p/spp.h: In function 'spp_warning':
../../shlr/spp/p/spp.h:190: error: 'state' undeclared (first use in this function)
../../shlr/spp/p/spp.h:193: error: 'buf' undeclared (first use in this function)
../../shlr/spp/p/spp.h: At top level:
../../shlr/spp/p/spp.h:197: error: parse error before 'Output'
../../shlr/spp/p/spp.h: In function 'spp_system':
../../shlr/spp/p/spp.h:198: error: 'state' undeclared (first use in this function)
../../shlr/spp/p/spp.h: At top level:
../../shlr/spp/p/spp.h:209: error: parse error before 'Output'
../../shlr/spp/p/spp.h: In function 'spp_include':
../../shlr/spp/p/spp.h:211: error: 'state' undeclared (first use in this function)
../../shlr/spp/p/spp.h:217: error: 'buf' undeclared (first use in this function)
../../shlr/spp/p/spp.h:222: error: 'out' undeclared (first use in this function)
../../shlr/spp/p/spp.h: At top level:
../../shlr/spp/p/spp.h:231: error: parse error before 'Output'
../../shlr/spp/p/spp.h: In function 'spp_if':
../../shlr/spp/p/spp.h:232: error: 'buf' undeclared (first use in this function)
../../shlr/spp/p/spp.h:233: error: 'state' undeclared (first use in this function)
../../shlr/spp/p/spp.h: At top level:
../../shlr/spp/p/spp.h:238: error: parse error before 'Output'
../../shlr/spp/p/spp.h: In function 'spp_ifeq':
../../shlr/spp/p/spp.h:239: error: 'buf' undeclared (first use in this function)
../../shlr/spp/p/spp.h:245: error: 'state' undeclared (first use in this function)
../../shlr/spp/p/spp.h: At top level:
../../shlr/spp/p/spp.h:258: error: parse error before 'Output'
../../shlr/spp/p/spp.h: In function 'spp_hex':
../../shlr/spp/p/spp.h:260: error: 'buf' undeclared (first use in this function)
../../shlr/spp/p/spp.h:267: error: 'out' undeclared (first use in this function)
../../shlr/spp/p/spp.h: At top level:
../../shlr/spp/p/spp.h:275: error: parse error before 'Output'
../../shlr/spp/p/spp.h: In function 'spp_grepline':
../../shlr/spp/p/spp.h:281: error: 'state' undeclared (first use in this function)
../../shlr/spp/p/spp.h:282: error: 'buf' undeclared (first use in this function)
../../shlr/spp/p/spp.h:294: error: 'out' undeclared (first use in this function)
../../shlr/spp/p/spp.h: At top level:
../../shlr/spp/p/spp.h:302: error: parse error before 'Output'
../../shlr/spp/p/spp.h: In function 'spp_else':
../../shlr/spp/p/spp.h:303: error: 'state' undeclared (first use in this function)
../../shlr/spp/p/spp.h: At top level:
../../shlr/spp/p/spp.h:307: error: parse error before 'Output'
../../shlr/spp/p/spp.h: In function 'spp_ifnot':
../../shlr/spp/p/spp.h:308: error: 'state' undeclared (first use in this function)
../../shlr/spp/p/spp.h:308: error: 'out' undeclared (first use in this function)
../../shlr/spp/p/spp.h:308: error: 'buf' undeclared (first use in this function)
../../shlr/spp/p/spp.h: At top level:
../../shlr/spp/p/spp.h:313: error: parse error before 'Output'
../../shlr/spp/p/spp.h: In function 'spp_ifin':
../../shlr/spp/p/spp.h:315: error: 'state' undeclared (first use in this function)
../../shlr/spp/p/spp.h:318: error: 'buf' undeclared (first use in this function)
../../shlr/spp/p/spp.h: At top level:
../../shlr/spp/p/spp.h:330: error: parse error before 'Output'
../../shlr/spp/p/spp.h:334: error: parse error before 'Output'
../../shlr/spp/p/spp.h: In function 'spp_default':
../../shlr/spp/p/spp.h:335: error: 'state' undeclared (first use in this function)
../../shlr/spp/p/spp.h:338: error: 'buf' undeclared (first use in this function)
../../shlr/spp/p/spp.h: At top level:
../../shlr/spp/p/spp.h:348: error: parse error before 'Output'
../../shlr/spp/p/spp.h:357: error: parse error before 'Output'
../../shlr/spp/p/spp.h: In function 'spp_switch':
../../shlr/spp/p/spp.h:358: error: 'buf' undeclared (first use in this function)
../../shlr/spp/p/spp.h: At top level:
../../shlr/spp/p/spp.h:367: error: parse error before 'Output'
../../shlr/spp/p/spp.h: In function 'spp_case':
../../shlr/spp/p/spp.h:368: error: 'state' undeclared (first use in this function)
../../shlr/spp/p/spp.h:368: error: 'buf' undeclared (first use in this function)
../../shlr/spp/p/spp.h: At top level:
../../shlr/spp/p/spp.h:372: error: parse error before 'Output'
../../shlr/spp/p/spp.h:378: error: parse error before 'Output'
../../shlr/spp/p/spp.h:409: error: parse error before '*' token
../../shlr/spp/p/spp.h: In function 'spp_fputs':
../../shlr/spp/p/spp.h:416: error: 'out' undeclared (first use in this function)
../../shlr/spp/p/spp.h:416: error: 'buf' undeclared (first use in this function)
In file included from ../../shlr/spp/config.h:20,
                 from ../../shlr/spp/spp.c:5:
../../shlr/spp/p/acr.h: At top level:
../../shlr/spp/p/acr.h:16: error: parse error before 'Output'
../../shlr/spp/p/acr.h: In function 'acr_default':
../../shlr/spp/p/acr.h:18: error: 'buf' undeclared (first use in this function)
../../shlr/spp/p/acr.h: At top level:
../../shlr/spp/p/acr.h:29: error: parse error before 'Output'
In file included from ../../shlr/spp/config.h:21,
                 from ../../shlr/spp/spp.c:5:
../../shlr/spp/p/pod.h:3: error: parse error before 'Output'
../../shlr/spp/p/pod.h: In function 'pod_default':
../../shlr/spp/p/pod.h:4: error: 'out' undeclared (first use in this function)
../../shlr/spp/p/pod.h:4: error: 'buf' undeclared (first use in this function)
../../shlr/spp/p/pod.h: At top level:
../../shlr/spp/p/pod.h:8: error: parse error before 'Output'
../../shlr/spp/p/pod.h: In function 'pod_cut':
../../shlr/spp/p/pod.h:9: error: 'out' undeclared (first use in this function)
../../shlr/spp/p/pod.h:10: error: 'state' undeclared (first use in this function)
../../shlr/spp/p/pod.h: At top level:
../../shlr/spp/p/pod.h:14: error: parse error before 'Output'
../../shlr/spp/p/pod.h: In function 'pod_head1':
../../shlr/spp/p/pod.h:15: error: 'state' undeclared (first use in this function)
../../shlr/spp/p/pod.h:16: error: 'out' undeclared (first use in this function)
../../shlr/spp/p/pod.h:17: error: 'buf' undeclared (first use in this function)
In file included from ../../shlr/spp/config.h:22,
                 from ../../shlr/spp/spp.c:5:
../../shlr/spp/p/cpp.h: At top level:
../../shlr/spp/p/cpp.h:3: error: parse error before 'Output'
../../shlr/spp/p/cpp.h: In function 'cpp_default':
../../shlr/spp/p/cpp.h:4: error: 'out' undeclared (first use in this function)
../../shlr/spp/p/cpp.h:4: error: 'buf' undeclared (first use in this function)
../../shlr/spp/p/cpp.h: At top level:
../../shlr/spp/p/cpp.h:8: error: parse error before 'Output'
../../shlr/spp/p/cpp.h: In function 'cpp_error':
../../shlr/spp/p/cpp.h:9: error: 'out' undeclared (first use in this function)
../../shlr/spp/p/cpp.h:10: error: 'state' undeclared (first use in this function)
../../shlr/spp/p/cpp.h:10: error: 'buf' undeclared (first use in this function)
../../shlr/spp/p/cpp.h: At top level:
../../shlr/spp/p/cpp.h:17: error: parse error before 'Output'
../../shlr/spp/p/cpp.h: In function 'cpp_warning':
../../shlr/spp/p/cpp.h:18: error: 'out' undeclared (first use in this function)
../../shlr/spp/p/cpp.h:19: error: 'state' undeclared (first use in this function)
../../shlr/spp/p/cpp.h:19: error: 'buf' undeclared (first use in this function)
../../shlr/spp/p/cpp.h: At top level:
../../shlr/spp/p/cpp.h:25: error: parse error before 'Output'
../../shlr/spp/p/cpp.h: In function 'cpp_if':
../../shlr/spp/p/cpp.h:26: error: 'buf' undeclared (first use in this function)
../../shlr/spp/p/cpp.h:28: error: 'state' undeclared (first use in this function)
../../shlr/spp/p/cpp.h: At top level:
../../shlr/spp/p/cpp.h:38: error: parse error before 'Output'
../../shlr/spp/p/cpp.h: In function 'cpp_ifdef':
../../shlr/spp/p/cpp.h:39: error: 'buf' undeclared (first use in this function)
../../shlr/spp/p/cpp.h:40: error: 'state' undeclared (first use in this function)
../../shlr/spp/p/cpp.h: At top level:
../../shlr/spp/p/cpp.h:44: error: parse error before 'Output'
../../shlr/spp/p/cpp.h: In function 'cpp_else':
../../shlr/spp/p/cpp.h:45: error: 'state' undeclared (first use in this function)
../../shlr/spp/p/cpp.h: At top level:
../../shlr/spp/p/cpp.h:49: error: parse error before 'Output'
../../shlr/spp/p/cpp.h: In function 'cpp_ifndef':
../../shlr/spp/p/cpp.h:50: error: 'state' undeclared (first use in this function)
../../shlr/spp/p/cpp.h:50: error: 'out' undeclared (first use in this function)
../../shlr/spp/p/cpp.h:50: error: 'buf' undeclared (first use in this function)
../../shlr/spp/p/cpp.h: At top level:
../../shlr/spp/p/cpp.h:75: error: parse error before '*' token
../../shlr/spp/p/cpp.h: In function 'cpp_fputs':
../../shlr/spp/p/cpp.h:78: error: 'buf' undeclared (first use in this function)
../../shlr/spp/p/cpp.h:83: error: 'out' undeclared (first use in this function)
../../shlr/spp/p/cpp.h: At top level:
../../shlr/spp/p/cpp.h:87: error: parse error before 'Output'
../../shlr/spp/p/cpp.h: In function 'cpp_define':
../../shlr/spp/p/cpp.h:88: error: 'buf' undeclared (first use in this function)
../../shlr/spp/p/cpp.h: At top level:
../../shlr/spp/p/cpp.h:113: error: parse error before 'Output'
../../shlr/spp/p/cpp.h:117: error: parse error before 'Output'
../../shlr/spp/p/cpp.h: In function 'cpp_include':
../../shlr/spp/p/cpp.h:118: error: 'state' undeclared (first use in this function)
../../shlr/spp/p/cpp.h:119: error: 'buf' undeclared (first use in this function)
../../shlr/spp/p/cpp.h:119: error: 'out' undeclared (first use in this function)
../../shlr/spp/spp.c: At top level:
../../shlr/spp/spp.c:11: error: parse error before 'Output'
../../shlr/spp/spp.c: In function 'spp_run':
../../shlr/spp/spp.c:16: error: 'buf' undeclared (first use in this function)
../../shlr/spp/spp.c:39: error: 'out' undeclared (first use in this function)
../../shlr/spp/spp.c: In function 'spp_run_str':
../../shlr/spp/spp.c:61: error: parse error before 'tmp'
../../shlr/spp/spp.c:62: error: 'tmp' undeclared (first use in this function)
../../shlr/spp/spp.c:63: warning: implicit declaration of function 'r_strbuf_new'
../../shlr/spp/spp.c:65: warning: implicit declaration of function 'r_strbuf_get'
../../shlr/spp/spp.c:65: warning: passing argument 1 of 'strdup' makes pointer from integer without a cast
../../shlr/spp/spp.c:66: warning: implicit declaration of function 'r_strbuf_free'
../../shlr/spp/spp.c: At top level:
../../shlr/spp/spp.c:88: error: parse error before '*' token
../../shlr/spp/spp.c: In function 'do_fputs':
../../shlr/spp/spp.c:96: error: 'str' undeclared (first use in this function)
../../shlr/spp/spp.c:100: error: 'out' undeclared (first use in this function)
../../shlr/spp/spp.c: At top level:
../../shlr/spp/spp.c:109: error: parse error before 'Output'
../../shlr/spp/spp.c: In function 'spp_eval':
../../shlr/spp/spp.c:110: error: 'buf' undeclared (first use in this function)
../../shlr/spp/spp.c:110: error: 'out' undeclared (first use in this function)
../../shlr/spp/spp.c: At top level:
../../shlr/spp/spp.c:113: error: parse error before 'Output'
../../shlr/spp/spp.c: In function 'spp_proc_eval':
../../shlr/spp/spp.c:122: error: 'buf' undeclared (first use in this function)
../../shlr/spp/spp.c:131: error: 'out' undeclared (first use in this function)
../../shlr/spp/spp.c: At top level:
../../shlr/spp/spp.c:232: error: parse error before 'Output'
../../shlr/spp/spp.c: In function 'spp_io':
../../shlr/spp/spp.c:244: error: 'in' undeclared (first use in this function)
../../shlr/spp/spp.c:274: error: 'out' undeclared (first use in this function)
../../shlr/spp/spp.c: At top level:
../../shlr/spp/spp.c:280: error: parse error before 'Output'
../../shlr/spp/spp.c: In function 'spp_file':
../../shlr/spp/spp.c:281: error: 'file' undeclared (first use in this function)
../../shlr/spp/spp.c:284: error: 'out' undeclared (first use in this function)
../../shlr/spp/spp.c: At top level:
../../shlr/spp/spp.c:337: error: parse error before '*' token
../../shlr/spp/spp.c: In function 'out_printf':
../../shlr/spp/spp.c:339: error: 'str' undeclared (first use in this function)
../../shlr/spp/spp.c:340: error: 'out' undeclared (first use in this function)
../../shlr/spp/spp.c:346: warning: implicit declaration of function 'r_strbuf_append'
../../shlr/spp/spp.c:339: error: 'va_start' used in function with fixed args
../../shlr/spp/spp.c: In function 'spp_eval_str':
../../shlr/spp/spp.c:364: error: parse error before 'out'
../../shlr/spp/spp.c:365: error: 'out' undeclared (first use in this function)
../../shlr/spp/spp.c:367: warning: implicit declaration of function 'r_strbuf_init'
../../shlr/spp/spp.c:373: warning: implicit declaration of function 'r_strbuf_drain'
../../shlr/spp/spp.c:373: warning: return makes pointer from integer without a cast
make[2]: *** [../../shlr/spp/spp.o] Error 1
make[1]: *** [spp_config] Error 2
make: *** [all] Error 2
@trufae
Copy link
Collaborator

trufae commented Feb 8, 2024

that error is weird: make[2]: /count.sh: Command not found and then i see ../../shlr/spp/spp.h:83:20: error: r_util.h: No such file or directory thats very weird. i cant repro in my macppc it seems like there's something wrong or missing vars in the makefiles in your side.. weird

@trufae
Copy link
Collaborator

trufae commented Mar 30, 2024

after lots of smol fixes i end up spotting all the problems and managed to create a branch that builds for me. Can you give it a try? i cant merge it because its introducing lots of warnings, but i didnt find a way to make r_vec compile for gcc4 without those:

#22774

you can do this:

git checkout gcc4-fixes
sys/install.sh --disable-debugger

the debugger was building and working at some point, but it's not the case right now. That could be the next step to be done when i get this PR merged without warnings.

@thamugadi
Copy link
Author

thamugadi commented Mar 30, 2024

hi,
I tried what you suggested, but I'm still getting the same errors as previously quoted

@trufae
Copy link
Collaborator

trufae commented Mar 30, 2024

Thats weird, i cant see the errors you posted. But i plan to continue working on this because the large pr is not yet merged and there are more things to refine

@sevan
Copy link
Contributor

sevan commented Apr 2, 2024

I got v5.9.0 built on Tiger/PowerPC using GCC 5. There's some C11-isms (redefinitions) which have crept into the radare codebase that I sidestepped by using GCC 5 rather than 4.0. This is the draft formula with my patches (see after the END statement) that can be used until I have upstreamed everything to radare repo.

@barracuda156
Copy link

@thamugadi This is because it arbitrarily pick cc for compiler in a middle of the build, ignoring env setting. Notice, what happens once it goes into arm64 directory:

/opt/local/bin/gcc-mp-13 -c -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_radare2/radare2/work/radare2-5.9.2/libr -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_radare2/radare2/work/radare2-5.9.2/libr/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_radare2/radare2/work/radare2-5.9.2/libr/../shlr/grub/include -DR2_PLUGIN_INCORE -Iarch/include -Iarch  -pipe -Os -arch ppc -MD -fno-common   -fPIC -Wall -g -DR2__UNIX__=1 -Igrub/include -Igrub/include -Igrub/include -Igrub/include -Igrub/include -Igrub/include -Igrub/include -Igrub/include -Igrub/include -Igrub/include -Igrub/include -Igrub/include -Igrub/include -Igrub/include -Igrub/include -I../../shlr/zip/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_radare2/radare2/work/radare2-5.9.2/libr/../shlr/sdb/include -fvisibility=hidden -o fs.o fs.c
/opt/local/bin/gcc-mp-13 -c -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_radare2/radare2/work/radare2-5.9.2/libr -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_radare2/radare2/work/radare2-5.9.2/libr/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_radare2/radare2/work/radare2-5.9.2/libr/../shlr/grub/include -DR2_PLUGIN_INCORE -Iarch/include -Iarch  -pipe -Os -arch ppc -MD -fno-common   -fPIC -Wall -g -DR2__UNIX__=1 -Igrub/include -Igrub/include -Igrub/include -Igrub/include -Igrub/include -Igrub/include -Igrub/include -Igrub/include -Igrub/include -Igrub/include -Igrub/include -Igrub/include -Igrub/include -Igrub/include -Igrub/include -I../../shlr/zip/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_radare2/radare2/work/radare2-5.9.2/libr/../shlr/sdb/include -fvisibility=hidden -o fs_file.o fs_file.c
/opt/local/bin/gcc-mp-13 -c -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_radare2/radare2/work/radare2-5.9.2/libr -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_radare2/radare2/work/radare2-5.9.2/libr/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_radare2/radare2/work/radare2-5.9.2/libr/../shlr/grub/include -DR2_PLUGIN_INCORE -Iarch/include -Iarch  -pipe -Os -arch ppc -MD -fno-common   -fPIC -Wall -g -DR2__UNIX__=1 -Igrub/include -Igrub/include -Igrub/include -Igrub/include -Igrub/include -Igrub/include -Igrub/include -Igrub/include -Igrub/include -Igrub/include -Igrub/include -Igrub/include -Igrub/include -Igrub/include -Igrub/include -I../../shlr/zip/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_radare2/radare2/work/radare2-5.9.2/libr/../shlr/sdb/include -fvisibility=hidden -o fs_shell.o fs_shell.c
make[5]: Leaving directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_radare2/radare2/work/radare2-5.9.2/libr/fs'
"/opt/local/bin/gcc-mp-13 -dynamiclib -fPIC -o libr_fs.dylib -Wl,-install_name,/opt/local/lib/libr_fs.dylib p/fs_ext2.o p/fs_fat.o p/fs_fb.o p/fs_hfs.o p/fs_hfsplus.o p/fs_io.o p/fs_iso9660.o p/fs_jfs.o p/fs_minix.o p/fs_ntfs.o p/fs_posix.o p/fs_r2.o p/fs_reiserfs.o p/fs_sfs.o p/fs_tar.o p/fs_udf.o p/fs_ufs.o p/fs_xfs.o p/fs_zip.o fs.o fs_file.o fs_shell.o  -L/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_radare2/radare2/work/radare2-5.9.2/libr/util -L/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_radare2/radare2/work/radare2-5.9.2/libr/io -L/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_radare2/radare2/work/radare2-5.9.2/libr/socket -L/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_radare2/radare2/work/radare2-5.9.2/libr/cons -L/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_radare2/radare2/work/radare2-5.9.2/libr/crypto -lr_util -lr_io -lr_socket -lr_cons -lr_crypto   -fPIC -fvisibility=hidden   -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_radare2/radare2/work/radare2-5.9.2/libr/../shlr/grub/libgrubfs.a -lzip -fvisibility=hidden"
make[4]: Leaving directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_radare2/radare2/work/radare2-5.9.2/libr/fs'
make[4]: Entering directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_radare2/radare2/work/radare2-5.9.2/libr/fs'
make[4]: `libr_fs.a' is up to date.
make[4]: Leaving directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_radare2/radare2/work/radare2-5.9.2/libr/fs'
make[3]: Leaving directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_radare2/radare2/work/radare2-5.9.2/libr/fs'
cd arch-arm64 && git checkout -q radare2-wip > /dev/null && git reset --hard 55d73c6bbb94448a5c615933179e73ac618cf876
HEAD is now at 55d73c6 Remove c99 dependency
/usr/bin/make arm64dis.a
make[5]: Entering directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_radare2/radare2/work/radare2-5.9.2/libr/arch/p/arm/v35'
cc -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_radare2/radare2/work/radare2-5.9.2/libr/arch/p/arm/v35/arch-arm64/disassembler/ -fPIC -DUNUSED=R_UNUSED -fPIC   -c -o arch-arm64/disassembler/decode.o arch-arm64/disassembler/decode.c
cc -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_radare2/radare2/work/radare2-5.9.2/libr/arch/p/arm/v35/arch-arm64/disassembler/ -fPIC -DUNUSED=R_UNUSED -fPIC   -c -o arch-arm64/disassembler/decode0.o arch-arm64/disassembler/decode0.c
cc -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_radare2/radare2/work/radare2-5.9.2/libr/arch/p/arm/v35/arch-arm64/disassembler/ -fPIC -DUNUSED=R_UNUSED -fPIC   -c -o arch-arm64/disassembler/decode1.o arch-arm64/disassembler/decode1.c
cc -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_radare2/radare2/work/radare2-5.9.2/libr/arch/p/arm/v35/arch-arm64/disassembler/ -fPIC -DUNUSED=R_UNUSED -fPIC   -c -o arch-arm64/disassembler/decode2.o arch-arm64/disassembler/decode2.c
cc -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_radare2/radare2/work/radare2-5.9.2/libr/arch/p/arm/v35/arch-arm64/disassembler/ -fPIC -DUNUSED=R_UNUSED -fPIC   -c -o arch-arm64/disassembler/decode_fields32.o arch-arm64/disassembler/decode_fields32.c
cc -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_radare2/radare2/work/radare2-5.9.2/libr/arch/p/arm/v35/arch-arm64/disassembler/ -fPIC -DUNUSED=R_UNUSED -fPIC   -c -o arch-arm64/disassembler/decode_scratchpad.o arch-arm64/disassembler/decode_scratchpad.c
arch-arm64/disassembler/decode.c: In function ‘aarch64_decompose’:
arch-arm64/disassembler/decode.c:13: warning: integer constant is too large for ‘long’ type
arch-arm64/disassembler/decode.c:14: warning: integer constant is too large for ‘long’ type
arch-arm64/disassembler/decode_scratchpad.c:365:7: error: invalid suffix "b00000" on integer constant
arch-arm64/disassembler/decode_scratchpad.c:367:7: error: invalid suffix "b00001" on integer constant
arch-arm64/disassembler/decode_scratchpad.c:369:7: error: invalid suffix "b00010" on integer constant
arch-arm64/disassembler/decode_scratchpad.c:371:7: error: invalid suffix "b00011" on integer constant
arch-arm64/disassembler/decode_scratchpad.c:373:7: error: invalid suffix "b00100" on integer constant
arch-arm64/disassembler/decode_scratchpad.c:375:7: error: invalid suffix "b00101" on integer constant
arch-arm64/disassembler/decode_scratchpad.c:377:7: error: invalid suffix "b00110" on integer constant
arch-arm64/disassembler/decode_scratchpad.c:379:7: error: invalid suffix "b00111" on integer constant
arch-arm64/disassembler/decode_scratchpad.c:381:7: error: invalid suffix "b01000" on integer constant
arch-arm64/disassembler/decode_scratchpad.c:383:7: error: invalid suffix "b01001" on integer constant
arch-arm64/disassembler/decode_scratchpad.c:385:7: error: invalid suffix "b01010" on integer constant

@barracuda156
Copy link

I have opened an issue for a compiler choice bug: #22955

@barracuda156
Copy link

On a side note, this looks wrong:

checking build system type... PowerMacintosh-unknown-darwin
checking host system type... PowerMacintosh-unknown-darwin
checking target system type... PowerMacintosh-unknown-darwin

It should be powerpc-apple-darwin instead, or powerpc64-apple-darwin for ppc64. This is likely #22956

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants