make errors

classic Classic list List threaded Threaded
13 messages Options
Reply | Threaded
Open this post in threaded view
|

make errors

dizy
I'm trying to install sox (14.3.1)  on a shared hosting box.

$ ./configure --prefix=$HOME
... no errors
$ make -s
Making all in lpc10
Making all in libgsm
Making all in src
sox.c:1708:1: warning: embedding a directive within macro arguments is not portable
sox.c:1710:1: warning: embedding a directive within macro arguments is not portable
sox.c:1712:1: warning: embedding a directive within macro arguments is not portable
formats.c: In function ‘init_format’:
formats.c:1173: warning: negative integer implicitly converted to unsigned type
stats.c: In function ‘bit_depth’:
stats.c:135: warning: negative integer implicitly converted to unsigned type
In file included from amr-nb.c:134:
amr.h: In function ‘openlibrary’:
amr.h:89: warning: unused parameter ‘encoding’
In file included from amr-wb.c:123:
amr.h: In function ‘openlibrary’:
amr.h:89: warning: unused parameter ‘encoding’
mp3.c:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘const’
mp3.c:60: warning: ISO C does not allow extra ‘;’ outside of a function
make[1]: *** [libsox_la-mp3.lo] Error 1
make: *** [all-recursive] Error 1



I also tried running make on my mac book pro, and get slightly different errors but also ending similarly...

mp3.c:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘const’
mp3.c:60: warning: ISO C does not allow extra ‘;’ outside of a function
In file included from mp3.c:248:
mp3-util.h: In function ‘write_comments’:
mp3-util.h:41: warning: passing argument 2 of ‘p->id3tag_set_pad’ with different width due to prototype
mp3.c: In function ‘get_id3v2_tag_size’:
mp3.c:604: warning: passing argument 2 of ‘fread’ with different width due to prototype
mp3.c:611: warning: passing argument 3 of ‘strncmp’ with different width due to prototype
mp3.c: In function ‘rewrite_id3v2_tag’:
mp3.c:650: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘size_t’
mp3.c:672: warning: passing argument 3 of ‘fwrite’ with different width due to prototype
mp3.c:673: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘size_t’
mp3.c: In function ‘rewrite_tags’:
mp3.c:725: warning: passing argument 2 of ‘fwrite’ with different width due to prototype
mp3.c:725: warning: passing argument 3 of ‘fwrite’ with different width due to prototype
make[1]: *** [libsox_la-mp3.lo] Error 1
make: *** [all-recursive] Error 1


Can someone help me figure out what the issue is?  I'm not sure where to go from here.



------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users
Reply | Threaded
Open this post in threaded view
|

Re: make errors

Chris Bagwell
On Tue, Feb 8, 2011 at 6:15 PM, dizy <[hidden email]> wrote:

> I'm trying to install sox (14.3.1)  on a shared hosting box.
> $ ./configure --prefix=$HOME
> ... no errors
> $ make -s
> Making all in lpc10
> Making all in libgsm
> Making all in src
> sox.c:1708:1: warning: embedding a directive within macro arguments is not
> portable
> sox.c:1710:1: warning: embedding a directive within macro arguments is not
> portable
> sox.c:1712:1: warning: embedding a directive within macro arguments is not
> portable
> formats.c: In function ‘init_format’:
> formats.c:1173: warning: negative integer implicitly converted to unsigned
> type
> stats.c: In function ‘bit_depth’:
> stats.c:135: warning: negative integer implicitly converted to unsigned type
> In file included from amr-nb.c:134:
> amr.h: In function ‘openlibrary’:
> amr.h:89: warning: unused parameter ‘encoding’
> In file included from amr-wb.c:123:
> amr.h: In function ‘openlibrary’:
> amr.h:89: warning: unused parameter ‘encoding’
> mp3.c:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
> ‘const’
> mp3.c:60: warning: ISO C does not allow extra ‘;’ outside of a function
> make[1]: *** [libsox_la-mp3.lo] Error 1
> make: *** [all-recursive] Error 1
>
>
> I also tried running make on my mac book pro, and get slightly different
> errors but also ending similarly...
> mp3.c:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
> ‘const’
> mp3.c:60: warning: ISO C does not allow extra ‘;’ outside of a function
> In file included from mp3.c:248:
> mp3-util.h: In function ‘write_comments’:
> mp3-util.h:41: warning: passing argument 2 of ‘p->id3tag_set_pad’ with
> different width due to prototype
> mp3.c: In function ‘get_id3v2_tag_size’:
> mp3.c:604: warning: passing argument 2 of ‘fread’ with different width due
> to prototype
> mp3.c:611: warning: passing argument 3 of ‘strncmp’ with different width due
> to prototype
> mp3.c: In function ‘rewrite_id3v2_tag’:
> mp3.c:650: warning: format ‘%d’ expects type ‘int’, but argument 2 has type
> ‘size_t’
> mp3.c:672: warning: passing argument 3 of ‘fwrite’ with different width due
> to prototype
> mp3.c:673: warning: format ‘%d’ expects type ‘int’, but argument 2 has type
> ‘size_t’
> mp3.c: In function ‘rewrite_tags’:
> mp3.c:725: warning: passing argument 2 of ‘fwrite’ with different width due
> to prototype
> mp3.c:725: warning: passing argument 3 of ‘fwrite’ with different width due
> to prototype
> make[1]: *** [libsox_la-mp3.lo] Error 1
> make: *** [all-recursive] Error 1
>
> Can someone help me figure out what the issue is?  I'm not sure where to go
> from here.
>
>

Because of Sourceforge issues, I do not have easy access to sox-14.3.1
to see that exact line... in mean time, what version of lame and
libmad are you using?

I used lame-398-2 and libmad-0.15.1b

Chris

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users
Reply | Threaded
Open this post in threaded view
|

Re: make errors

dizy
lame 3.97, and I don't think libmad is installed... or at least I can't find it.

