Open sanjayankur31 opened 4 years ago
Hello,
I am using Arch Linux and also had a similar problem when trying to build with xppaut_latest.tar.gz from the download page. This seems to be due to the newer version of gcc, which flipped a default from -fcommon to -fno-common. More about this update is documented here.
Specifying the '-fcommon' option for gcc in the Makefile (line 42) as such :
CFLAGS= -g -pedantic -O2 -fcommon -DNOERRNO -DNON_UNIX_STDIO -DAUTO -DCVODE_YES -DHAVEDLL -DMYSTR1=$(MAJORVER) -DMYSTR2=$(MINORVER) -I/opt/X11/include
seems to have solved the issue on my side. I hope this helps.
Thanks!!
--Bard Ermentrout
On Feb 11, 2021, at 7:53 PM, helene-todd notifications@github.com wrote:
Hello,
I am using Arch Linux and also had a similar problem when trying to build with xppaut_latest.tar.gz from the download page. This seems to be due to the newer version of gcc, which flipped a default from -fcommon to -fno-common. More about this update is documented here.
Specifying the '-fcommon' option for gcc in the Makefile (line 42) as such :
CFLAGS= -g -pedantic -O2 -fcommon -DNOERRNO -DNON_UNIX_STDIO -DAUTO -DCVODE_YES -DHAVEDLL -DMYSTR1=$(MAJORVER) -DMYSTR2=$(MINORVER) -I/opt/X11/include
seems to have solved the issue on my side. I hope this helps.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Hello,
I am using Arch Linux and also had a similar problem when trying to build with xppaut_latest.tar.gz from the download page. This seems to be due to the newer version of gcc, which flipped a default from -fcommon to -fno-common. More about this update is documented here.
Specifying the '-fcommon' option for gcc in the Makefile (line 42) as such :
CFLAGS= -g -pedantic -O2 -fcommon -DNOERRNO -DNON_UNIX_STDIO -DAUTO -DCVODE_YES -DHAVEDLL -DMYSTR1=$(MAJORVER) -DMYSTR2=$(MINORVER) -I/opt/X11/include
seems to have solved the issue on my side. I hope this helps.
I'm on CentOS 8, and had a build issue with Brew installed gcc-10
, but adding the -fcommon
exactly at the same line solved it Thanks!.
Following up on my previous post, I was able to install XPPAUT on my MacBook Pro, backed by macOS Big Sur, using homebrewed gcc-10.
And it works? Great
--Bard
On Mar 29, 2021, at 9:36 PM, Itaru Kitayama @.***> wrote:
Following up on my previous post, I was able to install XPPAUT on my MacBook Pro, backed by macOS Big Sur, using homebrewed gcc-10.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
Sure it works. -fcommon
option was necessary.
On Tue, Mar 30, 2021 at 10:51 AM Ermentrout @.***> wrote:
And it works? Great
--Bard
On Mar 29, 2021, at 9:36 PM, Itaru Kitayama @.***> wrote:
Following up on my previous post, I was able to install XPPAUT on my MacBook Pro, backed by macOS Big Sur, using homebrewed gcc-10.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Ermentrout/xppaut/issues/9#issuecomment-809844517, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHLBZ3PGMBW2WEETYR5AJ3TGEVBPANCNFSM4SOQ5UWQ .
@Ermentrout , what's your primary compiler you'd like to support? GCC? Or some proprietary one?
Whatever is on the Mac and whatever is on Ubuntu as that’s what I have. I also compile it using some tool set on windows whose name escapes me. I think all of the compilers are gcc though. I really need to use something that isn’t X but have no idea what GUI graphics packages are around and that are C based. I don’t know any modern languages very well
--Bard
On Mar 29, 2021, at 10:10 PM, Itaru Kitayama @.***> wrote:
@Ermentrout , what's your primary compiler you'd like to support? GCC? Or some proprietary one?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
Hi,
I'm trying to build the latest commit in the master branch: 9068d8a, but it fails with a bunch of errors at the final linking step:
I also get similar errors when using the xppaut_latest.tar.gz from the download page.
This is with gcc 10: