thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chad Walters (JIRA)" <j...@apache.org>
Subject [jira] Commented: (THRIFT-302) Native extension fails to build
Date Tue, 03 Feb 2009 00:49:59 GMT

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

Chad Walters commented on THRIFT-302:
-------------------------------------

Becaue strncpy is severely brain-damaged.

> Native extension fails to build
> -------------------------------
>
>                 Key: THRIFT-302
>                 URL: https://issues.apache.org/jira/browse/THRIFT-302
>             Project: Thrift
>          Issue Type: Bug
>          Components: Library (Ruby)
>            Reporter: Esteve Fernandez
>            Priority: Critical
>         Attachments: ruby_ext_errors.log, thrift-302.patch
>
>
> The Ruby native extension fails to build in Linux (Ubuntu 8.04) due to:
> - files not ending in a newline (just a warning, but make aborts since extconf.rb uses
-Werror)
> - strlcpy not being available in Linux. I've replaced it with strncpy, although it's
not exactly the same. If we want to use the former, strlcpy's source code should be included.
> - uint8_t, uint32_t, etc. not found. I just added stdint.h to binary_protocol_accelerated.c

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message