help-octave
[Top][All Lists]
Advanced

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

Adding missing linker flags for AIX?


From: Loris Bennett
Subject: Adding missing linker flags for AIX?
Date: Tue, 25 Aug 2009 12:39:40 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

Hi,

On AIX the build fails at points such as:

  g++ -shared -o colloc.oct colloc.o -L../libcruft -lcruft
  -L../liboctave -loctave -L. -loctinterp -lessl -lblas -lreadline
  -lncurses -ldl -lessl -lblas -lz -lm -L/opt/pware/lib -lz -lm
  -lxlf90 -L/usr/lpp/xlf/lib -lxlopt -lxlf -lxlomp_ser

with

  ld: 0706-006 Cannot find or open library file: -l cruft
          ld:open(): A file or directory in the path name does not exist.
  ld: 0706-006 Cannot find or open library file: -l octave
          ld:open(): A file or directory in the path name does not exist.
  ld: 0706-006 Cannot find or open library file: -l octinterp
          ld:open(): A file or directory in the path name does not exist.

The solution is to add the flag 

  -Wl,-brtl

to the compiler call.

Unfortunately there are many such points. Ideally 'configure' would
recongnize AIX and do the right thing, but is there some way to
locally add to the list of flags as a workaround?

Cheers,

Loris

-- 
Dr. Loris Bennett
Computer Centre
Freie Universität Berlin
Germany



reply via email to

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