[PD] compile OSC on linux

Hans-Christoph Steiner hans at eds.org
Fri Apr 28 09:41:43 CEST 2006


The OSCx lib objects are included in Pd-extended.

http://puredata.org/downloads

.hc

On Apr 27, 2006, at 5:18 PM, Will Hurt wrote:

> Hi everyone,
>
> Im having troubles trying to compile OSC for pd- im running Ubuntu
> Dapper Beta. Ive downloaded everything from cvs.
> I navigate to /externals/OSCx
> ./configure       works fine with no errors
> make              gives me errors though: here they are::
>
> cd libOSC && make
> make[1]: Entering directory `/home/will/externals/OSCx/libOSC'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/home/will/externals/OSCx/libOSC'
> cd src && make
> make[1]: Entering directory `/home/will/externals/OSCx/src'
> cc -g -O2 -DUNIX -Wall -Wimplicit -Wunused -Wmissing-prototypes -O2
> -I../libOSC -I../../pd/src -I../../../pd/src -I../src -I../libOSC
> -I../../pd/src -I../../../pd/src -I../src -c -o dumpOSC.o dumpOSC.c
> dumpOSC.c:75:21: error: s_stuff.h: No such file or directory
> dumpOSC.c: In function ‘dumpOSC_read’:
> dumpOSC.c:228: warning: pointer targets in passing argument 6 of
> ‘recvfrom’ differ in signedness
> dumpOSC.c: In function ‘dumpOSC_new’:
> dumpOSC.c:273: warning: implicit declaration of function  
> ‘sys_sockerror’
> dumpOSC.c:285: warning: implicit declaration of function
> ‘sys_closesocket’
> dumpOSC.c:297: warning: implicit declaration of function  
> ‘sys_addpollfn’
> dumpOSC.c:297: error: ‘t_fdpollfn’ undeclared (first use in this
> function)
> dumpOSC.c:297: error: (Each undeclared identifier is reported only  
> once
> dumpOSC.c:297: error: for each function it appears in.)
> dumpOSC.c:297: error: syntax error before ‘dumpOSC_read’
> dumpOSC.c: In function ‘dumpOSC_free’:
> dumpOSC.c:329: warning: implicit declaration of function  
> ‘sys_rmpollfn’
> dumpOSC.c: At top level:
> dumpOSC.c:339: warning: no previous prototype for ‘dumpOSC_setup’
> dumpOSC.c:498: warning: no previous prototype for ‘PrintClientAddr’
> dumpOSC.c: In function ‘PrintClientAddr’:
> dumpOSC.c:504: warning: format ‘%x’ expects type ‘unsigned int’, but
> argument 2 has type ‘long unsigned int’
> dumpOSC.c: In function ‘dumpOSC_Smessage’:
> dumpOSC.c:702: warning: unused variable ‘myi’
> dumpOSC.c:701: warning: unused variable ‘mya’
> dumpOSC.c:700: warning: unused variable ‘myargc’
> dumpOSC.c:697: warning: unused variable ‘at’
> dumpOSC.c: In function ‘dumpOSC_PrintTypeTaggedArgs’:
> dumpOSC.c:776: warning: dereferencing type-punned pointer will break
> strict-aliasing rules
> dumpOSC.c:744: warning: unused variable ‘myi’
> dumpOSC.c: In function ‘dumpOSC_PrintHeuristicallyTypeGuessedArgs’:
> dumpOSC.c:877: warning: dereferencing type-punned pointer will break
> strict-aliasing rules
> dumpOSC.c:866: warning: unused variable ‘myi’
> make[1]: *** [dumpOSC.o] Error 1
> make[1]: Leaving directory `/home/will/externals/OSCx/src'
> make: *** [all] Error 2
>
>
> If you could help me out that would be great.
>
> Thanks Will
>
> on as side note- if anyone knows of a python module which lets me view
> raw midi data from an external midi controller [like midipy in  
> windows]
> could you give me the name? thanks
>
>
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/ 
> listinfo/pd-list


________________________________________________________________________ 
____

Man has survived hitherto because he was too ignorant to know how to  
realize his wishes.
Now that he can realize them, he must either change them, or perish.
		                                                -William Carlos  
Williams





More information about the Pd-list mailing list