building port zsh (static version) failed on r235325

Vladimir Sharun atz at ukr.net
Sat May 12 06:41:10 UTC 2012


cc -L/usr/local/lib -rpath=/usr/lib:/usr/local/lib -static   -o zsh main.o  `cat stamp-modobjs`   -L/usr/local/lib -Wl,-R/usr/local/lib -lpcre -liconv -lncursesw -lrt -lm  -lc
/usr/lib/libc.a(jemalloc_jemalloc.o): In function `calloc':
jemalloc_jemalloc.c:(.text+0x1d80): multiple definition of `calloc'
mem.o:mem.c:(.text+0xf90): first defined here
/usr/lib/libc.a(jemalloc_jemalloc.o): In function `malloc':
jemalloc_jemalloc.c:(.text+0x1f40): multiple definition of `malloc'
mem.o:mem.c:(.text+0x900): first defined here
/usr/lib/libc.a(jemalloc_jemalloc.o): In function `realloc':
jemalloc_jemalloc.c:(.text+0x3380): multiple definition of `realloc'
mem.o:mem.c:(.text+0xfe0): first defined here
/usr/lib/libc.a(jemalloc_jemalloc.o): In function `free':
jemalloc_jemalloc.c:(.text+0x3940): multiple definition of `free'
mem.o:mem.c:(.text+0x8f0): first defined here
*** [zsh] Error code 1


# cc -v
Using built-in specs.
Target: amd64-undermydesk-freebsd
Configured with: FreeBSD/amd64 system compiler
Thread model: posix
gcc version 4.2.1 20070831 patched [FreeBSD]



More information about the freebsd-current mailing list