=> Building devel/elfsh build started at Wed Oct 5 12:18:55 PDT 2016 port directory: /usr/ports/devel/elfsh building for: DragonFly pkgbox64.dragonflybsd.org 4.7-DEVELOPMENT DragonFly v4.7.0.78.g7d868-DEVELOPMENT #7: Mon Aug 1 22:25:32 PDT 2016 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 maintained by: ports@FreeBSD.org ident warning: no id keywords in /build/boomdata/data/.m/bleeding-edge-default/ref/../06//usr/ports/devel/elfsh/Makefile Makefile ident: Poudriere version: 3.1-pre Host OSVERSION: 400700 Jail OSVERSION: 400702 !!! Jail is newer than host. (Jail: 400702, Host: 400700) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- STATUS=1 SAVED_TERM=screen MASTERMNT=/build/boomdata/data/.m/bleeding-edge-default/ref PATH=/usr/local/libexec/poudriere:/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/pkg/xorg/bin:/usr/X11R6/bin:/root/bin:/sbin:/usr/sbin POUDRIERE_BUILD_TYPE=bulk PKGNAME=elfsh-0.51b3_3 OLDPWD=/root/boom PWD=/build/boomdata/data/.m/bleeding-edge-default/ref/.p/pool MASTERNAME=bleeding-edge-default TERM=cons25 USER=root HOME=/root POUDRIERE_VERSION=3.1-pre LOCALBASE=/usr/local PACKAGE_BUILDING=yes ---End Environment--- ---Begin OPTIONS List--- ---End OPTIONS List--- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=gmake XDG_DATA_HOME=/wrkdirs/devel/elfsh XDG_CONFIG_HOME=/wrkdirs/devel/elfsh HOME=/wrkdirs/devel/elfsh TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/devel/elfsh XDG_CONFIG_HOME=/wrkdirs/devel/elfsh HOME=/wrkdirs/devel/elfsh TMPDIR="/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" NOPROFILE=1 CC="cc" CFLAGS="-pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="-I/usr/local/include" LDFLAGS=" -L/usr/local/lib -Wl,-rpath=/usr/local/lib -L/usr/local/lib" LIBS="" CXX="c++" CXXFLAGS=" -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=4.7 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/elfsh" EXAMPLESDIR="share/examples/elfsh" DATADIR="share/elfsh" WWWDIR="www/elfsh" ETCDIR="etc/elfsh" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/elfsh DOCSDIR=/usr/local/share/doc/elfsh EXAMPLESDIR=/usr/local/share/examples/elfsh WWWDIR=/usr/local/www/elfsh ETCDIR=/usr/local/etc/elfsh --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs NO_BACKUP=yes USE_PACKAGE_DEPENDS=yes PKG_CREATE_VERBOSE=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORT_DBDIR=/options PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles MAKE_JOBS_NUMBER=5 ---End make.conf--- =================================================== ===> NOTICE: The elfsh port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port =========================================================================== =================================================== ===> elfsh-0.51b3_3 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.8.7_3.txz Installing pkg-1.8.7_3... Extracting pkg-1.8.7_3: .......... done ===> elfsh-0.51b3_3 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of elfsh-0.51b3_3 =========================================================================== =================================================== =========================================================================== =================================================== ===> NOTICE: The elfsh port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by elfsh-0.51b3_3 for building =========================================================================== =================================================== ===> NOTICE: The elfsh port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by elfsh-0.51b3_3 for building => SHA256 Checksum OK for elfsh-0.51b3-portable.tgz. =========================================================================== =================================================== =========================================================================== =================================================== ===> NOTICE: The elfsh port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by elfsh-0.51b3_3 for building ===> Extracting for elfsh-0.51b3_3 => SHA256 Checksum OK for elfsh-0.51b3-portable.tgz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for elfsh-0.51b3_3 ===> Applying ports patches for elfsh-0.51b3_3 =========================================================================== =================================================== ===> elfsh-0.51b3_3 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.2.1_1.txz Installing gmake-4.2.1_1... `-- Installing indexinfo-0.2.5... `-- Extracting indexinfo-0.2.5: .... done `-- Installing gettext-runtime-0.19.8.1... `-- Extracting gettext-runtime-0.19.8.1: .......... done Extracting gmake-4.2.1_1: .......... done ===> elfsh-0.51b3_3 depends on executable: gmake - found ===> Returning to build of elfsh-0.51b3_3 ===> elfsh-0.51b3_3 depends on file: /usr/local/lib/libncurses.so.6 - not found ===> Installing existing package /packages/All/ncurses-6.0_5.txz Installing ncurses-6.0_5... Extracting ncurses-6.0_5: .......... done Message from ncurses-6.0_5: ===> NOTICE: The ncurses port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> elfsh-0.51b3_3 depends on file: /usr/local/lib/libncurses.so.6 - found ===> Returning to build of elfsh-0.51b3_3 =========================================================================== =================================================== ===> elfsh-0.51b3_3 depends on shared library: libreadline.so.6 - not found ===> Installing existing package /packages/All/readline-6.3.8.txz Installing readline-6.3.8... Extracting readline-6.3.8: .......... done ===> elfsh-0.51b3_3 depends on shared library: libreadline.so.6 - found (/usr/local/lib/libreadline.so.6) ===> Returning to build of elfsh-0.51b3_3 =========================================================================== =================================================== ===> Configuring for elfsh-0.51b3_3 =========================================================================== =================================================== ===> Building for elfsh-0.51b3_3 gmake[1]: Entering directory '/wrkdirs/devel/elfsh/elfsh-0.51b3' Builting libelfsh... gmake[2]: Entering directory '/wrkdirs/devel/elfsh/elfsh-0.51b3/libelfsh' cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o dynamic.o dynamic.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o dynsym.o dynsym.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o elf.o elf.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o fixup.o fixup.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o got.o got.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o hash.o hash.c got.c: In function 'elfsh_get_got_entry_by_name': got.c:109:29: warning: pointer targets in passing argument 2 of 'elfsh_get_got' differ in signedness [-Wpointer-sign] got = elfsh_get_got(file, &nbr); ^ got.c:14:10: note: expected 'int *' but argument is of type 'u_int * {aka unsigned int *}' u_long *elfsh_get_got(elfshobj_t *file, int *num) ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o interp.o interp.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o pht.o pht.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o plt.o plt.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o section.o section.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o sht.o sht.c sht.c: In function 'elfsh_sort_sht': sht.c:81:39: warning: operation on 'actual->prev' may be undefined [-Wsequence-point] actual->prev->next = actual->prev = actual->next; ^ sht.c: In function 'elfsh_get_sht_entry_by_name': sht.c:762:11: warning: variable 'index' set but not used [-Wunused-but-set-variable] u_int index; ^ pht.c: In function 'elfsh_get_object_baseaddr': pht.c:252:27: warning: pointer targets in passing argument 2 of 'elfsh_get_pht' differ in signedness [-Wpointer-sign] if (elfsh_get_pht(file, &nbr) == NULL) ^ In file included from pht.c:7:0: include/libelfsh.h:487:8: note: expected 'int *' but argument is of type 'u_int * {aka unsigned int *}' void *elfsh_get_pht(elfshobj_t *file, int *num); ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o error.o error.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o stab.o stab.c stab.c: In function 'elfsh_get_stab': stab.c:50:12: warning: pointer targets in passing argument 3 of 'elfsh_get_section_by_name' differ in signedness [-Wpointer-sign] &index, &strindex, &nbr); ^ In file included from stab.c:7:0: include/libelfsh.h:552:14: note: expected 'int *' but argument is of type 'u_int * {aka unsigned int *}' elfshsect_t *elfsh_get_section_by_name(elfshobj_t *, char *name, int *, int *, int *); ^ stab.c:50:20: warning: pointer targets in passing argument 4 of 'elfsh_get_section_by_name' differ in signedness [-Wpointer-sign] &index, &strindex, &nbr); ^ In file included from stab.c:7:0: include/libelfsh.h:552:14: note: expected 'int *' but argument is of type 'u_int * {aka unsigned int *}' elfshsect_t *elfsh_get_section_by_name(elfshobj_t *, char *name, int *, int *, int *); ^ stab.c:50:31: warning: pointer targets in passing argument 5 of 'elfsh_get_section_by_name' differ in signedness [-Wpointer-sign] &index, &strindex, &nbr); ^ In file included from stab.c:7:0: include/libelfsh.h:552:14: note: expected 'int *' but argument is of type 'u_int * {aka unsigned int *}' elfshsect_t *elfsh_get_section_by_name(elfshobj_t *, char *name, int *, int *, int *); ^ stab.c: In function 'elfsh_get_stab_offset': stab.c:89:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return ((void *) ((int) (s->value))); ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o symbol.o symbol.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o notes.o notes.c symbol.c: In function 'elfsh_insert_symbol': symbol.c:280:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return (((u_int) orig - (u_int) sect->data) / ELFSH_SYMTAB_ENTRY_SIZE); ^ symbol.c:280:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return (((u_int) orig - (u_int) sect->data) / ELFSH_SYMTAB_ENTRY_SIZE); ^ symbol.c: In function 'elfsh_shift_symtab': symbol.c:363:71: warning: pointer targets in passing argument 6 of 'elfsh_get_section_by_type' differ in signedness [-Wpointer-sign] actual = elfsh_get_section_by_type(file, SHT_SYMTAB, 0, NULL, NULL, &nbr); ^ In file included from symbol.c:7:0: include/libelfsh.h:550:14: note: expected 'int *' but argument is of type 'u_int * {aka unsigned int *}' elfshsect_t *elfsh_get_section_by_type(elfshobj_t *, u_int type, int range, int *, int *, int *); ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o reloc.o reloc.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o blocks.o blocks.c reloc.c: In function 'elfsh_find_rel': reloc.c:307:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] vaddr = sect->shdr->sh_addr + (u_int) str - (u_int) sect->data; ^ reloc.c:307:48: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] vaddr = sect->shdr->sh_addr + (u_int) str - (u_int) sect->data; ^ blocks.c: In function 'elfsh_scan_blocks': blocks.c:17:18: warning: variable 'prev_fct' set but not used [-Wunused-but-set-variable] elfshblock_t *prev_fct; ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o ctors.o ctors.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o dtors.o dtors.c ctors.c: In function 'elfsh_get_ctors_entry_by_name': ctors.c:106:33: warning: pointer targets in passing argument 2 of 'elfsh_get_ctors' differ in signedness [-Wpointer-sign] ctors = elfsh_get_ctors(file, &nbr); ^ ctors.c:12:10: note: expected 'int *' but argument is of type 'u_int * {aka unsigned int *}' u_long *elfsh_get_ctors(elfshobj_t *file, int *num) ^ dtors.c: In function 'elfsh_get_dtors_entry_by_name': dtors.c:98:33: warning: pointer targets in passing argument 2 of 'elfsh_get_dtors' differ in signedness [-Wpointer-sign] dtors = elfsh_get_dtors(file, &nbr); ^ dtors.c:12:10: note: expected 'int *' but argument is of type 'u_int * {aka unsigned int *}' u_long *elfsh_get_dtors(elfshobj_t *file, int *num) ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o raw.o raw.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o map.o map.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o strtab.o strtab.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o sht_rebuild.o sht_rebuild.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o comment.o comment.c sht_rebuild.c: In function 'elfsh_rebuild_sht': sht_rebuild.c:360:28: warning: pointer targets in passing argument 2 of 'elfsh_get_pht' differ in signedness [-Wpointer-sign] if (!elfsh_get_pht(file, &num) || init_sht(file, num) < 0) ^ In file included from sht_rebuild.c:11:0: include/libelfsh.h:487:8: note: expected 'int *' but argument is of type 'u_int * {aka unsigned int *}' void *elfsh_get_pht(elfshobj_t *file, int *num); ^ comment.c: In function 'elfsh_get_comments': comment.c:22:19: warning: pointer targets in passing argument 5 of 'elfsh_get_section_by_name' differ in signedness [-Wpointer-sign] NULL, NULL, &size); ^ In file included from comment.c:10:0: include/libelfsh.h:552:14: note: expected 'int *' but argument is of type 'u_int * {aka unsigned int *}' elfshsect_t *elfsh_get_section_by_name(elfshobj_t *, char *name, int *, int *, int *); ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o sym_common.o sym_common.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o hijack.o hijack.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o obj.o obj.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o pax.o pax.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o save.o save.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o copy.o copy.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o strip.o strip.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o remap.o remap.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o relinject.o relinject.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o sanitize.o sanitize.c relinject.c: In function 'elfsh_relocate_etrel_section': relinject.c:316:42: warning: pointer targets in passing argument 3 of 'elfsh_relocate_entry' differ in signedness [-Wpointer-sign] if (elfsh_relocate_entry(new, cur, dword, addr) < 0) ^ relinject.c:190:17: note: expected 'u_long * {aka long unsigned int *}' but argument is of type 'long int *' static int elfsh_relocate_entry(elfshsect_t *new, ^ relinject.c: In function 'elfsh_inject_etrel_section': relinject.c:331:9: warning: variable 'writable' set but not used [-Wunused-but-set-variable] char writable; ^ relinject.c: In function 'elfsh_inject_etrel': relinject.c:433:31: warning: pointer targets in passing argument 2 of 'elfsh_get_symtab' differ in signedness [-Wpointer-sign] sym = elfsh_get_symtab(rel, &symnbr); ^ In file included from relinject.c:9:0: include/libelfsh.h:332:8: note: expected 'int *' but argument is of type 'u_int * {aka unsigned int *}' void *elfsh_get_symtab(elfshobj_t *file, int *num); ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o debug.o debug.c debug.c: In function 'elfsh_print_sectlist': debug.c:35:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (u_int) actual->prev, ^ debug.c:36:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (u_int) actual, ^ debug.c:37:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (u_int) actual->next, ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o bss.o bss.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o sort.o sort.c bss.c: In function 'elfsh_find_bsslen': bss.c:210:34: warning: pointer targets in passing argument 2 of 'elfsh_get_symtab' differ in signedness [-Wpointer-sign] symtab = elfsh_get_symtab(rel, &size); ^ In file included from bss.c:7:0: include/libelfsh.h:332:8: note: expected 'int *' but argument is of type 'u_int * {aka unsigned int *}' void *elfsh_get_symtab(elfshobj_t *file, int *num); ^ gmake[2]: Leaving directory '/wrkdirs/devel/elfsh/elfsh-0.51b3/libelfsh' Libelfsh has been built successfully. Builting libhashelfsh... gmake[2]: Entering directory '/wrkdirs/devel/elfsh/elfsh-0.51b3/libhash' gmake[2]: Leaving directory '/wrkdirs/devel/elfsh/elfsh-0.51b3/libhash' Libhash has been built successfully. Builting ELFsh... gmake[2]: Entering directory '/wrkdirs/devel/elfsh/elfsh-0.51b3/vm' cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o grammar.o grammar.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o disasm.o disasm.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o dyn.o dyn.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o hdr.o hdr.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o main.o main.c disasm.c: In function 'display_object': disasm.c:170:31: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] snprintf(buf, sizeof(buf), " %08X [foff: %u] \t %s[%0*u] = %08X", ^ disasm.c:170:31: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] disasm.c:170:31: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] disasm.c:170:31: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] disasm.c:180:48: warning: pointer targets in passing argument 3 of 'elfsh_get_parent_section' differ in signedness [-Wpointer-sign] sect = elfsh_get_parent_section(file, loff, &sct_index); ^ In file included from include/elfsh.h:23:0, from disasm.c:7: ../libelfsh/include/libelfsh.h:553:14: note: expected 'int *' but argument is of type 'u_int * {aka unsigned int *}' elfshsect_t *elfsh_get_parent_section(elfshobj_t *file, u_int addr, int *offset); ^ disasm.c:188:45: warning: pointer targets in passing argument 3 of 'elfsh_reverse_symbol' differ in signedness [-Wpointer-sign] s = elfsh_reverse_symbol(file, loff, &idx_bytes); ^ In file included from include/elfsh.h:23:0, from disasm.c:7: ../libelfsh/include/libelfsh.h:330:8: note: expected 'int *' but argument is of type 'u_int * {aka unsigned int *}' char *elfsh_reverse_symbol(elfshobj_t *file, u_int sym_value, int *offset); ^ disasm.c:190:43: warning: pointer targets in passing argument 3 of 'elfsh_reverse_dynsymbol' differ in signedness [-Wpointer-sign] s = elfsh_reverse_dynsymbol(file, loff, &idx_bytes); ^ In file included from include/elfsh.h:23:0, from disasm.c:7: ../libelfsh/include/libelfsh.h:343:8: note: expected 'int *' but argument is of type 'u_int * {aka unsigned int *}' char *elfsh_reverse_dynsymbol(elfshobj_t *file, u_int sym_value, int *offset); ^ grammar.c: In function 'lookup_immed': grammar.c:21:10: warning: variable 'isptr' set but not used [-Wunused-but-set-variable] char isptr; ^ hdr.c: In function 'cmd_elf': hdr.c:74:64: warning: pointer targets in passing argument 3 of 'elfsh_reverse_metasym' differ in signedness [-Wpointer-sign] name = elfsh_reverse_metasym(world.current, header->e_entry, &offset); ^ In file included from include/elfsh.h:23:0, from hdr.c:7: ../libelfsh/include/libelfsh.h:368:8: note: expected 'int *' but argument is of type 'u_int * {aka unsigned int *}' char *elfsh_reverse_metasym(elfshobj_t *file, u_int vaddr, int *off); ^ hdr.c:115:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] header->e_ehsize, (void *) header->e_entry, ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o got.o got.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o interp.o interp.c got.c: In function 'cmd_got': got.c:48:36: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] snprintf(buff, sizeof(buff), " [%08X:%5u] 0x%08X \t <%s%s>", ^ got.c:48:36: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o notes.o notes.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o pht.o pht.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o rel.o rel.c rel.c: In function 'cmd_rel': rel.c:110:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void *) elfsh_get_reloffset(rel), ^ rel.c:117:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void *) elfsh_get_reloffset(rel), ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o sht.o sht.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o stab.o stab.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o sym.o sym.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o quit.o quit.c sht.c: In function 'cmd_sht': sht.c:25:40: warning: pointer targets in passing argument 2 of 'elfsh_get_sht' differ in signedness [-Wpointer-sign] shdr = elfsh_get_sht(world.current, &num); ^ In file included from include/elfsh.h:23:0, from sht.c:7: ../libelfsh/include/libelfsh.h:436:8: note: expected 'int *' but argument is of type 'u_int * {aka unsigned int *}' void *elfsh_get_sht(elfshobj_t *file, int *num); ^ sht.c:57:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] index, (void *) elfsh_get_section_addr(shdr + index), ^ sht.c:76:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] index, (void *) elfsh_get_section_addr(shdr + index), ^ stab.c: In function 'cmd_stab': stab.c:25:41: warning: pointer targets in passing argument 2 of 'elfsh_get_stab' differ in signedness [-Wpointer-sign] entry = elfsh_get_stab(world.current, &num); ^ In file included from include/elfsh.h:23:0, from stab.c:7: ../libelfsh/include/libelfsh.h:428:8: note: expected 'int *' but argument is of type 'u_int * {aka unsigned int *}' void *elfsh_get_stab(elfshobj_t *file, int *num); ^ sym.c: In function 'ds': sym.c:96:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] index, (void *) elfsh_get_symbol_value(table + index), ^ sym.c:107:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] index, (void *) elfsh_get_symbol_value(table + index), ^ sym.c: In function 'cmd_sym': sym.c:134:44: warning: pointer targets in passing argument 2 of 'elfsh_get_symtab' differ in signedness [-Wpointer-sign] symtab = elfsh_get_symtab(world.current, &num); ^ In file included from include/elfsh.h:23:0, from sym.c:7: ../libelfsh/include/libelfsh.h:332:8: note: expected 'int *' but argument is of type 'u_int * {aka unsigned int *}' void *elfsh_get_symtab(elfshobj_t *file, int *num); ^ sym.c: In function 'cmd_dynsym': sym.c:154:47: warning: pointer targets in passing argument 2 of 'elfsh_get_dynsymtab' differ in signedness [-Wpointer-sign] dynsym = elfsh_get_dynsymtab(world.current, &num); ^ In file included from include/elfsh.h:23:0, from sym.c:7: ../libelfsh/include/libelfsh.h:342:8: note: expected 'int *' but argument is of type 'u_int * {aka unsigned int *}' void *elfsh_get_dynsymtab(elfshobj_t *file, int *num); ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o data.o data.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o ctors.o ctors.c ctors.c: In function 'cmd_ctors': ctors.c:45:11: warning: the address of 'off' will always evaluate as 'true' [-Waddress] if (off) ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o dtors.o dtors.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o fileops.o fileops.c dtors.c: In function 'cmd_dtors': dtors.c:45:11: warning: the address of 'off' will always evaluate as 'true' [-Waddress] if (off) ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o comment.o comment.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o save.o save.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o load.o load.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o unload.o unload.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o list.o list.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o doswitch.o doswitch.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o tables.o tables.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o help.o help.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o info.o info.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o readln.o readln.c readln.c: In function 'coustom_completion': readln.c:46:24: warning: implicit declaration of function 'completion_matches' [-Wimplicit-function-declaration] matches = (char **)completion_matches (text, command_generator); ^ readln.c:46:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] matches = (char **)completion_matches (text, command_generator); ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o print.o print.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o lexer.o lexer.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o misc.o misc.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o atomic.o atomic.c lexer.c: In function 'lexer_findblanks': lexer.c:96:8: warning: variable 'index' set but not used [-Wunused-but-set-variable] int index; ^ lexer.c: In function 'vm_getln': lexer.c:197:28: warning: pointer targets in passing argument 2 of 'lexer_doargv' differ in signedness [-Wpointer-sign] argv = lexer_doargv(nbr, argc, buf); ^ lexer.c:138:15: note: expected 'u_int * {aka unsigned int *}' but argument is of type 'int *' static char **lexer_doargv(u_int nbr, u_int *argc, char *buf) ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o opt.o opt.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o implicit.o implicit.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o exec.o exec.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o modules.o modules.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o findrel.o findrel.c findrel.c: In function 'cmd_findrel': findrel.c:163:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] dword = (u_int) cur->data + cur->rel[index].off_src; ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o objects.o objects.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o cmdapi.o cmdapi.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o filter.o filter.c cmdapi.c: In function 'vm_setcmd': filter.c: In function 'vm_filter_zero': filter.c:25:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] memmove(ptr + 1, ptr + 4, (u_int) obj->immed_val.str + obj->size - (u_int) (ptr + 4)); ^ filter.c:25:71: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] memmove(ptr + 1, ptr + 4, (u_int) obj->immed_val.str + obj->size - (u_int) (ptr + 4)); ^ filter.c:35:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] memmove(ptr + 1, ptr + 3, (u_int) obj->immed_val.str + obj->size - (u_int) (ptr + 3)); ^ filter.c:35:71: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] memmove(ptr + 1, ptr + 3, (u_int) obj->immed_val.str + obj->size - (u_int) (ptr + 3)); ^ cmdapi.c:43:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (needcur != (u_int) ELFSH_ORIG) ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o reladd.o reladd.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o fcthijack.o fcthijack.c cc grammar.o disasm.o dyn.o hdr.o main.o got.o interp.o notes.o pht.o rel.o sht.o stab.o sym.o quit.o data.o ctors.o dtors.o fileops.o comment.o save.o load.o unload.o list.o doswitch.o tables.o help.o info.o readln.o print.o lexer.o misc.o atomic.o opt.o implicit.o exec.o modules.o findrel.o objects.o cmdapi.o filter.o reladd.o fcthijack.o -o elfsh -L/usr/local/lib -Wl,-rpath=/usr/local/lib -L/usr/local/lib -L../libelfsh/ -lelfsh -L../libhash/ -lhashelfsh -rdynamic -g3 -lreadline -lncurses gmake[2]: Leaving directory '/wrkdirs/devel/elfsh/elfsh-0.51b3/vm' ELFsh has been built successfully. Building ELFsh modules suite... gmake[2]: Entering directory '/wrkdirs/devel/elfsh/elfsh-0.51b3/modules' cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -I../vm/include/ -I../libhash/include/ -I../libelfsh/include/ -Wall -g3 -fPIC -rdynamic -DELFSH_INTERN -I/usr/local/include -c -o modtest.o modtest.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -I../vm/include/ -I../libhash/include/ -I../libelfsh/include/ -Wall -g3 -fPIC -rdynamic -DELFSH_INTERN -I/usr/local/include -c -o modremap.o modremap.c modtest.c: In function 'elfsh_init': modtest.c:26:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] vm_setcmd(CMD_PRINT, my_cmd_print, ELFSH_ORIG, (u_int) ELFSH_ORIG); ^ modtest.c: In function 'elfsh_fini': modtest.c:33:47: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] vm_setcmd(CMD_PRINT, cmd_print, ELFSH_ORIG, (u_int) ELFSH_ORIG); ^ gmake[2]: Leaving directory '/wrkdirs/devel/elfsh/elfsh-0.51b3/modules' ELFsh modules suite built successfully. #gmake -s tags gmake[1]: Leaving directory '/wrkdirs/devel/elfsh/elfsh-0.51b3' =========================================================================== =================================================== ===> elfsh-0.51b3_3 depends on file: /usr/local/lib/libncurses.so.6 - found =========================================================================== =================================================== ===> Staging for elfsh-0.51b3_3 ===> Generating temporary packing list gmake[1]: Entering directory '/wrkdirs/devel/elfsh/elfsh-0.51b3' ELFsh and Libelfsh installed successfully . gmake[1]: Leaving directory '/wrkdirs/devel/elfsh/elfsh-0.51b3' ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===> Building package for elfsh-0.51b3_3 file sizes/checksums [9]: . done packing files [9]: . done packing directories [0]: . done =========================================================================== => Cleaning up wrkdir ===> Cleaning for elfsh-0.51b3_3 build of devel/elfsh ended at Wed Oct 5 12:19:11 PDT 2016 build time: 00:00:16