Project

General

Profile

Cross compilation not producing .so files.

Added by almost 16 years ago

I'm attempting to cross compile to a sh4 based embedded platform, and can successfully compile lighttpd, however the compilation is not producing any modules. I've tried creating a fake root so that libtool will create the so upon make install, and I've also tried compiling with all permutations of --[disable|enable]-static --[disable|enable]-shared

upon running make install for each module I get:

/bin/sh ../libtool   --mode=install /usr/bin/install c  'mod_accesslog.la' '/lighthtpd/lib/mod_accesslog.la'
libtool: install: /usr/bin/install -c .libs/mod_accesslog.lai /lighthtpd/lib/mod_accesslog.la
libtool: install: /usr/bin/install -c .libs/libmod_accesslog.a /lighthtpd/lib/libmod_accesslog.a
libtool: install: chmod 644 /lighthtpd/lib/libmod_accesslog.a
libtool: install: ranlib /lighthtpd/lib/libmod_accesslog.a
---------------------------------------------------------------------

Libraries have been installed in:
/lighthtpd/lib

Any ideas?

Fran


Replies (2)

RE: Cross compilation not producing .so files. - Added by almost 16 years ago

Okay some more info. Looks like within libtool:

  1. Whether or not to build shared libraries.
    build_libtool_libs=no

So, if there a way to build them the old fashion way without using libtool?

Fran

RE: Cross compilation not producing .so files. - Added by almost 16 years ago

The option which would work for me, is to statically link in the modules, but my libtool says:

dlopen_self=no

  1. Whether dlopen of statically linked programs is supported.
    dlopen_self_static=no

TIA Fran

    (1-2/2)