Displaying 20 results from an estimated 120 matches similar to: "Compiling - Win - GNU Compiler"
2013 Apr 06
2
Circular preprocessor define with MSVC
Hi,
in include/share/alloc.h there is this section:
#ifndef SIZE_MAX
# ifndef SIZE_T_MAX
# ifdef _MSC_VER
# define SIZE_T_MAX SIZE_MAX
# else
# error
# endif
# endif
# define SIZE_MAX SIZE_T_MAX
#endif
So, if we are on MSVC and have neither SIZE_MAX nor SIZE_T_MAX, we'll
define SIZE_T_MAX to mean SIZE_MAX and SIZE_MAX to mean SIZE_T_MAX.
I'm afraid this won't work ...
It
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
2002 Dec 18
1
[Bug 458] sshd crashes with "fatal: mm_malloc: size too big"
http://bugzilla.mindrot.org/show_bug.cgi?id=458
------- Additional Comments From us- at gmx.de 2002-12-19 03:16 -------
Sorry, typo: The irix version is 6.5.17 not 6.5.18
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
2002 Aug 20
2
Solaris 7 w/ current CVS.
Not sure about any other version, but I know sol7 lacks SIZE_T_MAX which
we are now using in -current.
OpenBSD defines it as ULONG_MAX. Pawing through the Solaris /usr/include
it stated it could be 'u_int' or 'u_long'. Depends on if your are
compiling legacy stuff.
I'm sure other OSes may encounter this issue (not tried Linux, but Redhat
7.x does not define it), but what
2003 Sep 05
3
[Bug 458] sshd crashes with "fatal: mm_malloc: size too big"
http://bugzilla.mindrot.org/show_bug.cgi?id=458
dtucker at zip.com.au changed:
What |Removed |Added
----------------------------------------------------------------------------
OS/Version|IRIX |All
Platform|MIPS |All
------- Additional Comments From dtucker at zip.com.au 2003-09-05 14:23
2011 Feb 08
1
Build issues and fixes
I've been putting some work into building Libflac into a game engine I'm
working on. I ran into a few small issues in the process, and was able
to fix them, so I thought I'd post with my fixes. These aren't generally
applicable - I'm taking a "shortest path to functionality" approach -
but with a little work could probably be turned into general patches.
First,
2013 Jul 02
2
About Decode Streaming
Martijn,
I don't use any metadata when encoding and decoding. When I call
*FLAC__StreamDecoderStateString[FLAC__stream_decoder_get_state(m_decoder)] *
*
*
it returns
FLAC__STREAM_DECODER_SEARCH_FOR_METADATA
enum value. Is it an error ?
2013/7/2 Burak Or?un ?zkablan <borcunozkablan at gmail.com>
> Hi again,
>
> I can not solve problem. I want to mention my source code, so
2007 Sep 26
1
Patches for building of flac 1.2.1
Hello,
We use two different patches to build flac.
The first one is a patch that detects correctly ranlib, ac, strip when
you cross-compile. We especially use the patch when compiling for
Windows under GNU/Linux.
http://trac.videolan.org/vlc/browser/trunk/extras/contrib/src/Patches/flac-cross.patch
The other one fixes an issue when compiling for Windows under Cygwin,
that can't find
2008 Oct 02
1
MinGW Patch
Erik de Castro Lopo wrote:
> will surgent wrote:
>
> > 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:
Would it be possible to get this patch applied? I still hit this
every time I try to
2013 Jul 02
0
About Decode Streaming
On 02-07-13 11:01, Burak Or?un ?zkablan wrote:
> I don't use any metadata when encoding and decoding. When I call
>
> *FLAC__StreamDecoderStateString[FLAC__stream_decoder_get_state(m_decoder)]
> *
> *
> *
> it returns
>
> FLAC__STREAM_DECODER_SEARCH_FOR_METADATA
>
> enum value. Is it an error ?
There is always metadata in a FLAC stream, for example, the
2013 Jul 02
3
About Decode Streaming
Yes, I have tried plain wav data with file and stream functions of decoder
and encoder. They work succesfully.
You're right about FLAC can't find the first block in stream, because I
didn't add any metadata in stream. The documentation of FLAC says that
metadata callback function is optional for stream function of decoder, so I
didn't need adding metadata.
Actually, I am sure
2004 Sep 10
0
http streaming in the xmms plugin
Hi,
Here's a patch to add support for streaming HTTP transport to the xmms
plugin. Most of the code (in particular, http.c) is taken from the xmms
mpg123 input plugin.
You'll need to make a three-line change to the xmms mpg123 input plugin to
get streaming to work. The mpeg plugin currently handles all http urls
itself unless they end in an ogg or real audio extension (which means flac
2008 Aug 13
0
MinGW Patch
will surgent wrote:
> 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:
<snip>
> #ifndef SIZE_MAX
> # ifndef SIZE_T_MAX
> # ifdef _MSC_VER
> # define SIZE_T_MAX UINT_MAX
> # elif
2007 Dec 04
0
Compilation of flac-1.2.1 fails under MinGW
Hi,
I obtain the following error messages when trying to compile flac
1.2.1 under MinGW :
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DFLaC__INLINE=__inline__ -DNDEBUG
-I../.. -I./include -I../../include -O3 -funroll-loops
-finline-functions -Wall -W -Winl ine -g -O2 -MT stream_decoder.lo -MD
-MP -MF .deps/stream_decoder.Tpo -c stream_ decoder.c -DDLL_EXPORT
-DPIC -o .libs/stream_decoder.o
2002 Dec 18
0
[Bug 458] New: sshd crashes with "fatal: mm_malloc: size too big"
http://bugzilla.mindrot.org/show_bug.cgi?id=458
Summary: sshd crashes with "fatal: mm_malloc: size too big"
Product: Portable OpenSSH
Version: 3.5p1
Platform: MIPS
OS/Version: IRIX
Status: NEW
Severity: normal
Priority: P3
Component: sshd
AssignedTo: openssh-unix-dev at mindrot.org
2011 Sep 15
1
decoder lost after processing
Hi,
I'm writing a simple flac playing program, and I've basically modified
the example C decoder code to use libao. The example code works just
fine, but when I use libao, after calling
FLAC__stream_decoder_process_until_end_of_stream(), decoder points to an
inaccessible area of memory (0x2). This invariable causes a segmentation
fault when anything else thereafter uses the decoder (i.e.
2013 Jul 01
2
About Decode Streaming
Sorry, I am newbie.
Sample codes are from
https://github.com/oneman/libflac/tree/master/examples/cpp.
I used FLAC__stream_decoder_process_single function but it still gives
exception. Maybe I could not control read callback, you're right.
I will check it and write result in this thread.
Thanks for help.
2013/7/1 Martijn van Beurden <mvanb1 at gmail.com>
> I'll top-post this
2006 May 11
2
C++ Set_Metadata Problem
I refer to a problem that appeared on the flac list last August that was
either solved off-list or abandoned.
(http://lists.xiph.org/pipermail/flac/2005-August/000468.html)
The problem is with using the C++ encoder classes, particularly the
FLAC::Encoder::File:set_metadata
function. JC said that the developers version of how to add a simple
metadata block looked right, but it did not work for
2002 Nov 04
0
[Bug 425] New: Integer overflow in mm_zalloc
http://bugzilla.mindrot.org/show_bug.cgi?id=425
Summary: Integer overflow in mm_zalloc
Product: Portable OpenSSH
Version: 3.5p1
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Miscellaneous
AssignedTo: openssh-unix-dev at mindrot.org
ReportedBy: siw at
2003 Dec 30
8
[Bug 651] SCO 3.2v4.2 and OpenSSH 3.7.1p1 --> connection hangs and does not close (ssh2 only)
http://bugzilla.mindrot.org/show_bug.cgi?id=651
------- Additional Comments From vikashb at comparexafrica.co.za 2003-12-30 16:39 -------
tried openssh-SNAP-20031223
does not compile:
(cd openbsd-compat && make)
gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I.. -I. -I./..
-I/usr/local/ssl/include -Dftruncate=chsize -I/usr/local/include
-DHAVE_CONFIG_H -c