Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GSL 2.7: ‘gsl_multilarge_linear_type’ {aka ‘struct <anonymous>’} has no member named ‘matrix_ptr’ when installing with GSL 2.6 #237

Open
hakonhagland opened this issue Jun 28, 2021 · 0 comments

Comments

@hakonhagland
Copy link
Contributor

After applying PR #236, I generated a distribution

$ PATH="/opt/gsl/gsl-2.7/bin:$PATH" perl Build.PL
$ ./Build
$ LD_LIBRARY_PATH=/opt/gsl/gsl-2.7/lib ./Build test
$ ./Build dist

then tried to install this dist with GSL 2.6

$ cp Math-GSL-0.42.tar.gz /tmp
$ tar zxvf Math-GSL-0.42.tar.gz
$ cd Math-GSL-0.42
$ PATH="/opt/gsl/gsl-2.6/bin:$PATH" perl Build.PL
$ ./Build
[...]
cc -I/home/hakon/perlbrew/perls/perl-5.32.0/lib/5.32.0/x86_64-linux/CORE -c -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -fPIC -I/opt/gsl/gsl-2.6/include -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wno-sometimes-uninitialized -Wno-unused-function -Wno-unused-value -Wno-unused-function -Wno-unused-variable -Wno-gnu -g -fPIC -fno-omit-frame-pointer -I/opt/gsl/gsl-2.6/include -o xs/Multilarge_wrap.2.6.o xs/Multilarge_wrap.2.6.c
xs/Multilarge_wrap.2.6.c: In function ‘_wrap_gsl_multifit_linear_lcurvature’:
xs/Multilarge_wrap.2.6.c:6563:19: warning: implicit declaration of function ‘gsl_multifit_linear_lcurvature’; did you mean ‘gsl_multifit_linear_lcurve’? [-Wimplicit-function-declaration]
 6563 |     result = (int)gsl_multifit_linear_lcurvature((gsl_vector const *)arg1,(gsl_vector const *)arg2,(gsl_vector const *)arg3,(gsl_vector const *)arg4,arg5,arg6);
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                   gsl_multifit_linear_lcurve
xs/Multilarge_wrap.2.6.c: In function ‘_wrap_gsl_multilarge_linear_type_matrix_ptr_set’:
xs/Multilarge_wrap.2.6.c:10933:21: error: ‘gsl_multilarge_linear_type’ has no member named ‘matrix_ptr’
10933 |     if (arg1) (arg1)->matrix_ptr = (gsl_matrix const *(*)(void const *))arg2;
      |                     ^~
xs/Multilarge_wrap.2.6.c: In function ‘_wrap_gsl_multilarge_linear_type_matrix_ptr_get’:
xs/Multilarge_wrap.2.6.c:10963:53: error: ‘gsl_multilarge_linear_type’ has no member named ‘matrix_ptr’
10963 |     result = (gsl_matrix *(*)(void const *)) ((arg1)->matrix_ptr);
      |                                                     ^~
xs/Multilarge_wrap.2.6.c: In function ‘_wrap_gsl_multilarge_linear_type_rhs_ptr_set’:
xs/Multilarge_wrap.2.6.c:10997:21: error: ‘gsl_multilarge_linear_type’ has no member named ‘rhs_ptr’
10997 |     if (arg1) (arg1)->rhs_ptr = (gsl_vector const *(*)(void const *))arg2;
      |                     ^~
xs/Multilarge_wrap.2.6.c: In function ‘_wrap_gsl_multilarge_linear_type_rhs_ptr_get’:
xs/Multilarge_wrap.2.6.c:11027:53: error: ‘gsl_multilarge_linear_type’ has no member named ‘rhs_ptr’
11027 |     result = (gsl_vector *(*)(void const *)) ((arg1)->rhs_ptr);
      |
[...]
hakonhagland added a commit to hakonhagland/math--gsl that referenced this issue Jun 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant