This worked. Thanks.

On Thu, Feb 4, 2016 at 11:16 PM, Juergen Borleis <j...@pengutronix.de> wrote:

> Hi,
>
> On Monday 25 January 2016 15:29:58 Milmar Tan wrote:
> > I'm trying to build Apache for the mini2440 but I'm getting the following
> > error in one of its dependencies:
> >
> > OSELAS.BSP-Pengutronix-Mini2440/platform-mini2440/sysroot-
> > target/usr/lib/libaprutil-0.so:
> > undefined reference to `crypt_r'
> >
> > Looking online, it seems the fix is to link libaprutil-0.so to libcrypt.
> > What modifications are needed to be able to do that?
>
> Fix its buildsystem, which forgets to link against libcrypt.
>
> > My configuration:
> > ptxdist - ptxdist-2015.01.0
> > toolchain - OSELAS.Toolchain-2014.12.0
> > bsp - OSELAS.BSP-Pengutronix-Mini2440 2015.01.0
> > apr-util - apr-util-0.9.19
> > apache - httpd-2.0.64
>
> Try to re-build the BSP without the "-Wl--as-needed" parameter.
>
> $ ptxdist platformconfig
>  ---> architecture
>    ---> extra toolchain options
>      ---> [ ] Link only needed libraries (ld --as-needed)
>
> jb
>
> --
> Pengutronix e.K.                              | Juergen Borleis
>   |
> Industrial Linux Solutions                    | http://www.pengutronix.de/
>  |
>
_______________________________________________
oselas mailing list
oselas@community.pengutronix.de

Reply via email to