tech-pkg archive

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

more clang fun

This time, I'm trying to do pkgsrc-2011Q1 builds on 5.1/amd64 using clang.

I've problems compiling both neon and apr. I get the following warnings:

*** Warning: linker path does not have real file for library -lcrypt.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libcrypt but no candidates were found. (...for regex pattern test)

for -lcrypt and -lpthread with apr and
dor -lintl, -lz, -lssl and -lcrypto with neon.

Additionally, I get

*** Since this library must not contain undefined symbols,
*** because either the platform does not support them or
*** it was explicitly requested with -no-undefined,
*** libtool will only create a static version of it.

for neon.

(and similar errors for subversion-base)

I've reverted to gcc for these packages (and to -current for apr since I get 
multiply defined symbols with 2011Q1).

It would be nice to have some mechanism to switch libtools automatically when 

Home | Main Index | Thread Index | Old Index