[ 
https://issues.apache.org/jira/browse/THRIFT-2800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14205011#comment-14205011
 ] 

Konrad Grochowski commented on THRIFT-2800:
-------------------------------------------

seems like another case of std=c++/gnu differences - exactly like with strdup

what version of gcc do you have? it's really strange behavior... (I compile 
with -std=c++11 all the time and never had problems with GNU extensions, yet I 
haven't try compiling on cygwin for ages.). Maybe it occurs only in specific 
gcc versions or only on cygwin... 

have you tried changing  configure.ac and rerunning configure? 
(Replacing AX_CXX_COMPILE_STDCXX_11([noext]) with 
AX_CXX_COMPILE_STDCXX_11([ext]))

> error in running make : error in thrifty.cc the method yyparse() reserch the 
> method strdup() (not declared)
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: THRIFT-2800
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2800
>             Project: Thrift
>          Issue Type: Bug
>          Components: Build Process
>         Environment: cygwin64
> Windows 7 _ 64 bits
>            Reporter: saber hattay
>            Priority: Blocker
>              Labels: build, github-import
>         Attachments: ConfigureAndMake.txt, FileNoError.jpg, MakeAndFlex.jpg, 
> commandeMake.jpg, errorMake.jpg, strdup.patch, strdup.patch, 
> strdup_removed.patch, thriftyNewVersion.yy, thriftyOldVersion.yy
>
>
> Hello, 
> When I tape this command : configure && make  
> I receive this result : 
> make : *** error 2 
> cause by the appel of this function strdup() (function not declared). 
> It's the first time I want to build thrift. 
> Thank you in advance for you help. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to