What commands are you running to build things? This sounds like maybe you are using a non-gcc compiler on a build that's expecting gcc.

Charles

On Jan 28, 2008, at 5:04 AM, Andreas Juern wrote:

Hi everyone,

I get the error message libtool: unrecognized option `-g' when compiling. The
full command is:

/bin/sh ../libtool   -g -O2  -L/usr/lib -o
drmaa/libdrmaa.la -rpath /path/to/gridway/lib ./common/ __srcdir__drmaa_libdrmaa_la-gw_file_parser.lo ./client/ __srcdir__drmaa_libdrmaa_la-gw_client_job_match.lo ./client/ __srcdir__drmaa_libdrmaa_la-gw_client_submit.lo ./client/ __srcdir__drmaa_libdrmaa_la-gw_client_host_status.lo ./client/ __srcdir__drmaa_libdrmaa_la-gw_client_job_status.lo ./client/ __srcdir__drmaa_libdrmaa_la-gw_client_user_status.lo ./client/ __srcdir__drmaa_libdrmaa_la-gw_client_init.lo ./client/ __srcdir__drmaa_libdrmaa_la-gw_client_signal.lo ./client/ __srcdir__drmaa_libdrmaa_la-gw_client_wait.lo ./host/ __srcdir__drmaa_libdrmaa_la-gw_host_rank_syntax.lo ./host/ __srcdir__drmaa_libdrmaa_la-gw_host_reqs_syntax.lo ./host/ __srcdir__drmaa_libdrmaa_la-gw_host_attr_parser.lo ./host/ __srcdir__drmaa_libdrmaa_la-gw_host_update_syntax.lo ./host/ __srcdir__drmaa_libdrmaa_la-gw_host_var.lo ./drmaa/ __srcdir__drmaa_libdrmaa_la-gw_drmaa.lo ./drmaa/ __srcdir__drmaa_libdrmaa_la-gw_drmaa_jt.lo ./common/ __srcdir__drmaa_libdrmaa_la-gw_template_parser.lo ./common/ __srcdir__drmaa_libdrmaa_la-gw_template.lo ./common/ __srcdir__drmaa_libdrmaa_la-gw_log.lo -lpthread

The help for libtool doesn't mention -g, so I removed it. Then it complains about -L, after removing that -o and -rpath. These options are mentioned in
the help. When I remove everything, it says, that no output file is
specified.

The only option i gave configure was --prefix, after that I ran make.

Does anybody have a clue, how this can be solved?

Thanks,
Andreas
--
Vorstand/Board of Management:
Dr. Bernd Finkbeiner, Dr. Florian Geyer,
Dr. Roland Niemeier, Dr. Arno Steitz, Dr. Ingrid Zech
Vorsitzender des Aufsichtsrats/
Chairman of the Supervisory Board:
Prof. Dr. Hanns Ruder
Sitz/Registered Office: Tuebingen
Registergericht/Registration Court: Stuttgart
Registernummer/Commercial Register No.: HRB 382196



Reply via email to