=> Bootstrap dependency digest>=20010302: found digest-20111104
=> Bootstrap dependency fetch-[0-9]*: found fetch-1.7
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for elfsh-0.51b3nb4
Builting libelfsh...
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c dynamic.c
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c dynsym.c
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c elf.c
elf.c: In function 'elfsh_get_magic':
elf.c:264:3: warning: dereferencing type-punned pointer will break strict-aliasing rules
elf.c: In function 'elfsh_set_magic':
elf.c:273:3: warning: dereferencing type-punned pointer will break strict-aliasing rules
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c fixup.c
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c got.c
got.c: In function 'elfsh_get_got_entry_by_name':
got.c:109:3: warning: pointer targets in passing argument 2 of 'elfsh_get_got' differ in signedness
got.c:14:10: note: expected 'int *' but argument is of type 'u_int *'
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c hash.c
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c interp.c
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c pht.c
pht.c: In function 'elfsh_get_object_baseaddr':
pht.c:252:3: warning: pointer targets in passing argument 2 of 'elfsh_get_pht' differ in signedness
include/libelfsh.h:487:8: note: expected 'int *' but argument is of type 'u_int *'
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c plt.c
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c section.c
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c sht.c
sht.c: In function 'elfsh_sort_sht':
sht.c:81:39: warning: operation on 'actual->prev' may be undefined
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c error.c
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c 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
include/libelfsh.h:552:14: note: expected 'int *' but argument is of type 'u_int *'
stab.c:50:12: warning: pointer targets in passing argument 4 of 'elfsh_get_section_by_name' differ in signedness
include/libelfsh.h:552:14: note: expected 'int *' but argument is of type 'u_int *'
stab.c:50:12: warning: pointer targets in passing argument 5 of 'elfsh_get_section_by_name' differ in signedness
include/libelfsh.h:552:14: note: expected 'int *' but argument is of type 'u_int *'
stab.c: In function 'elfsh_get_stab_offset':
stab.c:89:11: warning: cast to pointer from integer of different size
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c symbol.c
symbol.c: In function 'elfsh_shift_symtab':
symbol.c:363:3: warning: pointer targets in passing argument 6 of 'elfsh_get_section_by_type' differ in signedness
include/libelfsh.h:550:14: note: expected 'int *' but argument is of type 'u_int *'
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c notes.c
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c reloc.c
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c blocks.c
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c ctors.c
ctors.c: In function 'elfsh_get_ctors_entry_by_name':
ctors.c:106:3: warning: pointer targets in passing argument 2 of 'elfsh_get_ctors' differ in signedness
ctors.c:12:10: note: expected 'int *' but argument is of type 'u_int *'
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c dtors.c
dtors.c: In function 'elfsh_get_dtors_entry_by_name':
dtors.c:98:3: warning: pointer targets in passing argument 2 of 'elfsh_get_dtors' differ in signedness
dtors.c:12:10: note: expected 'int *' but argument is of type 'u_int *'
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c raw.c
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c map.c
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c strtab.c
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c sht_rebuild.c
sht_rebuild.c: In function 'elfsh_rebuild_sht':
sht_rebuild.c:360:3: warning: pointer targets in passing argument 2 of 'elfsh_get_pht' differ in signedness
include/libelfsh.h:487:8: note: expected 'int *' but argument is of type 'u_int *'
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c comment.c
comment.c: In function 'elfsh_get_comments':
comment.c:22:7: warning: pointer targets in passing argument 5 of 'elfsh_get_section_by_name' differ in signedness
include/libelfsh.h:552:14: note: expected 'int *' but argument is of type 'u_int *'
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c sym_common.c
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c hijack.c
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c obj.c
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c pax.c
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c save.c
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c copy.c
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c strip.c
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c remap.c
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c relinject.c
relinject.c: In function 'elfsh_relocate_etrel_section':
relinject.c:316:7: warning: pointer targets in passing argument 3 of 'elfsh_relocate_entry' differ in signedness
relinject.c:190:17: note: expected 'u_long *' but argument is of type 'long int *'
relinject.c: In function 'elfsh_inject_etrel':
relinject.c:433:3: warning: pointer targets in passing argument 2 of 'elfsh_get_symtab' differ in signedness
include/libelfsh.h:332:8: note: expected 'int *' but argument is of type 'u_int *'
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c sanitize.c
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c debug.c
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c bss.c
bss.c: In function 'elfsh_find_bsslen':
bss.c:210:3: warning: pointer targets in passing argument 2 of 'elfsh_get_symtab' differ in signedness
include/libelfsh.h:332:8: note: expected 'int *' but argument is of type 'u_int *'
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c sort.c
Libelfsh has been built successfully.
Builting libhashelfsh...
Libhash has been built successfully.
Builting ELFsh...
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -fPIC -g3 -O2 -Wall -Iinclude  -I../libhash/include/ -I../libelfsh/include/  -DELFSH_INTERN   -DUSE_READLN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c grammar.c
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -fPIC -g3 -O2 -Wall -Iinclude  -I../libhash/include/ -I../libelfsh/include/  -DELFSH_INTERN   -DUSE_READLN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c disasm.c
disasm.c: In function 'display_object':
disasm.c:177:6: warning: format '%08X' expects type 'unsigned int', but argument 4 has type 'long unsigned int'
disasm.c:177:6: warning: format '%u' expects type 'unsigned int', but argument 5 has type 'long unsigned int'
disasm.c:177:6: warning: format '%08X' expects type 'unsigned int', but argument 4 has type 'long unsigned int'
disasm.c:177:6: warning: format '%u' expects type 'unsigned int', but argument 5 has type 'long unsigned int'
disasm.c:180:4: warning: pointer targets in passing argument 3 of 'elfsh_get_parent_section' differ in signedness
../libelfsh/include/libelfsh.h:553:14: note: expected 'int *' but argument is of type 'u_int *'
disasm.c:188:8: warning: pointer targets in passing argument 3 of 'elfsh_reverse_symbol' differ in signedness
../libelfsh/include/libelfsh.h:330:8: note: expected 'int *' but argument is of type 'u_int *'
disasm.c:190:3: warning: pointer targets in passing argument 3 of 'elfsh_reverse_dynsymbol' differ in signedness
../libelfsh/include/libelfsh.h:343:8: note: expected 'int *' but argument is of type 'u_int *'
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -fPIC -g3 -O2 -Wall -Iinclude  -I../libhash/include/ -I../libelfsh/include/  -DELFSH_INTERN   -DUSE_READLN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c dyn.c
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -fPIC -g3 -O2 -Wall -Iinclude  -I../libhash/include/ -I../libelfsh/include/  -DELFSH_INTERN   -DUSE_READLN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c hdr.c
hdr.c: In function 'cmd_elf':
hdr.c:74:3: warning: pointer targets in passing argument 3 of 'elfsh_reverse_metasym' differ in signedness
../libelfsh/include/libelfsh.h:368:8: note: expected 'int *' but argument is of type 'u_int *'
hdr.c:115:21: warning: cast to pointer from integer of different size
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -fPIC -g3 -O2 -Wall -Iinclude  -I../libhash/include/ -I../libelfsh/include/  -DELFSH_INTERN   -DUSE_READLN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c main.c
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -fPIC -g3 -O2 -Wall -Iinclude  -I../libhash/include/ -I../libelfsh/include/  -DELFSH_INTERN   -DUSE_READLN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c got.c
got.c: In function 'cmd_got':
got.c:51:9: warning: format '%08X' expects type 'unsigned int', but argument 4 has type 'long unsigned int'
got.c:51:9: warning: format '%08X' expects type 'unsigned int', but argument 4 has type 'long unsigned int'
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -fPIC -g3 -O2 -Wall -Iinclude  -I../libhash/include/ -I../libelfsh/include/  -DELFSH_INTERN   -DUSE_READLN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c interp.c
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -fPIC -g3 -O2 -Wall -Iinclude  -I../libhash/include/ -I../libelfsh/include/  -DELFSH_INTERN   -DUSE_READLN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c notes.c
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -fPIC -g3 -O2 -Wall -Iinclude  -I../libhash/include/ -I../libelfsh/include/  -DELFSH_INTERN   -DUSE_READLN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c pht.c
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -fPIC -g3 -O2 -Wall -Iinclude  -I../libhash/include/ -I../libelfsh/include/  -DELFSH_INTERN   -DUSE_READLN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c rel.c
rel.c: In function 'cmd_rel':
rel.c:110:8: warning: cast to pointer from integer of different size
rel.c:117:8: warning: cast to pointer from integer of different size
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -fPIC -g3 -O2 -Wall -Iinclude  -I../libhash/include/ -I../libelfsh/include/  -DELFSH_INTERN   -DUSE_READLN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c sht.c
sht.c: In function 'cmd_sht':
sht.c:25:4: warning: pointer targets in passing argument 2 of 'elfsh_get_sht' differ in signedness
../libelfsh/include/libelfsh.h:436:8: note: expected 'int *' but argument is of type 'u_int *'
sht.c:57:12: warning: cast to pointer from integer of different size
sht.c:76:12: warning: cast to pointer from integer of different size
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -fPIC -g3 -O2 -Wall -Iinclude  -I../libhash/include/ -I../libelfsh/include/  -DELFSH_INTERN   -DUSE_READLN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c stab.c
stab.c: In function 'cmd_stab':
stab.c:25:3: warning: pointer targets in passing argument 2 of 'elfsh_get_stab' differ in signedness
../libelfsh/include/libelfsh.h:428:8: note: expected 'int *' but argument is of type 'u_int *'
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -fPIC -g3 -O2 -Wall -Iinclude  -I../libhash/include/ -I../libelfsh/include/  -DELFSH_INTERN   -DUSE_READLN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c sym.c
sym.c: In function 'ds':
sym.c:96:13: warning: cast to pointer from integer of different size
sym.c:107:13: warning: cast to pointer from integer of different size
sym.c: In function 'cmd_sym':
sym.c:134:3: warning: pointer targets in passing argument 2 of 'elfsh_get_symtab' differ in signedness
../libelfsh/include/libelfsh.h:332:8: note: expected 'int *' but argument is of type 'u_int *'
sym.c: In function 'cmd_dynsym':
sym.c:154:3: warning: pointer targets in passing argument 2 of 'elfsh_get_dynsymtab' differ in signedness
../libelfsh/include/libelfsh.h:342:8: note: expected 'int *' but argument is of type 'u_int *'
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -fPIC -g3 -O2 -Wall -Iinclude  -I../libhash/include/ -I../libelfsh/include/  -DELFSH_INTERN   -DUSE_READLN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c quit.c
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -fPIC -g3 -O2 -Wall -Iinclude  -I../libhash/include/ -I../libelfsh/include/  -DELFSH_INTERN   -DUSE_READLN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c data.c
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -fPIC -g3 -O2 -Wall -Iinclude  -I../libhash/include/ -I../libelfsh/include/  -DELFSH_INTERN   -DUSE_READLN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c ctors.c
ctors.c: In function 'cmd_ctors':
ctors.c:45:11: warning: the address of 'off' will always evaluate as 'true'
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -fPIC -g3 -O2 -Wall -Iinclude  -I../libhash/include/ -I../libelfsh/include/  -DELFSH_INTERN   -DUSE_READLN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c dtors.c
dtors.c: In function 'cmd_dtors':
dtors.c:45:11: warning: the address of 'off' will always evaluate as 'true'
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -fPIC -g3 -O2 -Wall -Iinclude  -I../libhash/include/ -I../libelfsh/include/  -DELFSH_INTERN   -DUSE_READLN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c fileops.c
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -fPIC -g3 -O2 -Wall -Iinclude  -I../libhash/include/ -I../libelfsh/include/  -DELFSH_INTERN   -DUSE_READLN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c comment.c
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -fPIC -g3 -O2 -Wall -Iinclude  -I../libhash/include/ -I../libelfsh/include/  -DELFSH_INTERN   -DUSE_READLN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c save.c
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -fPIC -g3 -O2 -Wall -Iinclude  -I../libhash/include/ -I../libelfsh/include/  -DELFSH_INTERN   -DUSE_READLN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c load.c
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -fPIC -g3 -O2 -Wall -Iinclude  -I../libhash/include/ -I../libelfsh/include/  -DELFSH_INTERN   -DUSE_READLN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c unload.c
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -fPIC -g3 -O2 -Wall -Iinclude  -I../libhash/include/ -I../libelfsh/include/  -DELFSH_INTERN   -DUSE_READLN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c list.c
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -fPIC -g3 -O2 -Wall -Iinclude  -I../libhash/include/ -I../libelfsh/include/  -DELFSH_INTERN   -DUSE_READLN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c doswitch.c
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -fPIC -g3 -O2 -Wall -Iinclude  -I../libhash/include/ -I../libelfsh/include/  -DELFSH_INTERN   -DUSE_READLN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c tables.c
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -fPIC -g3 -O2 -Wall -Iinclude  -I../libhash/include/ -I../libelfsh/include/  -DELFSH_INTERN   -DUSE_READLN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c help.c
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -fPIC -g3 -O2 -Wall -Iinclude  -I../libhash/include/ -I../libelfsh/include/  -DELFSH_INTERN   -DUSE_READLN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c info.c
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -fPIC -g3 -O2 -Wall -Iinclude  -I../libhash/include/ -I../libelfsh/include/  -DELFSH_INTERN   -DUSE_READLN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c readln.c
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -fPIC -g3 -O2 -Wall -Iinclude  -I../libhash/include/ -I../libelfsh/include/  -DELFSH_INTERN   -DUSE_READLN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c print.c
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -fPIC -g3 -O2 -Wall -Iinclude  -I../libhash/include/ -I../libelfsh/include/  -DELFSH_INTERN   -DUSE_READLN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c lexer.c
lexer.c: In function 'vm_getln':
lexer.c:197:3: warning: pointer targets in passing argument 2 of 'lexer_doargv' differ in signedness
lexer.c:138:15: note: expected 'u_int *' but argument is of type 'int *'
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -fPIC -g3 -O2 -Wall -Iinclude  -I../libhash/include/ -I../libelfsh/include/  -DELFSH_INTERN   -DUSE_READLN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c misc.c
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -fPIC -g3 -O2 -Wall -Iinclude  -I../libhash/include/ -I../libelfsh/include/  -DELFSH_INTERN   -DUSE_READLN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c atomic.c
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -fPIC -g3 -O2 -Wall -Iinclude  -I../libhash/include/ -I../libelfsh/include/  -DELFSH_INTERN   -DUSE_READLN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c opt.c
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -fPIC -g3 -O2 -Wall -Iinclude  -I../libhash/include/ -I../libelfsh/include/  -DELFSH_INTERN   -DUSE_READLN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c implicit.c
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -fPIC -g3 -O2 -Wall -Iinclude  -I../libhash/include/ -I../libelfsh/include/  -DELFSH_INTERN   -DUSE_READLN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c exec.c
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -fPIC -g3 -O2 -Wall -Iinclude  -I../libhash/include/ -I../libelfsh/include/  -DELFSH_INTERN   -DUSE_READLN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c modules.c
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -fPIC -g3 -O2 -Wall -Iinclude  -I../libhash/include/ -I../libelfsh/include/  -DELFSH_INTERN   -DUSE_READLN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c findrel.c
findrel.c: In function 'cmd_findrel':
findrel.c:163:16: warning: cast from pointer to integer of different size
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -fPIC -g3 -O2 -Wall -Iinclude  -I../libhash/include/ -I../libelfsh/include/  -DELFSH_INTERN   -DUSE_READLN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c objects.c
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -fPIC -g3 -O2 -Wall -Iinclude  -I../libhash/include/ -I../libelfsh/include/  -DELFSH_INTERN   -DUSE_READLN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c cmdapi.c
cmdapi.c: In function 'vm_setcmd':
cmdapi.c:43:18: warning: cast from pointer to integer of different size
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -fPIC -g3 -O2 -Wall -Iinclude  -I../libhash/include/ -I../libelfsh/include/  -DELFSH_INTERN   -DUSE_READLN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c filter.c
filter.c: In function 'vm_filter_zero':
filter.c:25:30: warning: cast from pointer to integer of different size
filter.c:25:71: warning: cast from pointer to integer of different size
filter.c:35:30: warning: cast from pointer to integer of different size
filter.c:35:71: warning: cast from pointer to integer of different size
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -fPIC -g3 -O2 -Wall -Iinclude  -I../libhash/include/ -I../libelfsh/include/  -DELFSH_INTERN   -DUSE_READLN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c reladd.c
gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/ncurses -rdynamic -fPIC -g3 -O2 -Wall -Iinclude  -I../libhash/include/ -I../libelfsh/include/  -DELFSH_INTERN   -DUSE_READLN -I/usr/pkg/include -I/usr/pkg/include/ncurses -c fcthijack.c
gcc 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/pkg/lib -Wl,-R/usr/pkg/lib -L../libelfsh/ -lelfsh -L../libhash/ -lhashelfsh  -rdynamic -g3  -lreadline -ltermcap   
modules.o: In function `cmd_modload':
/tmp/pkgsrc/devel/elfsh/work/elfsh-0.51b3/vm/modules.c:41: undefined reference to `dlopen'
/tmp/pkgsrc/devel/elfsh/work/elfsh-0.51b3/vm/modules.c:49: undefined reference to `dlsym'
/tmp/pkgsrc/devel/elfsh/work/elfsh-0.51b3/vm/modules.c:55: undefined reference to `dlsym'
/tmp/pkgsrc/devel/elfsh/work/elfsh-0.51b3/vm/modules.c:68: undefined reference to `dlerror'
modules.o: In function `cmd_modunload':
/tmp/pkgsrc/devel/elfsh/work/elfsh-0.51b3/vm/modules.c:91: undefined reference to `dlclose'
collect2: ld returned 1 exit status
*** Error code 1

Stop.
bmake: stopped in /tmp/pkgsrc/devel/elfsh/work/elfsh-0.51b3/vm
*** Error code 1

Stop.
bmake: stopped in /tmp/pkgsrc/devel/elfsh/work/elfsh-0.51b3
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/devel/elfsh
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/devel/elfsh