Displaying 20 results from an estimated 10000 matches similar to: "Fixes to make flac build on Solaris"
2008 Aug 13
4
MinGW Patch
Hello, I was trying to compile Flac on MinGW/Msys but got an error stating
SIZE_T_MAX is undefined.
To fix this error I edited the file "flac-1.2.1/include/share/alloc.h" and
made the following change:
Starting at line #36 I changed:
#ifndef SIZE_MAX
# ifndef SIZE_T_MAX
# ifdef _MSC_VER
# define SIZE_T_MAX UINT_MAX
# else
# error
# endif
# endif
# define SIZE_MAX SIZE_T_MAX
2013 Mar 03
3
Fwd: flac 1.3.0pre1 prelease
Ben Allison wrote:
> There's a more few issues for compiling on MSVC. I put together a patch.
>
> Here's a quick rundown:
> * must use __inline keyword with static inline functions (bitmath.h)
If you include "share/compath.h" you will get a inline #defined as __inline
when _MSC_VER is defined. I'd prefer a single diffinition of that in one
place and one place
2008 Sep 13
2
moving from aov() to lmer()
Hello,
I've used this command to analyse changes in brain volume:
mod1<-aov(Volume~Sex*Lobe*Tissue+Error(Subject/(Lobe*Tissue)),data.vslt)
I'm comparing males/females. For every subject I have 8 volume measurements
(4 different brain lobes and 2 different tissues (grey/white matter)).
As aov() provides only type I anovas, I would like to use lmer() with type
II, however, I have
2008 Sep 14
2
Help please! How to code a mixed-model with 2 within-subject factors using lme or lmer?
Hello,
I'm using aov() to analyse changes in brain volume between males and
females. For every subject (there are 331 in total) I have 8 volume
measurements (4 different brain lobes and 2 different tissues
(grey/white matter)). The data looks like this:
Subject Sex Lobe Tissue Volume
subect1 1 F g 262374
subect1 1 F w 173758
subect1 1 O g 67155
subect1 1 O w 30067
subect1 1 P g 117981
2007 Aug 24
0
Fixes to make flac build on Solaris
Josh:
> fixed, thanks!
Thanks. However, I think there is a better patch to fix these problems.
I reworked this patch not long ago to do better testing for what inline
to use in configure, and also a better way to calculate the size of
the #defines in replaygain_analysis.c. This was submitted to the
SourceForge bug tracker as bug 1701960. See here, and note attached
patch.
2007 Feb 03
3
need help with MSVC
for recent code changes I find myself needing some workarounds
for MSVC6:
1st, I need a fast way to swap bytes (for endianness) of a 32-bit
int. I could not find a builtin like bswap; the closest thing I
found was ntohl() which appears to be a function call and also
requires linking with winsock2 (ws2_32.lib) to get it.
2nd, I need an equivalent for lround() (or round() is ok), which
is not in
2012 Jul 06
3
[LLVMdev] Problem with __inline keyword
I'm attempting to use clang/llvm to compile some legacy C code, and am
running into a strange issue. There are several functions in my
codebase which make use of the __inline keyword, but do not include
the customary static keyword along with it. When I compile these
files, the generated code appears not to have any of the function
definitions in it--just undefined references to external
2013 Mar 04
2
Fwd: flac 1.3.0pre1 prelease
Ben Allison wrote:
> >> * change instances of uint32_t in bitwriter.c to FLAC__uint32
> >
> > Can we include <inttypes.h> to fix this instead?
>
> Sadly there is no inttypes.h on MSVC. At least versions to Visual Studio
> 2010. I presume this is why ordinal.h was created in the first place.
I'm not sure how Josh came to do it that way. In general, I
2013 Mar 03
5
Fwd: flac 1.3.0pre1 prelease
Johnny Rosenberg wrote:
> Maybe a stupid question, but I was born stupid and I have walked that
> path ever since, so: Is there a changelog?
The only changelog is the git changelog. I will be writing a real
changelog to go in the actual release tarball before the official
release.
The git changelog is available here:
https://git.xiph.org/?p=flac.git;a=summary
or in any git clone of
2007 Oct 04
2
bnlearn package compilation failure on MacOSX
Hi all.
I've recently uploaded a package (bnlearn) to CRAN. It builds fine
on both Linux (32 and 64 bit) and Windows, but fails on MacOSX ix86
because of C90 vs C99 issues:
http://www.r-project.org/nosvn/R.check/r-patched-macosx-ix86/bnlearn-00install.html
Since I've no MacOSX machine at hand, I would like to ask you:
why is C99 not the default for gcc on MacOSX ix86? Is it safe to
2005 Jan 15
1
test61 ./configure fails on OpenBSD 3.6
Test version 61 ./configure is failing on my OpenBSD 3.6-stable system.
The following corrects the problem. Would it be possible to test for
gnu99 option
before using it in subsequent tests?
--- configure.in.orig Fri Jan 14 14:04:10 2005
+++ configure.in Fri Jan 14 16:44:22 2005
@@ -236,7 +236,7 @@
# say specifically that we want C99 features.
# we can make use of
2014 Sep 01
3
Unable to compile R 3.1.3 under GCC 4.1.2 (Red Hat 4.1.2-51)
Hi all,
I'm unable to compile R under an HPC system (which like many HPC systems
doesn't always have the latest and greatest software). The version of
GCC is 4.1.2 under CentOS 5.7. Running ./configure gives the following
output:
R is now configured for x86_64-unknown-linux-gnu
Source directory: .
Installation directory: /home/tbarik
C compiler: gcc
2012 Jul 06
0
[LLVMdev] Problem with __inline keyword
Hello
> I know there are some weird semantics among different compilers with
> the inline/__inline keywords in C when you don't pair them with
> static, but I can't imagine that this is correct. Is there a bug
> here, or am I missing something?
Yes, clang is correct here, you're missing C99 inline semantics. You
can either read C99 standard or
2013 Apr 07
2
flac 1.3.0pre3 pre-release
Dagobert Michelsen wrote:
> There compilation on Solaris 10 Sparc with Sun Studio 12 gives the following compile errors:
>
> > CC bitreader.lo
> > "bitreader.c", line 494: warning: implicit function declaration: MIN
> > CC bitwriter.lo
> > "bitwriter.c", line 273: reference to static identifier "bitwriter_grow_" in extern
2008 Dec 18
1
Tip for removing -c99 when compiling with icc
Dear developeRs,
As of icc 10, the -c99 option is deprecated, and generates a lot of
warnings when compiling R or R packages.
If you use CC="icc -std=c99" instead of just CC="icc", R's configure
will not add the -c99 option, and the code seems to compile and run just
fine.
(Please don't hesitate to let me know if this is a bad idea. :-)
--
Regards,
Bj?rn-Helge
2010 Jun 18
1
Crosscompile error tinc => 1.0.11 on openwrt whiterussian 0.9
Hello!
I try to maintain a couple off old Openwrt based routers. The routers
run openwrt whiterussian, so it quite outdated. But it is a little
dangerous to update a remote machine from whiterussian to kamikaze or
backfire, this may be usefull for others.
I used the openwrt whiterussian 0.9 sdk and the attached Makefile to
compile all tinc versions till 1.0.11. Since 1.0.11 the compile process
2015 Sep 24
2
v2.2.19 release candidate released
On 24 Sep 2015, at 13:43, Marcin Miros?aw <marcin at mejor.pl> wrote:
>
> W dniu 23.09.2015 o 15:30, Timo Sirainen pisze:
>> http://dovecot.org/releases/2.2/rc/dovecot-2.2.19.rc1.tar.gz
>> http://dovecot.org/releases/2.2/rc/dovecot-2.2.19.rc1.tar.gz.sig
>>
>> A lot of changes since v2.2.18, so here's a release candidate first. If no bugs are reported,
2008 Jun 24
4
Problem Compiling 1.1.1 on AIX
Hi all,
We've been running Dovecot since December '07 with with no glitches.
It's a great solid piece of software, thanks so much Timo!!
I thought I'd try out 1.1.1, so I brought it down and tried compiling
it on AIX, using the IBM compiler, xlc. It's what I've used all along.
The error I'm seeing on the make is:
source='array.c'
2006 Oct 17
4
[PATCH] Fix tools build on Solaris
# HG changeset patch
# User john.levon@sun.com
# Date 1161090606 25200
# Node ID c6bfe43048f3becda6966deceb7b70baea833b7c
# Parent 03d4223c846b14fc415cfd05d970c7b4d688fddb
Many of the tools use C99 features such as bool, or expect certain functions.
Fix the CFLAGS to enable these on Solaris.
Signed-off-by: John Levon <john.levon@sun.com>
diff --git a/config/SunOS.mk b/config/SunOS.mk
---
2018 Dec 29
5
2.3.4 doesnt compile on FreeBSD 11.2 using clang
extract below, this has already been reported a while back but still
no new patch, so this email is to serve as a reminder, if someone
manually fixes it for the ports tree, I dont consider that a fix,
ideally we need this fixed in the source code, as not everyone will
install it from ports.
Chris
"clang40 -DHAVE_CONFIG_H -I. -I../.. -I../../src/lib
-I../../src/lib-dns -I../../src/lib-test