Menu

Compiling on Debian

2012-05-08
2013-04-26
  • Erick Massa Sprengel

    "sh cvs_bootstrap"… Success!
    but… when I execute "make"…

    Making all in mp4av
    make[3]: Entrando no diretório `/home/erick/mp4creator/lib/mp4av'
    /bin/bash ../../libtool --tag=CXX   --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../lib/mp4v2 -I../../lib/avi    -DMPEG4IP -Wall -Werror -Wno-char-subscripts -Woverloaded-virtual -Wno-unknown-pragmas -Wno-deprecated -Wformat=2 -Wpointer-arith -Wsign-compare -fno-strict-aliasing -g -O2 -DMPEG4IP -MT aac.lo -MD -MP -MF .deps/aac.Tpo -c -o aac.lo aac.cpp
    libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../lib/mp4v2 -I../../lib/avi -DMPEG4IP -Wall -Werror -Wno-char-subscripts -Woverloaded-virtual -Wno-unknown-pragmas -Wno-deprecated -Wformat=2 -Wpointer-arith -Wsign-compare -fno-strict-aliasing -g -O2 -DMPEG4IP -MT aac.lo -MD -MP -MF .deps/aac.Tpo -c aac.cpp  -fPIC -DPIC -o .libs/aac.o
    In file included from ../../lib/mp4v2/mp4.h:35,
                     from ./mp4av.h:25,
                     from ./mp4av_common.h:26,
                     from aac.cpp:27:
    ../../include/mpeg4ip.h:126: error: new declaration ‘char* strcasestr(const char*, const char*)’
    /usr/include/string.h:367: error: ambiguates old declaration ‘const char* strcasestr(const char*, const char*)’
    cc1plus: warnings being treated as errors
    aac.cpp: In function ‘bool MP4AV_AacGetConfiguration_LATM(u_int8_t**, u_int32_t*, u_int8_t, u_int32_t, u_int8_t)’:
    aac.cpp:230: error: suggest parentheses around ‘+’ in operand of ‘&’
    make[3]: ** [aac.lo] Erro 1
    make[3]: Saindo do diretório `/home/erick/mp4creator/lib/mp4av'
    make[2]: ** [all-recursive] Erro 1
    make[2]: Saindo do diretório `/home/erick/mp4creator/lib'
    make[1]: ** [all-recursive] Erro 1
    make[1]: Saindo do diretório `/home/erick/mp4creator'
    make: ** [all] Erro 2
    

    Help.! Pls.!

     
  • bat

    bat - 2012-06-07

    Hi
    I have the same make error:-

    Making all in mp4av
    make[3]: Entering directory `/home/ron/mp4creator/tags/v1.6.1e-pre/lib/mp4av'
    /bin/bash ../../libtool --tag=CXX   --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../lib/mp4v2 -I../../lib/avi    -DMPEG4IP -Wall -Werror -Wno-char-subscripts -Woverloaded-virtual -Wno-unknown-pragmas -Wno-deprecated -Wformat=2 -Wpointer-arith -Wsign-compare -fno-strict-aliasing -g -O2 -DUSE_MMX -DMPEG4IP -MT aac.lo -MD -MP -MF .deps/aac.Tpo -c -o aac.lo aac.cpp
    libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../lib/mp4v2 -I../../lib/avi -DMPEG4IP -Wall -Werror -Wno-char-subscripts -Woverloaded-virtual -Wno-unknown-pragmas -Wno-deprecated -Wformat=2 -Wpointer-arith -Wsign-compare -fno-strict-aliasing -g -O2 -DUSE_MMX -DMPEG4IP -MT aac.lo -MD -MP -MF .deps/aac.Tpo -c aac.cpp  -fPIC -DPIC -o .libs/aac.o
    cc1plus: warnings being treated as errors
    aac.cpp: In function ‘bool MP4AV_AacGetConfiguration_LATM(u_int8_t**, u_int32_t*, u_int8_t, u_int32_t, u_int8_t)’:
    aac.cpp:230:30: error: suggest parentheses around ‘+’ in operand of ‘&’
    make[3]: *** [aac.lo] Error 1
    make[3]: Leaving directory `/home/ron/mp4creator/tags/v1.6.1e-pre/lib/mp4av'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/ron/mp4creator/tags/v1.6.1e-pre/lib'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/ron/mp4creator/tags/v1.6.1e-pre'
    make: *** [all] Error 2[\code]
    I'm compiling from cvs mp4creator-v1.6.1e-pre.
    With Ubuntu 11.04 Natty.
    I've done two modifications...
    1
    Deleted line 126 of file /include/mpeg4ip.h
    [code]char *strcasestr(const char *haystack, const char *needle);[/code]
    2
    Edited line 17444 of configure file
    changed -r into -v
    [code]BILLSNASM_arg=`nasm -v | tr '.' ' '`[/code]
    Is there something else needs to be done?
    Are there dependencies missing?
    Or is it a bug?
    The whole console output is here ---> [url]http://pastebin.com/2yNYQqvD[/url]
    
     
  • bat

    bat - 2012-06-07

    Hello again.
    Same result also with Ubuntu 12.04.

     

Log in to post a comment.