pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: error building gawk on Darwin 10.6 (Snow Leopard)




On Sep 17, 2009, at 4:50 AM, Mark Norman Francis wrote:

gcc -dynamiclib -o .libs/libsigsegv.1.0.0.dylib .libs/ handler.o .libs/stackvma.o .libs/leave.o .libs/dispatcher.o .libs/ version.o -lc -L/var/obj/pkg/lang/gawk/work/.buildlink/lib - install_name /ports/lib/libsigsegv.1.dylib -compatibility_version 2 -current_version 2.0 -Wl,-single_module
Undefined symbols:
 "_vm_region", referenced from:
     _sigsegv_get_vma in stackvma.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
*** Error code 1

Stop.
bmake: stopped in /var/obj/pkg/lang/gawk/work/gawk-3.1.7/libsigsegv/ src

-- Norm.

For what it's worth I've seen this as well (am trying to build gedit and it pulls in gawk as a dependency). Building gawk outside the pkgsrc framework (i.e. download, untar, configure, make) works fine and you end up with a nice x86_64 executable. If I have some time this weekend I'll try to get it to build under pkgsrc.

Steve


Home | Main Index | Thread Index | Old Index