I tried the suggestion: > 1) untar the package, which should yield a directory xraylib-1.0.8 > 2) change the line "CC=gcc" in src/xraylib/src/makefile into "CC=mingw32-gcc-4.4.0-dw2" > 3) install the package from the directory into which you unzipped the package as "pkg install xraylib-1.0.8"
The package seemed to compile with only warnings this time. However, I still can't use any of the functions in the package. For example octave-3.2.4.exe:18> AtomicWeight(4) error: `AtomicWeight' undefined near line 18 column 1 For reference, here is the output when I installed the package. octave-3.2.4.exe:12> pkg install xraylib-1.0.8 xrayfiles.c:1: warning: -fPIC ignored for target (all code is position independe nt) xrayglob.c:1: warning: -fPIC ignored for target (all code is position independen t) xrayvars.c:1: warning: -fPIC ignored for target (all code is position independen t) cross_sections.c:1: warning: -fPIC ignored for target (all code is position inde pendent) scattering.c:1: warning: -fPIC ignored for target (all code is position independ ent) atomicweight.c:1: warning: -fPIC ignored for target (all code is position indepe ndent) edges.c:1: warning: -fPIC ignored for target (all code is position independent) fluor_lines.c:1: warning: -fPIC ignored for target (all code is position indepen dent) fluor_yield.c:1: warning: -fPIC ignored for target (all code is position indepen dent) jump.c:1: warning: -fPIC ignored for target (all code is position independent) coskron.c:1: warning: -fPIC ignored for target (all code is position independent ) radrate.c:1: warning: -fPIC ignored for target (all code is position independent ) cs_line.c:1: warning: -fPIC ignored for target (all code is position independent ) polarized.c:1: warning: -fPIC ignored for target (all code is position independe nt) splint.c:1: warning: -fPIC ignored for target (all code is position independent) cs_barns.c:1: warning: -fPIC ignored for target (all code is position independen t) rm: cannot lstat `libxrl.a': No such file or directory make[1]: [external] Error 1 (ignored) pr_data.c:1: warning: -fPIC ignored for target (all code is position independent ) xrayglob_inline.c:1: warning: -fPIC ignored for target (all code is position ind ependent) xrayfiles_inline.c:1: warning: -fPIC ignored for target (all code is position in dependent) warning: gen_doc_cache: unusable help text in 'xraylib'. Ignoring function. warning: gen_doc_cache: unusable help text in 'xraylib'. Ignoring function. ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev