Giter Site home page Giter Site logo

Comments (3)

hadley avatar hadley commented on June 5, 2024

I think if you try again now it will be ok. Working on some cross-platform C issues.

from readxl.

IainNZ avatar IainNZ commented on June 5, 2024

Works great, thanks!

from readxl.

rhurlin avatar rhurlin commented on June 5, 2024

I have the same problem, as described above, on FreeBSD with R-devel. I tried this on two ways, with same result:
(1) R CMD INSTALL readxl_0.1.0.tar.gz
(2) devtools::install_github("hadley/readxl")

[..snip..]
gcc48 -std=gnu99 -I/usr/local/lib/R/include -DNDEBUG -Iunix -I. -I/usr/local/include -DLIBICONV_PLUG -I"/usr/local/lib/R/library/Rcpp/include" -fpic -O2 -pipe -fno-builtin-erfcl -fno-builtin-powl -fno-builtin-sinhl -fno-builtin-tgammal -DLIBICONV_PLUG -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -c xlstool.c -o xlstool.o
xlstool.c:167:12: error: static declaration of 'asprintf' follows non-static declaration
static int asprintf(char *ret, const char *format, ...)
^
In file included from xlstool.c:38:0:
/usr/local/lib/gcc48/gcc/x86_64-portbld-freebsd11.0/4.8.5/include-fixed/stdio.h:410:6: note: previous declaration of 'asprintf' was here
int asprintf(char *
, const char , ...) __printflike(2, 3);
^
*
* Error code 1
Stop.
make: stopped in /tmp/RtmpaqXsxu/devtools4c7e361915db/hadley-readxl-7c7f66b/src
ERROR: compilation failed for package ‘readxl’

So it seems, that the problem with asprintf() is only solved for OSX?
Any help is really appreciated. Thanks in advance.

Reagards,
Rainer Hurling


version
platform amd64-portbld-freebsd11.0
arch amd64
os freebsd11.0
system amd64, freebsd11.0
status Under development (unstable)
major 3
minor 3.0
year 2015
month 09
day 04
svn rev 69292
language R
version.string R Under development (unstable) (2015-09-04 r69292)
nickname Unsuffered Consequences


sessionInfo()
R Under development (unstable) (2015-09-04 r69292)
Platform: amd64-portbld-freebsd11.0 (64-bit)
Running under: FreeBSD xxx.xxx.xxx 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r287160: Wed Aug 26 14:02:53 CEST 2015 [email protected]:/usr/obj/usr/src/sys/XXX amd64
locale:
[1] C/de_DE.UTF-8/de_DE.UTF-8/C/de_DE.UTF-8/de_DE.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] httr_1.0.0 R6_2.1.1 magrittr_1.5 rversions_1.0.2 tools_3.3.0 curl_0.9.3
[7] Rcpp_0.12.0 memoise_0.2.1 xml2_0.1.2 stringi_0.5-5 git2r_0.11.0 stringr_1.0.0
[13] digest_0.6.8 devtools_1.8.0

from readxl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.