#9 Problem compiling wildmidi 0.2.2

v0.2.2
closed-out-of-date
Chris Ison
5
2010-05-29
2009-11-10
Pierre
No

# make
Making all in include
make[1]: Entering directory `/tmp/wildmidi-0.2.2/include'
make all-am
make[2]: Entering directory `/tmp/wildmidi-0.2.2/include'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/tmp/wildmidi-0.2.2/include'
make[1]: Leaving directory `/tmp/wildmidi-0.2.2/include'
Making all in src
make[1]: Entering directory `/tmp/wildmidi-0.2.2/src'
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -s -O3 -march=i686 -Wall -Werror -g -save-temps -march=i686 -MT libWildMidi_la-wildmidi_lib.lo -MD -MP -MF ".deps/libWildMidi_la-wildmidi_lib.Tpo" \ -c -o libWildMidi_la-wildmidi_lib.lo `test -f 'wildmidi_lib.c' || echo './'`wildmidi_lib.c; \ then mv -f ".deps/libWildMidi_la-wildmidi_lib.Tpo" ".deps/libWildMidi_la-wildmidi_lib.Plo"; \ else rm -f ".deps/libWildMidi_la-wildmidi_lib.Tpo"; exit 1; \ fi
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -s -O3 -march=i686 -Wall -Werror -g -save-temps -march=i686 -MT libWildMidi_la-wildmidi_lib.lo -MD -MP -MF .deps/libWildMidi_la-wildmidi_lib.Tpo -c wildmidi_lib.c -fPIC -DPIC -o .libs/libWildMidi_la-wildmidi_lib.o
cc1: warnings being treated as errors
wildmidi_lib.c: In function 'WM_BufferFile':
wildmidi_lib.c:660: error: pointer targets in return differ in signedness
wildmidi_lib.c: In function 'WM_LoadConfig':
wildmidi_lib.c:802: error: pointer targets in passing argument 2 of 'strcpy' differ in signedness
/usr/include/string.h:127: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
wildmidi_lib.c: In function 'WM_ParseNewMidi':
wildmidi_lib.c:3443: error: pointer targets in passing argument 1 of 'strlen' differ in signedness
/usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *'
wildmidi_lib.c:3443: error: pointer targets in passing argument 1 of 'strlen' differ in signedness
/usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *'
wildmidi_lib.c:3443: error: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
wildmidi_lib.c:3443: note: expected 'const char *' but argument is of type 'unsigned char *'
wildmidi_lib.c:3443: error: pointer targets in passing argument 1 of 'strlen' differ in signedness
/usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *'
wildmidi_lib.c:3443: error: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
wildmidi_lib.c:3443: note: expected 'const char *' but argument is of type 'unsigned char *'
wildmidi_lib.c:3443: error: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
wildmidi_lib.c:3443: note: expected 'const char *' but argument is of type 'unsigned char *'
wildmidi_lib.c:3443: error: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
wildmidi_lib.c:3443: note: expected 'const char *' but argument is of type 'unsigned char *'
wildmidi_lib.c:3443: error: pointer targets in passing argument 1 of 'strncmp' differ in signedness
/usr/include/string.h:145: note: expected 'const char *' but argument is of type 'unsigned char *'
wildmidi_lib.c:3446: error: pointer targets in passing argument 1 of 'strlen' differ in signedness
/usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *'
wildmidi_lib.c:3446: error: pointer targets in passing argument 1 of 'strlen' differ in signedness
/usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *'
wildmidi_lib.c:3446: error: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
wildmidi_lib.c:3446: note: expected 'const char *' but argument is of type 'unsigned char *'
wildmidi_lib.c:3446: error: pointer targets in passing argument 1 of 'strlen' differ in signedness
/usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *'
wildmidi_lib.c:3446: error: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
wildmidi_lib.c:3446: note: expected 'const char *' but argument is of type 'unsigned char *'
wildmidi_lib.c:3446: error: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
wildmidi_lib.c:3446: note: expected 'const char *' but argument is of type 'unsigned char *'
wildmidi_lib.c:3446: error: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
wildmidi_lib.c:3446: note: expected 'const char *' but argument is of type 'unsigned char *'
wildmidi_lib.c:3446: error: pointer targets in passing argument 1 of 'strncmp' differ in signedness
/usr/include/string.h:145: note: expected 'const char *' but argument is of type 'unsigned char *'
wildmidi_lib.c:3520: error: pointer targets in passing argument 1 of 'strlen' differ in signedness
/usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *'
wildmidi_lib.c:3520: error: pointer targets in passing argument 1 of 'strlen' differ in signedness
/usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *'
wildmidi_lib.c:3520: error: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
wildmidi_lib.c:3520: note: expected 'const char *' but argument is of type 'unsigned char *'
wildmidi_lib.c:3520: error: pointer targets in passing argument 1 of 'strlen' differ in signedness
/usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *'
wildmidi_lib.c:3520: error: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
wildmidi_lib.c:3520: note: expected 'const char *' but argument is of type 'unsigned char *'
wildmidi_lib.c:3520: error: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
wildmidi_lib.c:3520: note: expected 'const char *' but argument is of type 'unsigned char *'
wildmidi_lib.c:3520: error: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
wildmidi_lib.c:3520: note: expected 'const char *' but argument is of type 'unsigned char *'
wildmidi_lib.c:3520: error: pointer targets in passing argument 1 of 'strncmp' differ in signedness
/usr/include/string.h:145: note: expected 'const char *' but argument is of type 'unsigned char *'
make[1]: *** [libWildMidi_la-wildmidi_lib.lo] Error 1
make[1]: Leaving directory `/tmp/wildmidi-0.2.2/src'
make: *** [all-recursive] Error 1

Discussion

  • Chris Ison
    Chris Ison
    2010-02-15

    I am looking into this but if you could give me more details about the build environment it will help in resolving this problem.

     
  • Chris Ison
    Chris Ison
    2010-02-15

    • assigned_to: nobody --> wildcode
     
  • Chris Ison
    Chris Ison
    2010-02-15

    • labels: --> Build Process
    • milestone: --> v0.2.2
     
  • Chris Ison
    Chris Ison
    2010-05-29

    • status: open --> closed-out-of-date