It is currently Sun Aug 18, 2019 6:10 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Compiling openl2tp under Fedora 10
PostPosted: Fri Jan 29, 2010 9:03 am 

Joined: Fri Jan 29, 2010 8:44 am
Posts: 3
I'm having problems compiling openl2tp on a x86_64 system running Fedora 12.
I used the openl2tp-1.6-1.fc9.src.rpm for a start. rpmbuild produces during
compilation of the usl files errors about breaking strict aliasing rules. Therefore
I added -fno-strict-aliasing to the compile options. After this the usl files compile,
but another problem crops up
l2tp_config_parse.c:270: error: expected identifier before numeric constant

Does somebody have a patch to make openl2tp compile?

The compiler used is gcc-4.4.2
Bison is bison-2.4.1
Flex is flex-2.5.35

Thanks.
Eberhard


Top
 Profile  
 
 Post subject: Re: Compiling openl2tp under Fedora 10
PostPosted: Mon Feb 08, 2010 12:45 pm 
Site Admin

Joined: Sun Jul 27, 2008 1:39 pm
Posts: 122
schruefer wrote:
I'm having problems compiling openl2tp on a x86_64 system running Fedora 12.
I used the openl2tp-1.6-1.fc9.src.rpm for a start. rpmbuild produces during
compilation of the usl files errors about breaking strict aliasing rules. Therefore
I added -fno-strict-aliasing to the compile options. After this the usl files compile,
but another problem crops up
l2tp_config_parse.c:270: error: expected identifier before numeric constant

Does somebody have a patch to make openl2tp compile?

The compiler used is gcc-4.4.2
Bison is bison-2.4.1
Flex is flex-2.5.35

Thanks for the heads up about this. We haven't used Fedora 12 yet. It looks like the openl2tp bison parser is broken by an updated bison version in F12. :-(


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group