On Tue, Feb 8, 2011 at 10:06 PM, Chris Bagwell <[hidden email]> wrote:
On Tue, Feb 8, 2011 at 6:15 PM, dizy <[hidden email]> wrote:
> I'm trying to install sox (14.3.1)  on a shared hosting box.
> $ ./configure --prefix=$HOME
> ... no errors
> $ make -s
> Making all in lpc10
> Making all in libgsm
> Making all in src
> sox.c:1708:1: warning: embedding a directive within macro arguments is not
> portable
> sox.c:1710:1: warning: embedding a directive within macro arguments is not
> portable
> sox.c:1712:1: warning: embedding a directive within macro arguments is not
> portable
> formats.c: In function ‘init_format’:
> formats.c:1173: warning: negative integer implicitly converted to unsigned
> type
> stats.c: In function ‘bit_depth’:
> stats.c:135: warning: negative integer implicitly converted to unsigned type
> In file included from amr-nb.c:134:
> amr.h: In function ‘openlibrary’:
> amr.h:89: warning: unused parameter ‘encoding’
> In file included from amr-wb.c:123:
> amr.h: In function ‘openlibrary’:
> amr.h:89: warning: unused parameter ‘encoding’
> mp3.c:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
> ‘const’
> mp3.c:60: warning: ISO C does not allow extra ‘;’ outside of a function
> make[1]: *** [libsox_la-mp3.lo] Error 1
> make: *** [all-recursive] Error 1
>
>
> I also tried running make on my mac book pro, and get slightly different
> errors but also ending similarly...
> mp3.c:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
> ‘const’
> mp3.c:60: warning: ISO C does not allow extra ‘;’ outside of a function
> In file included from mp3.c:248:
> mp3-util.h: In function ‘write_comments’:
> mp3-util.h:41: warning: passing argument 2 of ‘p->id3tag_set_pad’ with
> different width due to prototype
> mp3.c: In function ‘get_id3v2_tag_size’:
> mp3.c:604: warning: passing argument 2 of ‘fread’ with different width due
> to prototype
> mp3.c:611: warning: passing argument 3 of ‘strncmp’ with different width due
> to prototype
> mp3.c: In function ‘rewrite_id3v2_tag’:
> mp3.c:650: warning: format ‘%d’ expects type ‘int’, but argument 2 has type
> ‘size_t’
> mp3.c:672: warning: passing argument 3 of ‘fwrite’ with different width due
> to prototype
> mp3.c:673: warning: format ‘%d’ expects type ‘int’, but argument 2 has type
> ‘size_t’
> mp3.c: In function ‘rewrite_tags’:
> mp3.c:725: warning: passing argument 2 of ‘fwrite’ with different width due
> to prototype
> mp3.c:725: warning: passing argument 3 of ‘fwrite’ with different width due
> to prototype
> make[1]: *** [libsox_la-mp3.lo] Error 1
> make: *** [all-recursive] Error 1
>
> Can someone help me figure out what the issue is?  I'm not sure where to go
> from here.
>
>

Because of Sourceforge issues, I do not have easy access to sox-14.3.1
to see that exact line... in mean time, what version of lame and
libmad are you using?

I used lame-398-2 and libmad-0.15.1b

Chris

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users


------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users
Reply | Threaded
Open this post in threaded view
|

Re: make errors

Doug Cook-2
This is a known issue, fixed in the CVS version. You'll need to delete line 60 if you don't have MAD.

On Tue, Feb 8, 2011 at 7:15 PM, dizy <[hidden email]> wrote:
lame 3.97, and I don't think libmad is installed... or at least I can't find it.


On Tue, Feb 8, 2011 at 10:06 PM, Chris Bagwell <[hidden email]> wrote:
On Tue, Feb 8, 2011 at 6:15 PM, dizy <[hidden email]> wrote:
> I'm trying to install sox (14.3.1)  on a shared hosting box.
> $ ./configure --prefix=$HOME
> ... no errors
> $ make -s
> Making all in lpc10
> Making all in libgsm
> Making all in src
> sox.c:1708:1: warning: embedding a directive within macro arguments is not
> portable
> sox.c:1710:1: warning: embedding a directive within macro arguments is not
> portable
> sox.c:1712:1: warning: embedding a directive within macro arguments is not
> portable
> formats.c: In function ‘init_format’:
> formats.c:1173: warning: negative integer implicitly converted to unsigned
> type
> stats.c: In function ‘bit_depth’:
> stats.c:135: warning: negative integer implicitly converted to unsigned type
> In file included from amr-nb.c:134:
> amr.h: In function ‘openlibrary’:
> amr.h:89: warning: unused parameter ‘encoding’
> In file included from amr-wb.c:123:
> amr.h: In function ‘openlibrary’:
> amr.h:89: warning: unused parameter ‘encoding’
> mp3.c:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
> ‘const’
> mp3.c:60: warning: ISO C does not allow extra ‘;’ outside of a function
> make[1]: *** [libsox_la-mp3.lo] Error 1
> make: *** [all-recursive] Error 1
>
>
> I also tried running make on my mac book pro, and get slightly different
> errors but also ending similarly...
> mp3.c:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
> ‘const’
> mp3.c:60: warning: ISO C does not allow extra ‘;’ outside of a function
> In file included from mp3.c:248:
> mp3-util.h: In function ‘write_comments’:
> mp3-util.h:41: warning: passing argument 2 of ‘p->id3tag_set_pad’ with
> different width due to prototype
> mp3.c: In function ‘get_id3v2_tag_size’:
> mp3.c:604: warning: passing argument 2 of ‘fread’ with different width due
> to prototype
> mp3.c:611: warning: passing argument 3 of ‘strncmp’ with different width due
> to prototype
> mp3.c: In function ‘rewrite_id3v2_tag’:
> mp3.c:650: warning: format ‘%d’ expects type ‘int’, but argument 2 has type
> ‘size_t’
> mp3.c:672: warning: passing argument 3 of ‘fwrite’ with different width due
> to prototype
> mp3.c:673: warning: format ‘%d’ expects type ‘int’, but argument 2 has type
> ‘size_t’
> mp3.c: In function ‘rewrite_tags’:
> mp3.c:725: warning: passing argument 2 of ‘fwrite’ with different width due
> to prototype
> mp3.c:725: warning: passing argument 3 of ‘fwrite’ with different width due
> to prototype
> make[1]: *** [libsox_la-mp3.lo] Error 1
> make: *** [all-recursive] Error 1
>
> Can someone help me figure out what the issue is?  I'm not sure where to go
> from here.
>
>

Because of Sourceforge issues, I do not have easy access to sox-14.3.1
to see that exact line... in mean time, what version of lame and
libmad are you using?

I used lame-398-2 and libmad-0.15.1b

Chris

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users


------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users



------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users
Reply | Threaded
Open this post in threaded view
|

Re: make errors

