error: LAPACK_GLOBAL declared as function returning a fun

Open discussion regarding features, bugs, issues, vendors, etc.

error: LAPACK_GLOBAL declared as function returning a fun

Postby liangliang » Thu Jul 03, 2014 8:46 pm

Hi All,

When I run "make" under the directory "lapack-3.5.0/lapacke/example" in Linux, I got the following error message:

...
../include/lapacke.h:16439: error: ‘LAPACK_GLOBAL’ declared as function returning a function
../include/lapacke.h:16439: warning: parameter names (without types) in function declaration
make: *** [example_DGESV_rowmajor.o] Error 1

Has someone encountered the same issue before?

Thanks,
Liang
liangliang
 
Posts: 1
Joined: Thu Jul 03, 2014 8:40 pm

Re: error: LAPACK_GLOBAL declared as function returning a fu

Postby admin » Sat Jul 05, 2014 2:14 pm

I believe your Fortran C mangling is not net correctly

In the LAPACK director, make.inc file, set it to ADD_

Code: Select all
CFLAGS = -DADD_


Hope it helps
admin
Site Admin
 
Posts: 512
Joined: Wed Dec 08, 2004 7:07 pm


Return to User Discussion

Who is online

Users browsing this forum: Bing [Bot] and 2 guests