Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: oggenc GCC 3.1 Compile (Read 9995 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

oggenc GCC 3.1 Compile

Reply #25
this compile crashes my k6-2 too

oggenc GCC 3.1 Compile

Reply #26
Just uploaded makefiles and batch files for compiling oggenc.exe using MinGw32/GCC3.1. You can download them here . I would urge you to read the 'readme.txt' first!!

oggenc GCC 3.1 Compile

Reply #27
It seems that gcc 3.1 is also available for cygwin

I am updating my cygwin now

oggenc GCC 3.1 Compile

Reply #28
thanks john33

I must add something:
- if you downloaded the src package from xiph, you must also rename the directory on your hard disk from "vorbis-tools-1.0" to "vorbis-tools"; from "libogg-1.0" to "ogg"; from "libvorbis-1.0" to "vorbis"
- i get an error compiling vorbisenc

d:mingwbingcc platform.o resample.o encode.o oggenc.o audio.o utf8.o getopt1.
o getopt.o -s -DWIN32 -D_WIN32 -DNDEBUG -DVORBIS_IEEE_FLOAT32 -Id:mingwINCLUDE
-Id:mingwINCLUDEG++-3 -Id:mingwINCLUDE -Ld:mingwLIB -Bd:mingwBIN -Id:
vorbis-srcogginclude -Id:vorbis-srcvorbisinclude -Id:vorbis-srcvorbislib
-Id:vorbis-srcvorbislibbooks -Id:vorbis-srcvorbislibmodes -Id:vorbis-s
rcvorbis-toolsinclude -O3 -fstrength-reduce -fno-expensive-optimizations -finl
ine-functions -fomit-frame-pointer -funroll-loops -ffast-math -foptimize-registe
r-move -fdefer-pop -march=i686 libvorbis.a libogg.a -o oggenc.exe
oggenc.o(.text+0x7ac):oggenc.c: undefined reference to `setbinmode'
oggenc.o(.text+0xdac):oggenc.c: undefined reference to `setbinmode'
oggenc.o(.text+0xe8e):oggenc.c: undefined reference to `setbinmode'

oggenc GCC 3.1 Compile

Reply #29
Sorry, about that!

I thought I should have remembered one other thing to be done! You need to edit 'platform.c', line 26 to read:
Code: [Select]
#if defined(_WIN32)/* && defined(_MSC_VER)*/

otherwise, 'setbinmode' isn't set correctly!

oggenc GCC 3.1 Compile

Reply #30
Ok, now it works, thanks John33

 

oggenc GCC 3.1 Compile

Reply #31
Ok... oggenc and oggdec are compiling and working... but why is gcc complaining about "`va_start' used in function with fixed args" in ogginfo2.c
All these functions have variable args

Any ideas?