dizy
Ok, I'll pull from CVS when its up.

One other question is, why sox can't seem to find my ffmpeg.  ffmpeg seems to work directly, but sox just can't seem to find it. 

I tried ./configure --prefix=$HOME --with-ffmpeg   using sox 14.3.0 and it tells me configure: error: cannot find ffmpeg

Taking a look at config.log I see errors for missing llibavformat, libavcodec, and libavutil ...

Package libavutil was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavutil.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libavutil' found
...  etc

Looking into /usr/lib/pkgconfig/ I don't have those .pc files, but I do have libavformat, libavcodec, and libavutil in /usr/local/include

So what can I do?


On Wed, Feb 9, 2011 at 2:04 AM, Doug Cook <[hidden email]> wrote:
This is a known issue, fixed in the CVS version. You'll need to delete line 60 if you don't have MAD.


On Tue, Feb 8, 2011 at 7:15 PM, dizy <[hidden email]> wrote:
lame 3.97, and I don't think libmad is installed... or at least I can't find it.


On Tue, Feb 8, 2011 at 10:06 PM, Chris Bagwell <[hidden email]> wrote:
On Tue, Feb 8, 2011 at 6:15 PM, dizy <[hidden email]> wrote:
> I'm trying to install sox (14.3.1)  on a shared hosting box.
> $ ./configure --prefix=$HOME
> ... no errors
> $ make -s
> Making all in lpc10
> Making all in libgsm
> Making all in src
> sox.c:1708:1: warning: embedding a directive within macro arguments is not
> portable
> sox.c:1710:1: warning: embedding a directive within macro arguments is not
> portable
> sox.c:1712:1: warning: embedding a directive within macro arguments is not
> portable
> formats.c: In function ‘init_format’:
> formats.c:1173: warning: negative integer implicitly converted to unsigned
> type
> stats.c: In function ‘bit_depth’:
> stats.c:135: warning: negative integer implicitly converted to unsigned type
> In file included from amr-nb.c:134:
> amr.h: In function ‘openlibrary’:
> amr.h:89: warning: unused parameter ‘encoding’
> In file included from amr-wb.c:123:
> amr.h: In function ‘openlibrary’:
> amr.h:89: warning: unused parameter ‘encoding’
> mp3.c:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
> ‘const’
> mp3.c:60: warning: ISO C does not allow extra ‘;’ outside of a function
> make[1]: *** [libsox_la-mp3.lo] Error 1
> make: *** [all-recursive] Error 1
>
>
> I also tried running make on my mac book pro, and get slightly different
> errors but also ending similarly...
> mp3.c:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
> ‘const’
> mp3.c:60: warning: ISO C does not allow extra ‘;’ outside of a function
> In file included from mp3.c:248:
> mp3-util.h: In function ‘write_comments’:
> mp3-util.h:41: warning: passing argument 2 of ‘p->id3tag_set_pad’ with
> different width due to prototype
> mp3.c: In function ‘get_id3v2_tag_size’:
> mp3.c:604: warning: passing argument 2 of ‘fread’ with different width due
> to prototype
> mp3.c:611: warning: passing argument 3 of ‘strncmp’ with different width due
> to prototype
> mp3.c: In function ‘rewrite_id3v2_tag’:
> mp3.c:650: warning: format ‘%d’ expects type ‘int’, but argument 2 has type
> ‘size_t’
> mp3.c:672: warning: passing argument 3 of ‘fwrite’ with different width due
> to prototype
> mp3.c:673: warning: format ‘%d’ expects type ‘int’, but argument 2 has type
> ‘size_t’
> mp3.c: In function ‘rewrite_tags’:
> mp3.c:725: warning: passing argument 2 of ‘fwrite’ with different width due
> to prototype
> mp3.c:725: warning: passing argument 3 of ‘fwrite’ with different width due
> to prototype
> make[1]: *** [libsox_la-mp3.lo] Error 1
> make: *** [all-recursive] Error 1
>
> Can someone help me figure out what the issue is?  I'm not sure where to go
> from here.
>
>

Because of Sourceforge issues, I do not have easy access to sox-14.3.1
to see that exact line... in mean time, what version of lame and
libmad are you using?

I used lame-398-2 and libmad-0.15.1b

Chris

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users


------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users



------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users



------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users
Reply | Threaded
Open this post in threaded view
|

Re: make errors

Jan Stary
On Feb 09 11:06:38, dizy wrote:

