Lance,
I use a workaround on OSX Mountain Lion which fails with the same error,
and it might work for you too. Patch attached and as follows:
--------------------START-------------------------------
# HG changeset patch
# User Cinder Roxley <cin...@cinderblocks.biz>
# Date 1360441583 25200
# Node ID e3673fb4cbfafe3c0a7c2a88851316fb60422254
# Parent 7ccbd027c9b098d42632ae17f281804a0f8a5cb5
Yacc fix for Mountain Lion
diff --git a/indra/lscript/lscript_compile/indra.l
b/indra/lscript/lscript_compile/indra.l
--- a/indra/lscript/lscript_compile/indra.l
+++ b/indra/lscript/lscript_compile/indra.l
@@ -62,9 +62,9 @@
#define ECHO do { } while (0)
#if defined(__cplusplus)
-extern "C" { int yylex( void ); }
-extern "C" { int yyparse( void ); }
-extern "C" { int yyerror(const char *fmt, ...); }
+extern int yylex( void );
+extern int yyparse( void );
+extern int yyerror(const char *fmt, ...);
#endif
%}
diff --git a/indra/lscript/lscript_compile/indra.y
b/indra/lscript/lscript_compile/indra.y
--- a/indra/lscript/lscript_compile/indra.y
+++ b/indra/lscript/lscript_compile/indra.y
@@ -3,7 +3,7 @@
#include "lscript_tree.h"
#ifdef __cplusplus
- extern "C" {
+ extern //"C" {
#endif
int yylex(void);
@@ -21,7 +21,7 @@
#endif
#ifdef __cplusplus
- }
+ //}
#endif
%}
----------------------END-----------------------
Kind regards,
Cinder Roxley
On 9 Feb 2013, at 12:40, Lance Corrimal wrote:
This is where I'm stuck now:
[ 363s] /home/abuild/rpmbuild/BUILD/viewer-development/build-linux-
i686/lscript/lscript_compile/indra.y.hpp:176: error: previous
declaration of
'int yyparse()' with 'C++' linkage
[ 363s] /home/abuild/rpmbuild/BUILD/viewer-
development/indra/lscript/lscript_compile/indra.l:61: error: conflicts
with
new declaration with 'C' linkage
any ideas?
cheers,
LC
Am Samstag, 9. Februar 2013, 13:56:56 schrieb Lance Corrimal:
Am Samstag, 9. Februar 2013, 04:41:10 schrieb Nicky Perian:
Would you mark BUG-1610 as a duplicate of OPEN-164?
definitely not. the problem that I had is because glibc 2.17 brings
the
siginfo_t definition by itself... definitely something else.
What I'd think suitable would be a "meta bug" that says "Current
source
fails to build on newer linux distributions" that would depend on
BOTH
open-164 and bug-1610 and possibly others.
besides, I found two more build breakages on openSUSE 12.3 by now...
One might be fixable by just adding the right build requirement tho.
cheers,
LC
________________________________
From: Lance Corrimal <lance.corri...@eregion.de>
To: opensource-dev@lists.secondlife.com
Sent: Saturday, February 9, 2013 5:00 AM
Subject: Re: [opensource-dev] BUG-1610: Current development source
does
not
build with glibc 2.17
Thanks... I haven't even gotten that far, my build died way
earlier, with
a
conflicting declaration for siginfo_t, but I got that tackled now.
cheers,
LC
Am Samstag, 9. Februar 2013, 02:34:09 schrieb Nicky Perian:
https://bitbucket.org/NickyP/kokua-3.4.4/commits/22012aa8388a38fb657113
b0
db3 effcfdaa3a8d9
________________________________
From: Lance Corrimal <lance.corri...@eregion.de>
To: opensource-dev@lists.secondlife.com
Sent: Saturday, February 9, 2013 4:13 AM
Subject: [opensource-dev] BUG-1610: Current development source
does
not
build with glibc 2.17
hi,
does anyone have anything for me about fixing up the source to
build
with
glibc 2.17? I'm getting ready for openSUSE 12.3 here, and that
uses
the
newer glibc...
for details, see BUG-1610
cheers,
LC
_______________________________________________
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated
posting
privileges
_______________________________________________
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting
privileges
_______________________________________________
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting
privileges
_______________________________________________
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting
privileges
# HG changeset patch
# User Cinder Roxley <cin...@cinderblocks.biz>
# Date 1360441583 25200
# Node ID e3673fb4cbfafe3c0a7c2a88851316fb60422254
# Parent 7ccbd027c9b098d42632ae17f281804a0f8a5cb5
Yacc fix for Mountain Lion
diff --git a/indra/lscript/lscript_compile/indra.l
b/indra/lscript/lscript_compile/indra.l
--- a/indra/lscript/lscript_compile/indra.l
+++ b/indra/lscript/lscript_compile/indra.l
@@ -62,9 +62,9 @@
#define ECHO do { } while (0)
#if defined(__cplusplus)
-extern "C" { int yylex( void ); }
-extern "C" { int yyparse( void ); }
-extern "C" { int yyerror(const char *fmt, ...); }
+extern int yylex( void );
+extern int yyparse( void );
+extern int yyerror(const char *fmt, ...);
#endif
%}
diff --git a/indra/lscript/lscript_compile/indra.y
b/indra/lscript/lscript_compile/indra.y
--- a/indra/lscript/lscript_compile/indra.y
+++ b/indra/lscript/lscript_compile/indra.y
@@ -3,7 +3,7 @@
#include "lscript_tree.h"
#ifdef __cplusplus
- extern "C" {
+ extern //"C" {
#endif
int yylex(void);
@@ -21,7 +21,7 @@
#endif
#ifdef __cplusplus
- }
+ //}
#endif
%}
_______________________________________________
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges