[ogg-dev] oggz mingw

Frank Barchard fbarchard at google.com
Tue Jun 9 10:51:27 PDT 2009


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

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.

Cheers,

Frank Barchard

Google Chrome <video>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/ogg-dev/attachments/20090609/f7e26af6/attachment.htm 


More information about the ogg-dev mailing list