> Ok, I'll pull from CVS when its up.
>
> One other question is, why sox can't seem to find my ffmpeg.  ffmpeg seems
> to work directly, but sox just can't seem to find it.
>
> I tried ./configure --prefix=$HOME --with-ffmpeg   using sox 14.3.0 and it
> tells me configure: error: cannot find ffmpeg
>
> Taking a look at config.log I see errors for missing llibavformat,
> libavcodec, and libavutil ...
>
> Package libavutil was not found in the pkg-config search path.
> Perhaps you should add the directory containing `libavutil.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'libavutil' found
> ...  etc
>
> Looking into /usr/lib/pkgconfig/ I don't have those .pc files, but I do
> have libavformat, libavcodec, and libavutil in /usr/local/include

You most probably also have the *.pc files somewhere
(possibly under /usr/local/lib/pkgconfig). Have you added this
path to PKG_CAONFIG_PATH as the ./configure script suggests?

> So what can I do?

Read the output of './configure --help' carefully.
Hint: CPPFLAGS and LDFLAGS.

> On Wed, Feb 9, 2011 at 2:04 AM, Doug Cook <[hidden email]>wrote:
>
> > This is a known issue, fixed in the CVS version. You'll need to delete line
> > 60 if you don't have MAD.
> >
> >
> > On Tue, Feb 8, 2011 at 7:15 PM, dizy <[hidden email]> wrote:
> >
> >> lame 3.97, and I don't think libmad is installed... or at least I can't
> >> find it.
> >>
> >>
> >> On Tue, Feb 8, 2011 at 10:06 PM, Chris Bagwell <[hidden email]>wrote:
> >>
> >>>  On Tue, Feb 8, 2011 at 6:15 PM, dizy <[hidden email]> wrote:
> >>> > I'm trying to install sox (14.3.1)  on a shared hosting box.
> >>> > $ ./configure --prefix=$HOME
> >>> > ... no errors
> >>> > $ make -s
> >>> > Making all in lpc10
> >>> > Making all in libgsm
> >>> > Making all in src
> >>> > sox.c:1708:1: warning: embedding a directive within macro arguments is
> >>> not
> >>> > portable
> >>> > sox.c:1710:1: warning: embedding a directive within macro arguments is
> >>> not
> >>> > portable
> >>> > sox.c:1712:1: warning: embedding a directive within macro arguments is
> >>> not
> >>> > portable
> >>> > formats.c: In function ?init_format?:
> >>> > formats.c:1173: warning: negative integer implicitly converted to
> >>> unsigned
> >>> > type
> >>> > stats.c: In function ?bit_depth?:
> >>> > stats.c:135: warning: negative integer implicitly converted to unsigned
> >>> type
> >>> > In file included from amr-nb.c:134:
> >>> > amr.h: In function ?openlibrary?:
> >>> > amr.h:89: warning: unused parameter ?encoding?
> >>> > In file included from amr-wb.c:123:
> >>> > amr.h: In function ?openlibrary?:
> >>> > amr.h:89: warning: unused parameter ?encoding?
> >>> > mp3.c:60: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__?
> >>> before
> >>> > ?const?
> >>> > mp3.c:60: warning: ISO C does not allow extra ?;? outside of a function
> >>> > make[1]: *** [libsox_la-mp3.lo] Error 1
> >>> > make: *** [all-recursive] Error 1
> >>> >
> >>> >
> >>> > I also tried running make on my mac book pro, and get slightly
> >>> different
> >>> > errors but also ending similarly...
> >>> > mp3.c:60: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__?
> >>> before
> >>> > ?const?
> >>> > mp3.c:60: warning: ISO C does not allow extra ?;? outside of a function
> >>> > In file included from mp3.c:248:
> >>> > mp3-util.h: In function ?write_comments?:
> >>> > mp3-util.h:41: warning: passing argument 2 of ?p->id3tag_set_pad? with
> >>> > different width due to prototype
> >>> > mp3.c: In function ?get_id3v2_tag_size?:
> >>> > mp3.c:604: warning: passing argument 2 of ?fread? with different width
> >>> due
> >>> > to prototype
> >>> > mp3.c:611: warning: passing argument 3 of ?strncmp? with different
> >>> width due
> >>> > to prototype
> >>> > mp3.c: In function ?rewrite_id3v2_tag?:
> >>> > mp3.c:650: warning: format ?%d? expects type ?int?, but argument 2 has
> >>> type
> >>> > ?size_t?
> >>> > mp3.c:672: warning: passing argument 3 of ?fwrite? with different width
> >>> due
> >>> > to prototype
> >>> > mp3.c:673: warning: format ?%d? expects type ?int?, but argument 2 has
> >>> type
> >>> > ?size_t?
> >>> > mp3.c: In function ?rewrite_tags?:
> >>> > mp3.c:725: warning: passing argument 2 of ?fwrite? with different width
> >>> due
> >>> > to prototype
> >>> > mp3.c:725: warning: passing argument 3 of ?fwrite? with different width
> >>> due
> >>> > to prototype
> >>> > make[1]: *** [libsox_la-mp3.lo] Error 1
> >>> > make: *** [all-recursive] Error 1
> >>> >
> >>> > Can someone help me figure out what the issue is?  I'm not sure where
> >>> to go
> >>> > from here.
> >>> >
> >>> >
> >>>
> >>> Because of Sourceforge issues, I do not have easy access to sox-14.3.1
> >>> to see that exact line... in mean time, what version of lame and
> >>> libmad are you using?
> >>>
> >>> I used lame-398-2 and libmad-0.15.1b
> >>>
> >>> Chris
> >>>
> >>>
> >>> ------------------------------------------------------------------------------
> >>> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> >>> Pinpoint memory and threading errors before they happen.
> >>> Find and fix more than 250 security defects in the development cycle.
> >>> Locate bottlenecks in serial and parallel code that limit performance.
> >>> http://p.sf.net/sfu/intel-dev2devfeb
> >>> _______________________________________________
> >>> Sox-users mailing list
> >>> [hidden email]
> >>> https://lists.sourceforge.net/lists/listinfo/sox-users
> >>>
> >>
> >>
> >>
> >> ------------------------------------------------------------------------------
> >> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> >> Pinpoint memory and threading errors before they happen.
> >> Find and fix more than 250 security defects in the development cycle.
> >> Locate bottlenecks in serial and parallel code that limit performance.
> >> http://p.sf.net/sfu/intel-dev2devfeb
> >> _______________________________________________
> >> Sox-users mailing list
> >> [hidden email]
> >> https://lists.sourceforge.net/lists/listinfo/sox-users
> >>
> >>
> >
> >
> > ------------------------------------------------------------------------------
> > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> > Pinpoint memory and threading errors before they happen.
> > Find and fix more than 250 security defects in the development cycle.
> > Locate bottlenecks in serial and parallel code that limit performance.
> > http://p.sf.net/sfu/intel-dev2devfeb
> > _______________________________________________
> > Sox-users mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/sox-users
> >
> >

> ------------------------------------------------------------------------------
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb

> _______________________________________________
> Sox-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/sox-users


------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users
Reply | Threaded
Open this post in threaded view
|

Re: make errors

dizy
Your right, I found the pc files in $HOME/lib/pkgconfig/

So why can't it find it even when I config with --libdir=$HOME/lib or --with-pkgconfigdir=$HOME/lib/pkgconfig



On Wed, Feb 9, 2011 at 11:50 AM, Jan Stary <[hidden email]> wrote:
On Feb 09 11:06:38, dizy wrote:
> Ok, I'll pull from CVS when its up.
>
> One other question is, why sox can't seem to find my ffmpeg.  ffmpeg seems
> to work directly, but sox just can't seem to find it.
>
> I tried ./configure --prefix=$HOME --with-ffmpeg   using sox 14.3.0 and it
> tells me configure: error: cannot find ffmpeg
>
> Taking a look at config.log I see errors for missing llibavformat,
> libavcodec, and libavutil ...
>
> Package libavutil was not found in the pkg-config search path.
> Perhaps you should add the directory containing `libavutil.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'libavutil' found
> ...  etc
>
> Looking into /usr/lib/pkgconfig/ I don't have those .pc files, but I do
> have libavformat, libavcodec, and libavutil in /usr/local/include

You most probably also have the *.pc files somewhere
(possibly under /usr/local/lib/pkgconfig). Have you added this
path to PKG_CAONFIG_PATH as the ./configure script suggests?

