Compile errors in dgels.c

Post here if you have a question about linking your program with LAPACK or ScaLAPACK library

Compile errors in dgels.c

Postby Keith47 » Wed Feb 25, 2015 10:45 pm

I am attempting to get an application of dgels.c up and running. It looks like there have been some changes to c/c++ that occurred after the file was created and now affect its operation.
I am putting this question under Linking because the problem is in the duels.c function. In new to this system, so if there is another discussion that would be better, I'll be happy to repost it.

I put the duels.c function into the same file as my main function, and added #includes for blaswrap.h and f2c.h. Those appear to be working.

Several errors occur in dgels.c at compile time.
One error occurs 30 times with the following as an example.

if(lsame_(trans, “N”))
. . .some code here

The compiler replies with
ISO C++11 does not allow conversion from string literal to ‘char *’

Other calls with this error include calls to ilaenv_, xerbla_ dlaset_, dlamch_ dlange_ dlascl_ dlaset_ dormqr_ dtrtrs_ dormlq_,

I wonder how someone else may have resolved these errors in duels.c.

Thank you,

Posts: 2
Joined: Tue Feb 24, 2015 11:36 pm

Return to Linking Problem

Who is online

Users browsing this forum: No registered users and 2 guests