flintproject / Flint

A simulator for biological and physiological models
https://flintsimulator.org
MIT License
6 stars 3 forks source link

Failing RPM build on Fedora 32 #18

Open tabe opened 4 years ago

tabe commented 4 years ago

GCC 10 fails to build SOSlib.

/usr/bin/ld: options.o:/home/abe/rpmbuild/BUILD/flint-soslib-1.9.0/odeSolver/options.h:61: multiple definition of `Opt'; commandLine.o:/home/abe/rpmbuild/BUILD/flint-soslib-1.9.0/odeSolver/options.h:61: first defined here

/usr/bin/ld: printModel.o:/home/abe/rpmbuild/BUILD/flint-soslib-1.9.0/odeSolver/options.h:61: multiple definition of `Opt'; commandLine.o:/home/abe/rpmbuild/BUILD/flint-soslib-1.9.0/odeSolver/options.h:61: first defined here

/usr/bin/ld: interactive.o:/home/abe/rpmbuild/BUILD/flint-soslib-1.9.0/odeSolver/options.h:61: multiple definition of `Opt'; commandLine.o:/home/abe/rpmbuild/BUILD/flint-soslib-1.9.0/odeSolver/options.h:61: first defined here

collect2: error: ld returned 1 exit status

make[2]: *** [Makefile:449: odeSolver] Error 1

make[2]: Leaving directory '/home/abe/rpmbuild/BUILD/flint-soslib-1.9.0/odeSolver'

make[1]: *** [Makefile:459: all-recursive] Error 1

make[1]: Leaving directory '/home/abe/rpmbuild/BUILD/flint-soslib-1.9.0'

error: Bad exit status from /var/tmp/rpm-tmp.6iSiUV (%build)

RPM build errors:

    Bad exit status from /var/tmp/rpm-tmp.6iSiUV (%build)

make: *** [Makefile:179: /home/abe/rpmbuild/RPMS/x86_64/flint-soslib-1.9.0-1.fc32.x86_64.rpm] Error 1