> So what can I do?

Read the output of './configure --help' carefully.
Hint: CPPFLAGS and LDFLAGS.

> On Wed, Feb 9, 2011 at 2:04 AM, Doug Cook <[hidden email]>wrote:
>
> > This is a known issue, fixed in the CVS version. You'll need to delete line
> > 60 if you don't have MAD.
> >
> >
> > On Tue, Feb 8, 2011 at 7:15 PM, dizy <[hidden email]> wrote:
> >
> >> lame 3.97, and I don't think libmad is installed... or at least I can't
> >> find it.
> >>
> >>
> >> On Tue, Feb 8, 2011 at 10:06 PM, Chris Bagwell <[hidden email]>wrote:
> >>
> >>>  On Tue, Feb 8, 2011 at 6:15 PM, dizy <[hidden email]> wrote:
> >>> > I'm trying to install sox (14.3.1)  on a shared hosting box.
> >>> > $ ./configure --prefix=$HOME
> >>> > ... no errors
> >>> > $ make -s
> >>> > Making all in lpc10
> >>> > Making all in libgsm
> >>> > Making all in src
> >>> > sox.c:1708:1: warning: embedding a directive within macro arguments is
> >>> not
> >>> > portable
> >>> > sox.c:1710:1: warning: embedding a directive within macro arguments is
> >>> not
> >>> > portable
> >>> > sox.c:1712:1: warning: embedding a directive within macro arguments is
> >>> not
> >>> > portable
> >>> > formats.c: In function ?init_format?:
> >>> > formats.c:1173: warning: negative integer implicitly converted to
> >>> unsigned
> >>> > type
> >>> > stats.c: In function ?bit_depth?:
> >>> > stats.c:135: warning: negative integer implicitly converted to unsigned
> >>> type
> >>> > In file included from amr-nb.c:134:
> >>> > amr.h: In function ?openlibrary?:
> >>> > amr.h:89: warning: unused parameter ?encoding?
> >>> > In file included from amr-wb.c:123:
> >>> > amr.h: In function ?openlibrary?:
> >>> > amr.h:89: warning: unused parameter ?encoding?
> >>> > mp3.c:60: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__?
> >>> before
> >>> > ?const?
> >>> > mp3.c:60: warning: ISO C does not allow extra ?;? outside of a function
> >>> > make[1]: *** [libsox_la-mp3.lo] Error 1
> >>> > make: *** [all-recursive] Error 1
> >>> >
> >>> >
> >>> > I also tried running make on my mac book pro, and get slightly
> >>> different
> >>> > errors but also ending similarly...
> >>> > mp3.c:60: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__?
> >>> before
> >>> > ?const?
> >>> > mp3.c:60: warning: ISO C does not allow extra ?;? outside of a function
> >>> > In file included from mp3.c:248:
> >>> > mp3-util.h: In function ?write_comments?:
> >>> > mp3-util.h:41: warning: passing argument 2 of ?p->id3tag_set_pad? with
> >>> > different width due to prototype
> >>> > mp3.c: In function ?get_id3v2_tag_size?:
> >>> > mp3.c:604: warning: passing argument 2 of ?fread? with different width
> >>> due
> >>> > to prototype
> >>> > mp3.c:611: warning: passing argument 3 of ?strncmp? with different
> >>> width due
> >>> > to prototype
> >>> > mp3.c: In function ?rewrite_id3v2_tag?:
> >>> > mp3.c:650: warning: format ?%d? expects type ?int?, but argument 2 has
> >>> type
> >>> > ?size_t?
> >>> > mp3.c:672: warning: passing argument 3 of ?fwrite? with different width
> >>> due
> >>> > to prototype
> >>> > mp3.c:673: warning: format ?%d? expects type ?int?, but argument 2 has
> >>> type
> >>> > ?size_t?
> >>> > mp3.c: In function ?rewrite_tags?:
> >>> > mp3.c:725: warning: passing argument 2 of ?fwrite? with different width
> >>> due
> >>> > to prototype
> >>> > mp3.c:725: warning: passing argument 3 of ?fwrite? with different width
> >>> due
> >>> > to prototype
> >>> > make[1]: *** [libsox_la-mp3.lo] Error 1
> >>> > make: *** [all-recursive] Error 1
> >>> >
> >>> > Can someone help me figure out what the issue is?  I'm not sure where
> >>> to go
> >>> > from here.
> >>> >
> >>> >
> >>>
> >>> Because of Sourceforge issues, I do not have easy access to sox-14.3.1
> >>> to see that exact line... in mean time, what version of lame and
> >>> libmad are you using?
> >>>
> >>> I used lame-398-2 and libmad-0.15.1b
> >>>
> >>> Chris
> >>>
> >>>
> >>> ------------------------------------------------------------------------------
> >>> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> >>> Pinpoint memory and threading errors before they happen.
> >>> Find and fix more than 250 security defects in the development cycle.
> >>> Locate bottlenecks in serial and parallel code that limit performance.
> >>> http://p.sf.net/sfu/intel-dev2devfeb
> >>> _______________________________________________
> >>> Sox-users mailing list
> >>> [hidden email]
> >>> https://lists.sourceforge.net/lists/listinfo/sox-users
> >>>
> >>
> >>
> >>
> >> ------------------------------------------------------------------------------
> >> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> >> Pinpoint memory and threading errors before they happen.
> >> Find and fix more than 250 security defects in the development cycle.
> >> Locate bottlenecks in serial and parallel code that limit performance.
> >> http://p.sf.net/sfu/intel-dev2devfeb
> >> _______________________________________________
> >> Sox-users mailing list
> >> [hidden email]
> >> https://lists.sourceforge.net/lists/listinfo/sox-users
> >>
> >>
> >
> >
> > ------------------------------------------------------------------------------
> > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> > Pinpoint memory and threading errors before they happen.
> > Find and fix more than 250 security defects in the development cycle.
> > Locate bottlenecks in serial and parallel code that limit performance.
> > http://p.sf.net/sfu/intel-dev2devfeb
> > _______________________________________________
> > Sox-users mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/sox-users
> >
> >

> ------------------------------------------------------------------------------
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb

> _______________________________________________
> Sox-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/sox-users


------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users


------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users
Reply | Threaded
Open this post in threaded view
|

Re: make errors

