{"action":"created","issue":{"url":"https://api.github.com/repos/Unidata/netcdf-fortran/issues/40","labels_url":"https://api.github.com/repos/Unidata/netcdf-fortran/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/Unidata/netcdf-fortran/issues/40/comments","events_url":"https://api.github.com/repos/Unidata/netcdf-fortran/issues/40/events","html_url":"https://github.com/Unidata/netcdf-fortran/issues/40","id":126538317,"number":40,"title":"tst03_f77_v2.F:(.data+0x84): undefined reference to `tests_'","user":{"login":"waldyd","id":1531796,"avatar_url":"https://avatars.githubusercontent.com/u/1531796?v=3","gravatar_id":"","url":"https://api.github.com/users/waldyd","html_url":"https://github.com/waldyd","followers_url":"https://api.github.com/users/waldyd/followers","following_url":"https://api.github.com/users/waldyd/following{/other_user}","gists_url":"https://api.github.com/users/waldyd/gists{/gist_id}","starred_url":"https://api.github.com/users/waldyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waldyd/subscriptions","organizations_url":"https://api.github.com/users/waldyd/orgs","repos_url":"https://api.github.com/users/waldyd/repos","events_url":"https://api.github.com/users/waldyd/events{/privacy}","received_events_url":"https://api.github.com/users/waldyd/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-13T23:12:00Z","updated_at":"2016-01-14T21:07:02Z","closed_at":"2016-01-14T21:07:02Z","body":"Hello,\r\n\r\nWhile building netcdf-fortran-4.4.2, using the following configure options:\r\n\r\n```bash\r\n./configure --prefix=/usr/local/netcdf/fortran CC=pgcc FC=pgfortran F77=pgfortran CPPFLAGS=-I/usr/local/netcdf/c/include LDFLAGS=-L/usr/local/netcdf/c/lib\r\n```\r\n\r\nmake install prompted the following:\r\n\r\n```bash\r\n\r\nlibtool: link: pgfortran -I../fortran -I../fortran -I../nf_test -g -o .libs/tst03_f77_v2 tst03_f77_v2.o  -L/usr/local/netcdf/c/lib ../fortran/.libs/libnetcdff.so -L/usr/local/hdf5/lib /usr/local/netcdf/c/lib/libnetcdf.so /usr/local/hdf5/lib/libhdf5_hl.so /usr/local/hdf5/lib/libhdf5.so -ldl -lm -lz -lcurl -Wl,-rpath -Wl,/usr/local/netcdf/fortran/lib -Wl,-rpath -Wl,/usr/local/netcdf/c/lib -Wl,-rpath -Wl,/usr/local/hdf5/lib\r\ntst03_f77_v2.o: In function `.C1_283':\r\ntst03_f77_v2.F:(.data+0x84): undefined reference to `tests_'\r\nMakefile:908: recipe for target 'tst03_f77_v2' failed\r\nmake[2]: *** [tst03_f77_v2] Error 2\r\nmake[2]: Leaving directory '/tmp/netcdf-fortran-4.4.2/nf03_test'\r\nMakefile:1322: recipe for target 'check-am' failed\r\nmake[1]: *** [check-am] Error 2\r\nmake[1]: Leaving directory '/tmp/netcdf-fortran-4.4.2/nf03_test'\r\nMakefile:544: recipe for target 'check-recursive' failed\r\nmake: *** [check-recursive] Error 1\r\n[waldyd@master netcdf-fortran-4.4.2]$ cd /tmp/netcdf-fortran-4.4.2/nf03_test\r\n[waldyd@master nf03_test]$ /bin/sh ../libtool  --tag=F77   --mode=link pgfortran -I../fortran   -I../fortran -I../nf_test -g  -L/usr/local/netcdf/c/lib -o tst03_f77_v2 tst03_f77_v2.o ../fortran/libnetcdff.la -lnetcdf\r\nlibtool: link: pgfortran -I../fortran -I../fortran -I../nf_test -g -o .libs/tst03_f77_v2 tst03_f77_v2.o  -L/usr/local/netcdf/c/lib ../fortran/.libs/libnetcdff.so -L/usr/local/hdf5/lib /usr/local/netcdf/c/lib/libnetcdf.so /usr/local/hdf5/lib/libhdf5_hl.so /usr/local/hdf5/lib/libhdf5.so -ldl -lm -lz -lcurl -Wl,-rpath -Wl,/usr/local/netcdf/fortran/lib -Wl,-rpath -Wl,/usr/local/netcdf/c/lib -Wl,-rpath -Wl,/usr/local/hdf5/lib\r\ntst03_f77_v2.o: In function `.C1_283':\r\ntst03_f77_v2.F:(.data+0x84): undefined reference to `tests_'\r\n```\r\n\r\nThis issue is related with the following thread http://netcdf-group.1586084.n2.nabble.com/How-to-enable-has-f90-in-NetCDF-F-td7575820.html\r\n\r\nWould you please give some ideas about how to solve this issue?\r\n\r\nBest Regards,\r\n\r\nNéstor Waldyd\r\n"},"comment":{"url":"https://api.github.com/repos/Unidata/netcdf-fortran/issues/comments/171779877","html_url":"https://github.com/Unidata/netcdf-fortran/issues/40#issuecomment-171779877","issue_url":"https://api.github.com/repos/Unidata/netcdf-fortran/issues/40","id":171779877,"user":{"login":"WardF","id":4324946,"avatar_url":"https://avatars.githubusercontent.com/u/4324946?v=3","gravatar_id":"","url":"https://api.github.com/users/WardF","html_url":"https://github.com/WardF","followers_url":"https://api.github.com/users/WardF/followers","following_url":"https://api.github.com/users/WardF/following{/other_user}","gists_url":"https://api.github.com/users/WardF/gists{/gist_id}","starred_url":"https://api.github.com/users/WardF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WardF/subscriptions","organizations_url":"https://api.github.com/users/WardF/orgs","repos_url":"https://api.github.com/users/WardF/repos","events_url":"https://api.github.com/users/WardF/events{/privacy}","received_events_url":"https://api.github.com/users/WardF/received_events","type":"User","site_admin":false},"created_at":"2016-01-14T21:07:02Z","updated_at":"2016-01-14T21:07:02Z","body":"Hello, \r\n\r\nWould you mind emailing support-netcdf@unidata.ucar.edu this information, as well as the config.log and test-suite.log file(s) generated when you run configure and make check? Thanks!"}}