Re: earmark on hfsplus port

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ted Roby
Date: Monday, March 22, 2010 - 1:11 pm

On Mon, Mar 22, 2010 at 1:42 PM, Dale Rahn <drahn@dalerahn.com> wrote:



I don't get past make.
The ld complains about libhfsp.so.0.0 with undefined references
to bswap_32, bswap_64 and bswap_16

/usr/local/bin/libtool  --mode=link cc  -O2 -pipe -L/usr/local/lib -o
hpmount  hpmount.o hpcache.o hfsputil.o glob.o dstring.o dlist.o
../libhfsp/src/libhfsp.la -lutf8
mkdir .libs
cc -O2 -pipe -o .libs/hpmount hpmount.o hpcache.o hfsputil.o glob.o
dstring.o dlist.o  -L/usr/local/lib -L../libhfsp/src/.libs -lhfsp -lutf8
-Wl,-rpath,/usr/local/lib
hpcache.o(.text+0x44): In function `hpcache_filename':
: warning: strcpy() is almost always misused, please use strlcpy()
hpcache.o(.text+0x51): In function `hpcache_filename':
: warning: strcat() is almost always misused, please use strlcat()
/usr/local/lib/libutf8.so.1.0: warning: sprintf() is often misused, please
use snprintf()
../libhfsp/src/.libs/libhfsp.so.0.0: undefined reference to `bswap_32'
../libhfsp/src/.libs/libhfsp.so.0.0: undefined reference to `bswap_64'
../libhfsp/src/.libs/libhfsp.so.0.0: undefined reference to `bswap_16'
collect2: ld returned 1 exit status
gmake[2]: *** [hpmount] Error 1
gmake[2]: Leaving directory
`/usr/ports/pobj/hfsplus-1.0.4p2/hfsplus-1.0.4/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/pobj/hfsplus-1.0.4p2/hfsplus-1.0.4'
gmake: *** [all-recursive-am] Error 2
*** Error code 2

Stop in /usr/ports/misc/hfsplus (line 2242 of /usr/ports/infrastructure/mk/
bsd.port.mk).
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
earmark on hfsplus port, Ted Roby, (Mon Mar 22, 9:59 am)
Re: earmark on hfsplus port, Bryan Irvine, (Mon Mar 22, 10:07 am)
Re: earmark on hfsplus port, Ted Roby, (Mon Mar 22, 10:27 am)
Re: earmark on hfsplus port, Otto Moerbeek, (Mon Mar 22, 10:30 am)
Re: earmark on hfsplus port, Ted Roby, (Mon Mar 22, 10:39 am)
Re: earmark on hfsplus port, Ted Unangst, (Mon Mar 22, 10:45 am)
Re: earmark on hfsplus port, Dale Rahn, (Mon Mar 22, 12:42 pm)
Re: earmark on hfsplus port, Ted Roby, (Mon Mar 22, 1:11 pm)
Re: earmark on hfsplus port, bofh, (Mon Mar 22, 4:12 pm)
Re: earmark on hfsplus port, Ted Roby, (Mon Mar 22, 7:58 pm)
Re: earmark on hfsplus port, Ron McDowell, (Mon Mar 22, 9:14 pm)
Re: earmark on hfsplus port, patrick keshishian, (Mon Mar 22, 9:46 pm)
Re: earmark on hfsplus port, Ron McDowell, (Mon Mar 22, 10:03 pm)
Re: earmark on hfsplus port, Rod Whitworth, (Mon Mar 22, 10:28 pm)
Re: earmark on hfsplus port, patrick keshishian, (Mon Mar 22, 10:29 pm)
Re: earmark on hfsplus port, Ted Roby, (Tue Mar 23, 8:02 am)