dizy
Hmm.. well setting the pkgconfig via PKG_CONFIG_PATH seemed to have done it.  Not sure why it didn't via the pkgconfigdir

On Wed, Feb 9, 2011 at 12:13 PM, dizy <[hidden email]> wrote:
Your right, I found the pc files in $HOME/lib/pkgconfig/

So why can't it find it even when I config with --libdir=$HOME/lib or --with-pkgconfigdir=$HOME/lib/pkgconfig



On Wed, Feb 9, 2011 at 11:50 AM, Jan Stary <[hidden email]> wrote:
On Feb 09 11:06:38, dizy wrote:
> Ok, I'll pull from CVS when its up.
>
> One other question is, why sox can't seem to find my ffmpeg.  ffmpeg seems
> to work directly, but sox just can't seem to find it.
>
> I tried ./configure --prefix=$HOME --with-ffmpeg   using sox 14.3.0 and it
> tells me configure: error: cannot find ffmpeg
>
> Taking a look at config.log I see errors for missing llibavformat,
> libavcodec, and libavutil ...
>
> Package libavutil was not found in the pkg-config search path.
> Perhaps you should add the directory containing `libavutil.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'libavutil' found
> ...  etc
>
> Looking into /usr/lib/pkgconfig/ I don't have those .pc files, but I do
> have libavformat, libavcodec, and libavutil in /usr/local/include

You most probably also have the *.pc files somewhere
(possibly under /usr/local/lib/pkgconfig). Have you added this
path to PKG_CAONFIG_PATH as the ./configure script suggests?

> So what can I do?

Read the output of './configure --help' carefully.
Hint: CPPFLAGS and LDFLAGS.

> On Wed, Feb 9, 2011 at 2:04 AM, Doug Cook <[hidden email]>wrote:
>
> > This is a known issue, fixed in the CVS version. You'll need to delete line
> > 60 if you don't have MAD.
> >
> >
> > On Tue, Feb 8, 2011 at 7:15 PM, dizy <[hidden email]> wrote:
> >
> >> lame 3.97, and I don't think libmad is installed... or at least I can't
> >> find it.
> >>
> >>
> >> On Tue, Feb 8, 2011 at 10:06 PM, Chris Bagwell <[hidden email]>wrote:
> >>
> >>>  On Tue, Feb 8, 2011 at 6:15 PM, dizy <[hidden email]> wrote:
> >>> > I'm trying to install sox (14.3.1)  on a shared hosting box.
> >>> > $ ./configure --prefix=$HOME
> >>> > ... no errors
> >>> > $ make -s
> >>> > Making all in lpc10
> >>> > Making all in libgsm
> >>> > Making all in src
> >>> > sox.c:1708:1: warning: embedding a directive within macro arguments is
> >>> not
> >>> > portable
> >>> > sox.c:1710:1: warning: embedding a directive within macro arguments is
> >>> not
> >>> > portable
> >>> > sox.c:1712:1: warning: embedding a directive within macro arguments is
> >>> not
> >>> > portable
> >>> > formats.c: In function ?init_format?:
> >>> > formats.c:1173: warning: negative integer implicitly converted to
> >>> unsigned
> >>> > type
> >>> > stats.c: In function ?bit_depth?:
> >>> > stats.c:135: warning: negative integer implicitly converted to unsigned
> >>> type
> >>> > In file included from amr-nb.c:134:
> >>> > amr.h: In function ?openlibrary?:
> >>> > amr.h:89: warning: unused parameter ?encoding?
> >>> > In file included from amr-wb.c:123:
> >>> > amr.h: In function ?openlibrary?:
> >>> > amr.h:89: warning: unused parameter ?encoding?
> >>> > mp3.c:60: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__?
> >>> before
> >>> > ?const?
> >>> > mp3.c:60: warning: ISO C does not allow extra ?;? outside of a function
> >>> > make[1]: *** [libsox_la-mp3.lo] Error 1
> >>> > make: *** [all-recursive] Error 1
> >>> >
> >>> >
> >>> > I also tried running make on my mac book pro, and get slightly
> >>> different
> >>> > errors but also ending similarly...
> >>> > mp3.c:60: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__?
> >>> before
> >>> > ?const?
> >>> > mp3.c:60: warning: ISO C does not allow extra ?;? outside of a function
> >>> > In file included from mp3.c:248:
> >>> > mp3-util.h: In function ?write_comments?:
> >>> > mp3-util.h:41: warning: passing argument 2 of ?p->id3tag_set_pad? with
> >>> > different width due to prototype
> >>> > mp3.c: In function ?get_id3v2_tag_size?:
> >>> > mp3.c:604: warning: passing argument 2 of ?fread? with different width
> >>> due
> >>> > to prototype
> >>> > mp3.c:611: warning: passing argument 3 of ?strncmp? with different
> >>> width due
> >>> > to prototype
> >>> > mp3.c: In function ?rewrite_id3v2_tag?:
> >>> > mp3.c:650: warning: format ?%d? expects type ?int?, but argument 2 has
> >>> type
> >>> > ?size_t?
> >>> > mp3.c:672: warning: passing argument 3 of ?fwrite? with different width
> >>> due
> >>> > to prototype
> >>> > mp3.c:673: warning: format ?%d? expects type ?int?, but argument 2 has
> >>> type
> >>> > ?size_t?
> >>> > mp3.c: In function ?rewrite_tags?:
> >>> > mp3.c:725: warning: passing argument 2 of ?fwrite? with different width
> >>> due
> >>> > to prototype
> >>> > mp3.c:725: warning: passing argument 3 of ?fwrite? with different width
> >>> due
> >>> > to prototype
> >>> > make[1]: *** [libsox_la-mp3.lo] Error 1
> >>> > make: *** [all-recursive] Error 1
> >>> >
> >>> > Can someone help me figure out what the issue is?  I'm not sure where
> >>> to go
> >>> > from here.
> >>> >
> >>> >
> >>>
> >>> Because of Sourceforge issues, I do not have easy access to sox-14.3.1
> >>> to see that exact line... in mean time, what version of lame and
> >>> libmad are you using?
> >>>
> >>> I used lame-398-2 and libmad-0.15.1b
> >>>
> >>> Chris
> >>>
> >>>
> >>> ------------------------------------------------------------------------------
> >>> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> >>> Pinpoint memory and threading errors before they happen.
> >>> Find and fix more than 250 security defects in the development cycle.
> >>> Locate bottlenecks in serial and parallel code that limit performance.
> >>> http://p.sf.net/sfu/intel-dev2devfeb
> >>> _______________________________________________
> >>> Sox-users mailing list
> >>> [hidden email]
> >>> https://lists.sourceforge.net/lists/listinfo/sox-users
> >>>
> >>
> >>
> >>
> >> ------------------------------------------------------------------------------
> >> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> >> Pinpoint memory and threading errors before they happen.
> >> Find and fix more than 250 security defects in the development cycle.
> >> Locate bottlenecks in serial and parallel code that limit performance.
> >> http://p.sf.net/sfu/intel-dev2devfeb
> >> _______________________________________________
> >> Sox-users mailing list
> >> [hidden email]
> >> https://lists.sourceforge.net/lists/listinfo/sox-users
> >>
> >>
> >
> >
> > ------------------------------------------------------------------------------
> > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> > Pinpoint memory and threading errors before they happen.
> > Find and fix more than 250 security defects in the development cycle.
> > Locate bottlenecks in serial and parallel code that limit performance.
> > http://p.sf.net/sfu/intel-dev2devfeb
> > _______________________________________________
> > Sox-users mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/sox-users
> >
> >

> ------------------------------------------------------------------------------
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb

> _______________________________________________
> Sox-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/sox-users


------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users



------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users
Reply | Threaded
Open this post in threaded view
|

Re: make errors

dizy
Ugh, now even though ffmpeg was found...

$HOME/bin/sox 30_sec_audio.m4a out.mp3
Segmentation fault

Same with 14.3.0 and 14.3.1

ffmpeg directly can convert the same m4a file without any issues.

Suggestions?


On Wed, Feb 9, 2011 at 1:21 PM, dizy <[hidden email]> wrote:
Hmm.. well setting the pkgconfig via PKG_CONFIG_PATH seemed to have done it.  Not sure why it didn't via the pkgconfigdir


On Wed, Feb 9, 2011 at 12:13 PM, dizy <[hidden email]> wrote:
Your right, I found the pc files in $HOME/lib/pkgconfig/

So why can't it find it even when I config with --libdir=$HOME/lib or --with-pkgconfigdir=$HOME/lib/pkgconfig



On Wed, Feb 9, 2011 at 11:50 AM, Jan Stary <[hidden email]> wrote:
On Feb 09 11:06:38, dizy wrote:
> Ok, I'll pull from CVS when its up.
>
> One other question is, why sox can't seem to find my ffmpeg.  ffmpeg seems
> to work directly, but sox just can't seem to find it.
>
> I tried ./configure --prefix=$HOME --with-ffmpeg   using sox 14.3.0 and it
> tells me configure: error: cannot find ffmpeg
>
> Taking a look at config.log I see errors for missing llibavformat,
> libavcodec, and libavutil ...
>
> Package libavutil was not found in the pkg-config search path.
> Perhaps you should add the directory containing `libavutil.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'libavutil' found
> ...  etc
>
> Looking into /usr/lib/pkgconfig/ I don't have those .pc files, but I do
> have libavformat, libavcodec, and libavutil in /usr/local/include

