[beports] Re: building .so library files

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: beports@xxxxxxxxxxxxx
  • Date: Tue, 20 May 2008 14:22:25 +0200

On 2008-05-20 at 09:58:30 [+0200], scott mc <scottmc2@xxxxxxxxx> wrote:
> 
> ~/SDL-1.2.13-haiku> ./configure --enable-shared --prefix=/boot/common
> checking for ld used by gcc... 
> /boot/develop/tools/gnupro/i586-pc-haiku/bin/ld
> checking if the linker
> (/boot/develop/tools/gnupro/i586-pc-haiku/bin/ld) is GNUld... yes
> checking for /boot/develop/tools/gnupro/i586-pc-haiku/bin/ld option to
> reload object files... -r
> checking for BSD-compatible nm... /boot/develop/tools/gnupro/bin/nm -B
> run the C++ preprocessor... g++ -E
> checking whether  accepts -g... no

Wrong.

> checking the maximum length of command line arguments... 4096
> checking command to parse /boot/develop/tools/gnupro/bin/nm -B output
> from gcc object... ok
> checking whether -lc should be explicitly linked in... yes

Wrong.

> checking dynamic linker characteristics... no
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking if libtool supports shared libraries... no

Wrong, if correctly pre-configured.

> checking whether to build shared libraries... no
> checking whether to build static libraries... yes
> configure: creating libtool
> appending configuration tag "CXX" to libtool
> checking for ld used by g++... 
> /boot/develop/tools/gnupro/i586-pc-haiku/bin/ld
> checking if the linker
> (/boot/develop/tools/gnupro/i586-pc-haiku/bin/ld) is GNUld... yes
> checking whether the g++ linker
> (/boot/develop/tools/gnupro/i586-pc-haiku/bin/ld) supports shared
> libraries... no

Wrong.

> checking whether the g++ linker
> (/boot/develop/tools/gnupro/i586-pc-haiku/bin/ld) supports shared
> libraries... no

Wrong.

> checking dynamic linker characteristics... no

Wrong.

Looks like the compiler/linker command lines used for the tests might be 
broken (e.g. a wrong flag or library being passed). Have a look at the 
config.log.

CU, Ingo

--
BePorts homepage - http://tools.assembla.com/BePorts
List archives: //www.freelists.org/archives/beports
Administrative contact: brecht@xxxxxxxxxxx

Other related posts: