help-gsl
[Top][All Lists]
Advanced

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

Re: [Help-gsl] compiling gsl-1.8 with a 64-bit configuration


From: Nassim Jibai
Subject: Re: [Help-gsl] compiling gsl-1.8 with a 64-bit configuration
Date: Fri, 29 Sep 2006 10:22:21 +0300
User-agent: Internet Messaging Program (IMP) 3.2.3

Hello,

   While its configuring, I get the following. Notice the "failed" at
   ".. /usr/bin/nm -B output... failed"

   ....
  checking for unistd.h... yes
  checking dlfcn.h usability... yes
  checking dlfcn.h presence... yes
  checking for dlfcn.h... yes
  checking the maximum length of command line arguments... 8192
->checking command to parse /usr/bin/nm -B output from xlc object... failed
  checking for objdir... .libs
  checking for ar... ar
  checking for ranlib... ranlib
  checking for strip... strip
  checking for xlc option to produce PIC...
  ..
  ..

  The message above appears when I execute one of the following.

  % CC="xlc" CFLAGS="-q64" ./configure
  or
  % CC="xlc_r" CFLAGS="-q64" ./configure
  or
  % CFLAGS="-q64" ./configure

  When I compile I get the following error

  bash-2.05a$ make
        make  all-recursive
Making all in gsl
        rm -f gsl*.h
        HEADERLIST="../gsl*.h ../*/gsl*.h";  for h in $HEADERLIST; do 
BASENAME=`basename $h`;  test -r $BASENAME || ln -s $h $BASENAME;  done
Target "all" is up to date.
Making all in utils
        /bin/sh ../libtool --tag=CC --mode=compile xlc -DHAVE_CONFIG_H  -I. -I.
-I..      -q64 -c -o placeholder.lo placeholder.c
mkdir .libs
 xlc -DHAVE_CONFIG_H -I. -I. -I.. -q64 -c placeholder.c  -DPIC -o
.libs/placeholder.o
        /bin/sh ../libtool --tag=CC --mode=link xlc  -q64    -o libutils.la  
placeholder.lo  -lm
ar cru .libs/libutils.a .libs/placeholder.o
ar: 0707-126 .libs/placeholder.o is not valid with the current object file mode.
        Use the -X option to specify the desired object mode.
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 2.


Stop.


Thanks alot for your responds.

Quoting Brian Gough <address@hidden>:

> Nassim Jibai wrote:
> >    How can I configure the gsl library to compile as a 64-bit library?
> >
> >    I tried the following and everytime I execute the make command it
> crashes.
>
> What is the error?
>
> --
> Brian Gough
> (GSL Maintainer)
>
> Network Theory Ltd,
> Publishing the GSL Manual - http://www.network-theory.co.uk/gsl/manual/
>
>


--
Nassim Jibai
System Administrator
American University of Beirut
Center for Advanced Mathematical Science
room 424
email: address@hidden
Phone: +961 1 350000 x 4397
       +961 1 374374





reply via email to

[Prev in Thread] Current Thread [Next in Thread]