You most probably also have the *.pc files somewhere
(possibly under /usr/local/lib/pkgconfig). Have you added this
path to PKG_CAONFIG_PATH as the ./configure script suggests?

> So what can I do?

Read the output of './configure --help' carefully.
Hint: CPPFLAGS and LDFLAGS.

> On Wed, Feb 9, 2011 at 2:04 AM, Doug Cook <[hidden email]>wrote:
>
> > This is a known issue, fixed in the CVS version. You'll need to delete line
> > 60 if you don't have MAD.
> >
> >
> > On Tue, Feb 8, 2011 at 7:15 PM, dizy <[hidden email]> wrote:
> >
> >> lame 3.97, and I don't think libmad is installed... or at least I can't
> >> find it.
> >>
> >>
> >> On Tue, Feb 8, 2011 at 10:06 PM, Chris Bagwell <[hidden email]>wrote:
> >>
> >>>  On Tue, Feb 8, 2011 at 6:15 PM, dizy <[hidden email]> wrote:
> >>> > I'm trying to install sox (14.3.1)  on a shared hosting box.
> >>> > $ ./configure --prefix=$HOME
> >>> > ... no errors
> >>> > $ make -s
> >>> > Making all in lpc10
> >>> > Making all in libgsm
> >>> > Making all in src
> >>> > sox.c:1708:1: warning: embedding a directive within macro arguments is
> >>> not
> >>> > portable
> >>> > sox.c:1710:1: warning: embedding a directive within macro arguments is
> >>> not
> >>> > portable
> >>> > sox.c:1712:1: warning: embedding a directive within macro arguments is
> >>> not
> >>> > portable
> >>> > formats.c: In function ?init_format?:
> >>> > formats.c:1173: warning: negative integer implicitly converted to
> >>> unsigned
> >>> > type
> >>> > stats.c: In function ?bit_depth?:
> >>> > stats.c:135: warning: negative integer implicitly converted to unsigned
> >>> type
> >>> > In file included from amr-nb.c:134:
> >>> > amr.h: In function ?openlibrary?:
> >>> > amr.h:89: warning: unused parameter ?encoding?
> >>> > In file included from amr-wb.c:123:
> >>> > amr.h: In function ?openlibrary?:
> >>> > amr.h:89: warning: unused parameter ?encoding?
> >>> > mp3.c:60: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__?
> >>> before
> >>> > ?const?
> >>> > mp3.c:60: warning: ISO C does not allow extra ?;? outside of a function
> >>> > make[1]: *** [libsox_la-mp3.lo] Error 1
> >>> > make: *** [all-recursive] Error 1
> >>> >
> >>> >
> >>> > I also tried running make on my mac book pro, and get slightly
> >>> different
> >>> > errors but also ending similarly...
> >>> > mp3.c:60: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__?
> >>> before
> >>> > ?const?
> >>> > mp3.c:60: warning: ISO C does not allow extra ?;? outside of a function
> >>> > In file included from mp3.c:248:
> >>> > mp3-util.h: In function ?write_comments?:
> >>> > mp3-util.h:41: warning: passing argument 2 of ?p->id3tag_set_pad? with
> >>> > different width due to prototype
> >>> > mp3.c: In function ?get_id3v2_tag_size?:
> >>> > mp3.c:604: warning: passing argument 2 of ?fread? with different width
> >>> due
> >>> > to prototype
> >>> > mp3.c:611: warning: passing argument 3 of ?strncmp? with different
> >>> width due
> >>> > to prototype
> >>> > mp3.c: In function ?rewrite_id3v2_tag?:
> >>> > mp3.c:650: warning: format ?%d? expects type ?int?, but argument 2 has
> >>> type
> >>> > ?size_t?
> >>> > mp3.c:672: warning: passing argument 3 of ?fwrite? with different width
> >>> due
> >>> > to prototype
> >>> > mp3.c:673: warning: format ?%d? expects type ?int?, but argument 2 has
> >>> type
> >>> > ?size_t?
> >>> > mp3.c: In function ?rewrite_tags?:
> >>> > mp3.c:725: warning: passing argument 2 of ?fwrite? with different width
> >>> due
> >>> > to prototype
> >>> > mp3.c:725: warning: passing argument 3 of ?fwrite? with different width
> >>> due
> >>> > to prototype
> >>> > make[1]: *** [libsox_la-mp3.lo] Error 1
> >>> > make: *** [all-recursive] Error 1
> >>> >
> >>> > Can someone help me figure out what the issue is?  I'm not sure where
> >>> to go
> >>> > from here.
> >>> >
> >>> >
> >>>
> >>> Because of Sourceforge issues, I do not have easy access to sox-14.3.1
> >>> to see that exact line... in mean time, what version of lame and
> >>> libmad are you using?
> >>>
> >>> I used lame-398-2 and libmad-0.15.1b
> >>>
> >>> Chris
> >>>
> >>>
> >>> ------------------------------------------------------------------------------
> >>> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> >>> Pinpoint memory and threading errors before they happen.
> >>> Find and fix more than 250 security defects in the development cycle.
> >>> Locate bottlenecks in serial and parallel code that limit performance.
> >>> http://p.sf.net/sfu/intel-dev2devfeb
> >>> _______________________________________________
> >>> Sox-users mailing list
> >>> [hidden email]
> >>> https://lists.sourceforge.net/lists/listinfo/sox-users
> >>>
> >>
> >>
> >>
> >> ------------------------------------------------------------------------------
> >> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> >> Pinpoint memory and threading errors before they happen.
> >> Find and fix more than 250 security defects in the development cycle.
> >> Locate bottlenecks in serial and parallel code that limit performance.
> >> http://p.sf.net/sfu/intel-dev2devfeb
> >> _______________________________________________
> >> Sox-users mailing list
> >> [hidden email]
> >> https://lists.sourceforge.net/lists/listinfo/sox-users
> >>
> >>
> >
> >
> > ------------------------------------------------------------------------------
> > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> > Pinpoint memory and threading errors before they happen.
> > Find and fix more than 250 security defects in the development cycle.
> > Locate bottlenecks in serial and parallel code that limit performance.
> > http://p.sf.net/sfu/intel-dev2devfeb
> > _______________________________________________
> > Sox-users mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/sox-users
> >
> >

