[ogg-dev] oggz mingw
Conrad Parker
conrad at metadecks.org
Tue Jun 23 17:41:10 PDT 2009
2009/6/10 Frank Barchard <fbarchard at google.com>:
> When I try to 'make' oggz (0.9.9), I get the following compile error
> make[4]: Leaving directory `/c/liboggz/src/tools/oggz-chop'
> make[4]: Entering directory `/c/liboggz/src/tools'
> /bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 -Wall -Wextra -g
> -std=gnu99 -Wdeclaration-after-statement -Wno-unused -o oggz-info.exe
> oggz-info.o skeleton.o oggz_tools.o dirac.o ../liboggz/liboggz.la -logg
> -lm
> libtool: link: gcc -g -O2 -Wall -Wextra -g -std=gnu99
> -Wdeclaration-after-statement -Wno-unused -o .libs/oggz-info.exe oggz-info.o
> skeleton.o oggz_tools.o dirac.o ../liboggz/.libs/liboggz.a
> /mingw/lib/libogg.a
> oggz-info.o: In function `ot_fisbone_print':
> c:\liboggz\src\tools/oggz-info.c:297: undefined reference to `strsep'
> collect2: ld returned 1 exit status
> make[4]: *** [oggz-info.exe] Error 1
> That bit of code is:
>
> printf("\tMessage Header Fields:\n");
> while (1) {
> token = strsep(&messages, "\n\r");
> printf("\t %s", token);
> if (messages == NULL)
> break;
> }
>
> removing the offending code, it builds okay
>
ok, this should be fixed in the git HEAD now
(git://git.xiph.org/liboggz.git), commit
1461a737cc12b628614dd4569455c30362523122
Please test :-)
> gcc (GCC) 4.3.0 20080305 (alpha-testing) mingw-20080502
>
> It would help the Windows community if you provided prebuilt binaries...
> preferably Visual C built, but MinGW is fine... just avoid requiring cygwin
> if you can.
ok, there was recent talk of setting up a mingw buildbot.
Conrad.
More information about the ogg-dev
mailing list