Compile error mail/alpine

David Southwell david at vizion2000.net
Tue Aug 4 19:45:44 UTC 2009


> On Tuesday 04 August 2009 01:15:04 David Southwell wrote:
> > latest error messages:
> >
> > cc -std=gnu99 -g -D_THREAD_SAFE -O2 -fno-strict-aliasing -pipe -
> > DLDAP_DEPRECATED -rpath=/usr/local/lib -o alpine addrbook.o adrbkcmd.o
> > after.o alpine.o arg.o busy.o colorconf.o confscroll.o context.o
> > dispfilt.o flagmaint.o folder.o help.o imap.o init.o kblock.o keymenu.o
> > ldapconf.o listsel.o mailcmd.o mailindx.o mailpart.o mailview.o newuser.o
> > pattern.o pipe.o print.o radio.o remote.o reply.o roleconf.o send.o
> > setup.o signal.o status.o takeaddr.o titlebar.o smime.o date.o  -lcrypt
> > -lpam -L/usr/lib - L/usr/local/openssl/lib -L/usr/local/lib
> > ../pico/libpico.a
> > ../pico/osdep/libpicoosd.a ../pith/libpith.a ../pith/osdep/libpithosd.a
> > ../pith/charconv/libpithcc.a osdep/libpineosd.a ../c-client/c-client.a
> > /usr/local/lib/libldap.so -lcrypto -ltinfo /usr/local/lib/liblber.so
> > -lssl - Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib
> > ../c-client/c-client.a(osdep.o)(.text+0x68a1): In function
> > `ssl_onceonlyinit':
> > /usr/ports/mail/alpine/work/alpine-2.00/imap/c-client/osdep.c:335:
> > warning: warning: tmpnam() possibly used unsafely; consider using
> > mkstemp() after.o(.text+0x36d): In function `start_after':
> > /usr/ports/mail/alpine/work/alpine-2.00/alpine/after.c:77: undefined
> > reference to `pthread_create'
>
> David, given that all your errors posted in the last 24 hours point to a
> messed up pth/pthread installation I suggest you look into that before
> trying to build more ports.
>
> The shell archive attached should compile and run cleanly, by typing "make
> run" once extracted. If it does not, then even the base compiler/linker
> cannot find pthread, which is not a good thing, but at least you know where
> to start (reinstall world and possibly kernel).

The thing that puzzled me was the following lines in the report (see above)

/usr/bin/ld: cannot find -lpth
libtool: link: rm -f ".libs/epiphanyS.o"
                                               ^^ ^^^^

David



More information about the freebsd-ports mailing list