> ------------------------------------------------------------------------------
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb

> _______________________________________________
> Sox-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/sox-users


------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users




------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users
Reply | Threaded
Open this post in threaded view
|

Re: make errors

Pascal Giard
On Wed, Feb 9, 2011 at 6:38 PM, dizy <[hidden email]> wrote:
> Ugh, now even though ffmpeg was found...
> $HOME/bin/sox 30_sec_audio.m4a out.mp3
> Segmentation fault
> Same with 14.3.0 and 14.3.1
> ffmpeg directly can convert the same m4a file without any issues.
> Suggestions?

I believe this is a different issue (you have 32bit CPU?); Ruben has a
fix in the pipeline, he's just waiting for the repository to be back
up in order to commit it.

Cheers,

-Pascal
--
Homepage (http://organact.mine.nu)
Debian GNU/Linux (http://www.debian.org)
COMunité/LACIME: École de technologie supérieure (http://www.comunite.ca)
Integrated Microsystems Laboratory: McGill (http://www.iml.ece.mcgill.ca)

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users
Reply | Threaded
Open this post in threaded view
|

Re: make errors

Jan Stary
In reply to this post by dizy
On Feb 09 12:13:49, dizy wrote:
> Your right, I found the pc files in $HOME/lib/pkgconfig/

My right indeed.
http://theoatmeal.com/comics/misspelling

> So why can't it find it even when I config with --libdir=$HOME/lib
> or --with-pkgconfigdir=$HOME/lib/pkgconfig
>

Without a remote config.log reader, it's hard to tell.

On Feb 09 13:21:00, dizy wrote:
> Hmm.. well setting the pkgconfig via PKG_CONFIG_PATH seemed to have done it.
>  Not sure why it didn't via the pkgconfigdir

Without a remote config.log reader, it's hard to tell.


------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users
Reply | Threaded
Open this post in threaded view
|

Re: segfaults

Jan Stary
In reply to this post by dizy
(There, I fixed the subject for you.)

On Feb 09 13:38:55, dizy wrote:

> Ugh, now even though ffmpeg was found...
>
> $HOME/bin/sox 30_sec_audio.m4a out.mp3
> Segmentation fault
>
> Same with 14.3.0 and 14.3.1
>
> ffmpeg directly can convert the same m4a file without any issues.
>
> Suggestions?

What OS?
What does '-V5' say?

Put the 30_sec_audio.m4a somewhere where I can look at it.



------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users
Reply | Threaded
Open this post in threaded view
|

Re: make errors

dizy
In reply to this post by Jan Stary
So I tried 14.3.2rc1 and it resolved the issues I was having. Thanks.

And thanks for the spelling lesson, its deafinitely alot better then a kick in the hemorrhoids. :)

On Wed, Feb 9, 2011 at 4:31 PM, Jan Stary <[hidden email]> wrote:
On Feb 09 12:13:49, dizy wrote:
> Your right, I found the pc files in $HOME/lib/pkgconfig/

My right indeed.
http://theoatmeal.com/comics/misspelling

> So why can't it find it even when I config with --libdir=$HOME/lib
> or --with-pkgconfigdir=$HOME/lib/pkgconfig
>

Without a remote config.log reader, it's hard to tell.

On Feb 09 13:21:00, dizy wrote:
> Hmm.. well setting the pkgconfig via PKG_CONFIG_PATH seemed to have done it.
>  Not sure why it didn't via the pkgconfigdir

Without a remote config.log reader, it's hard to tell.


------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users


------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users