Build fails at pyecasound

View: New views
3 Messages — Rating Filter:   Alert me  

Re: Build fails at pyecasound

by Kai Vehmanen :: Rate this Message:

| View Threaded | Show Only this Message

Hi,

On Sat, 14 Apr 2012, Joel Roth wrote:

> I just pulled the latest Git version, and had trouble
> building.  Would appreciate any suggestions.

what I coincidence! This is just the piece of code I was about to
deprecate.

I just now pushed the pyecasound.so deprecation patch, please do a new
git pull and retry, it should help.

PS There's also quite a few new commands, including
    an early version of 'cop-bypass'. See git log + NEWS
    for the details.

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Ecasound-list mailing list
Ecasound-list@...
https://lists.sourceforge.net/lists/listinfo/ecasound-list

Build fails at pyecasound

by Joel Roth-2 :: Rate this Message:

| View Threaded | Show Only this Message

Hi,

I just pulled the latest Git version, and had trouble
building.  Would appreciate any suggestions.

Regards,

Joel

-- make output --

Making all in pyecasound
make[2]: Entering directory `/home/jroth/build/ecasound/pyecasound'
/bin/bash ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../libecasoundc -I/usr/include/python2.7 -D_REENTRANT -D_XOPEN_SOURCE=500  -ffast-math -fstrict-aliasing -DNDEBUG -DENABLE_DBC -g -O2 -MT pyecasound.lo -MD -MP -MF .deps/pyecasound.Tpo -c -o pyecasound.lo pyecasound.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../libecasoundc -I/usr/include/python2.7 -D_REENTRANT -D_XOPEN_SOURCE=500 -ffast-math -fstrict-aliasing -DNDEBUG -DENABLE_DBC -g -O2 -MT pyecasound.lo -MD -MP -MF .deps/pyecasound.Tpo -c pyecasound.c  -fPIC -DPIC -o .libs/pyecasound.o
In file included from /usr/include/python2.7/Python.h:8:0,
                 from pyecasound.c:24:
/usr/include/python2.7/pyconfig.h:1183:0: warning: "_XOPEN_SOURCE" redefined [enabled by default]
<command-line>:0:0: note: this is the location of the previous definition
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../libecasoundc -I/usr/include/python2.7 -D_REENTRANT -D_XOPEN_SOURCE=500 -ffast-math -fstrict-aliasing -DNDEBUG -DENABLE_DBC -g -O2 -MT pyecasound.lo -MD -MP -MF .deps/pyecasound.Tpo -c pyecasound.c -o pyecasound.o >/dev/null 2>&1
mv -f .deps/pyecasound.Tpo .deps/pyecasound.Plo
/bin/bash ../libtool --tag=CC   --mode=link gcc -ffast-math -fstrict-aliasing -DNDEBUG -DENABLE_DBC -g -O2 -avoid-version -export-dynamic  -o libpyecasound.la  pyecasound.lo  -ldl -lm -lrt -lpthread
libtool: link: ar cru .libs/libpyecasound.a .libs/pyecasound.o
libtool: link: ranlib .libs/libpyecasound.a
libtool: link: ( cd ".libs" && rm -f "libpyecasound.la" && ln -s "../libpyecasound.la" "libpyecasound.la" )
/bin/bash ../libtool --mode=link gcc -ffast-math -fstrict-aliasing -DNDEBUG -DENABLE_DBC -g -O2 -avoid-version -export-dynamic -shared -nostartfiles -o pyecasound.so pyecasound.lo ../libecasoundc/libecasoundc.la
libtool: link: gcc -ffast-math -fstrict-aliasing -DNDEBUG -DENABLE_DBC -g -O2 -nostartfiles -o pyecasound.so .libs/pyecasound.o -Wl,--export-dynamic  ../libecasoundc/.libs/libecasoundc.a -ldl -lrt -lpthread
/usr/bin/ld: warning: cannot find entry symbol _start; defaulting to 00000000004018f0
.libs/pyecasound.o: In function `pyeca_control_new':
/home/jroth/build/ecasound/pyecasound/pyecasound.c:181: undefined reference to `_PyObject_New'
.libs/pyecasound.o: In function `pyeca_last_string_list':
/home/jroth/build/ecasound/pyecasound/pyecasound.c:72: undefined reference to `Py_BuildValue'
/home/jroth/build/ecasound/pyecasound/pyecasound.c:74: undefined reference to `Py_BuildValue'
/home/jroth/build/ecasound/pyecasound/pyecasound.c:74: undefined reference to `PyList_Append'
.libs/pyecasound.o: In function `pyeca_command_float_arg':
/home/jroth/build/ecasound/pyecasound/pyecasound.c:58: undefined reference to `PyArg_ParseTuple'
/home/jroth/build/ecasound/pyecasound/pyecasound.c:63: undefined reference to `Py_BuildValue'
.libs/pyecasound.o: In function `pyeca_command':
/home/jroth/build/ecasound/pyecasound/pyecasound.c:45: undefined reference to `PyArg_ParseTuple'
/home/jroth/build/ecasound/pyecasound/pyecasound.c:49: undefined reference to `Py_BuildValue'
.libs/pyecasound.o: In function `pyeca_getattr':
/home/jroth/build/ecasound/pyecasound/pyecasound.c:191: undefined reference to `Py_FindMethod'
.libs/pyecasound.o: In function `pyeca_current_event':
/home/jroth/build/ecasound/pyecasound/pyecasound.c:135: undefined reference to `Py_BuildValue'
.libs/pyecasound.o: In function `pyeca_next_event':
/home/jroth/build/ecasound/pyecasound/pyecasound.c:130: undefined reference to `Py_BuildValue'
.libs/pyecasound.o: In function `pyeca_events_available':
/home/jroth/build/ecasound/pyecasound/pyecasound.c:125: undefined reference to `Py_BuildValue'
.libs/pyecasound.o: In function `pyeca_error':
/home/jroth/build/ecasound/pyecasound/pyecasound.c:114: undefined reference to `Py_BuildValue'
.libs/pyecasound.o: In function `pyeca_last_type':
/home/jroth/build/ecasound/pyecasound/pyecasound.c:120: undefined reference to `Py_BuildValue'
.libs/pyecasound.o:/home/jroth/build/ecasound/pyecasound/pyecasound.c:107: more undefined references to `Py_BuildValue' follow
.libs/pyecasound.o: In function `pyeca_control_del':
/home/jroth/build/ecasound/pyecasound/pyecasound.c:200: undefined reference to `PyObject_Free'
.libs/pyecasound.o: In function `initpyecasound':
/home/jroth/build/ecasound/pyecasound/pyecasound.c:210: undefined reference to `Py_InitModule4_64'
.libs/pyecasound.o:(.data.rel+0x8): undefined reference to `PyType_Type'
collect2: ld returned 1 exit status
make[2]: *** [pyecasound.so] Error 1
make[2]: Leaving directory `/home/jroth/build/ecasound/pyecasound'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jroth/build/ecasound'
make: *** [all] Error 2

--
Joel Roth

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Ecasound-list mailing list
Ecasound-list@...
https://lists.sourceforge.net/lists/listinfo/ecasound-list

Re: Build fails at pyecasound

by Joel Roth-2 :: Rate this Message:

| View Threaded | Show Only this Message

On Sun, Apr 15, 2012 at 12:20:16AM +0300, Kai Vehmanen wrote:
> Hi,
>
> On Sat, 14 Apr 2012, Joel Roth wrote:
>
> > I just pulled the latest Git version, and had trouble
> > building.  Would appreciate any suggestions.
>
> what I coincidence! This is just the piece of code I was about to
> deprecate.

Okay, I thought you'd done it already.

> I just now pushed the pyecasound.so deprecation patch, please do a new
> git pull and retry, it should help.

Compiles cleanly now, thanks.
 
> PS There's also quite a few new commands, including
>     an early version of 'cop-bypass'. See git log + NEWS
>     for the details.

Good news for all!

Regards,

--
Joel Roth

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Ecasound-list mailing list
Ecasound-list@...
https://lists.sourceforge.net/lists/listinfo/ecasound-list