First, thanks in advance for your patience and any help you can offer; I am new to this.
I am trying to copmile the latest version of the OSCx External following the instructions contained in the ReadME file. I can configure with no errors, but when I try the make command I get the error I have posted below. It seems that the file s_stuff.h cannot be found. I am running the Demudi system.
demudi:/usr/lib/pd/OSCx# make
cd libOSC ; make
make[1]: Entering directory /usr/lib/pd/OSCx/libOSC' make[1]: Nothing to be done for
all'.
make[1]: Leaving directory /usr/lib/pd/OSCx/libOSC' cd src ; make make[1]: Entering directory
/usr/lib/pd/OSCx/src'
cc -g -O2 -DUNIX -Wall -Wimplicit -Wunused -Wmissing-prototypes -O2
-I../libOSC -I../../pd/src -I../../../pd/src -I. -I../libOSC -I../../pd/src
-I../../../pd/src -I. -c -o dumpOSC.o dumpOSC.c
dumpOSC.c:75:21: s_stuff.h: No such file or directory
dumpOSC.c:80: error: parse error before "t_fdpollfn"
dumpOSC.c: In function dumpOSC_new': dumpOSC.c:261: warning: implicit declaration of function
sys_sockerror'
dumpOSC.c:273: warning: implicit declaration of function sys_closesocket' dumpOSC.c:285: error:
t_fdpollfn' undeclared (first use in this function)
dumpOSC.c:285: error: (Each undeclared identifier is reported only once
dumpOSC.c:285: error: for each function it appears in.)
dumpOSC.c:285: error: parse error before "dumpOSC_read"
dumpOSC.c: In function dumpOSC_free': dumpOSC.c:317: warning: implicit declaration of function
sys_rmpollfn'
dumpOSC.c: At top level:
dumpOSC.c:327: warning: no previous prototype for dumpOSC_setup' dumpOSC.c:486: warning: no previous prototype for
PrintClientAddr'
dumpOSC.c: In function PrintClientAddr': dumpOSC.c:492: warning: unsigned int format, long unsigned int arg (arg 2) dumpOSC.c: At top level: dumpOSC.c:510: warning: no previous prototype for
WriteTime'
dumpOSC.c:516: warning: no previous prototype for WriteMode' dumpOSC.c:521: warning: no previous prototype for
ReadTime'
dumpOSC.c:527: warning: no previous prototype for TimeToSeconds' dumpOSC.c:532: warning: no previous prototype for
timeRound'
dumpOSC.c:555: warning: no previous prototype for WriteLogicalTime' dumpOSC.c: In function
WriteLogicalTime':
dumpOSC.c:562: warning: integer constant is too large for "long" type
dumpOSC.c: In function dumpOSC_SendReply': dumpOSC.c:569: warning: unused variable
t2'
dumpOSC.c:570: warning: unused variable dt2' dumpOSC.c: In function
dumpOSC_Smessage':
dumpOSC.c:683: warning: unused variable at' dumpOSC.c:686: warning: unused variable
myargc'
dumpOSC.c:687: warning: unused variable mya' dumpOSC.c:688: warning: unused variable
myi'
dumpOSC.c: In function dumpOSC_PrintTypeTaggedArgs': dumpOSC.c:762: warning: dereferencing type-punned pointer will break strict-aliasing rules dumpOSC.c:730: warning: unused variable
myi'
dumpOSC.c: In function dumpOSC_PrintHeuristicallyTypeGuessedArgs': dumpOSC.c:863: warning: dereferencing type-punned pointer will break strict-aliasing rules dumpOSC.c:852: warning: unused variable
myi'
dumpOSC.c: At top level:
dumpOSC.c:340: warning: unixinitudp' defined but not used dumpOSC.c:366: warning:
initudp' defined but not used
dumpOSC.c:418: warning: closeudp' defined but not used dumpOSC.c:480: warning:
catch_sigint' defined but not used
dumpOSC.c:155: warning: Synthmessage' declared
static' but never defined
dumpOSC.c:190: warning: dumpOSC_read' defined but not used dumpOSC.c:483: warning:
sockfd' defined but not used
dumpOSC.c:483: warning: usockfd' defined but not used make[1]: *** [dumpOSC.o] Error 1 make[1]: Leaving directory
/usr/lib/pd/OSCx/src'
make: *** [all] Error 2
demudi:/usr/lib/pd/OSCx# make
cd libOSC ; make
make[1]: Entering directory /usr/lib/pd/OSCx/libOSC' make[1]: Nothing to be done for
all'.
make[1]: Leaving directory /usr/lib/pd/OSCx/libOSC' cd src ; make make[1]: Entering directory
/usr/lib/pd/OSCx/src'
cc -g -O2 -DUNIX -Wall -Wimplicit -Wunused -Wmissing-prototypes -O2
-I../libOSC -I../../pd/src -I../../../pd/src -I. -I../libOSC -I../../pd/src
-I../../../pd/src -I. -c -o dumpOSC.o dumpOSC.c
dumpOSC.c:75:21: s_stuff.h: No such file or directory
dumpOSC.c:80: error: parse error before "t_fdpollfn"
dumpOSC.c: In function dumpOSC_new': dumpOSC.c:261: warning: implicit declaration of function
sys_sockerror'
dumpOSC.c:273: warning: implicit declaration of function sys_closesocket' dumpOSC.c:285: error:
t_fdpollfn' undeclared (first use in this function)
dumpOSC.c:285: error: (Each undeclared identifier is reported only once
dumpOSC.c:285: error: for each function it appears in.)
dumpOSC.c:285: error: parse error before "dumpOSC_read"
dumpOSC.c: In function dumpOSC_free': dumpOSC.c:317: warning: implicit declaration of function
sys_rmpollfn'
dumpOSC.c: At top level:
dumpOSC.c:327: warning: no previous prototype for dumpOSC_setup' dumpOSC.c:486: warning: no previous prototype for
PrintClientAddr'
dumpOSC.c: In function PrintClientAddr': dumpOSC.c:492: warning: unsigned int format, long unsigned int arg (arg 2) dumpOSC.c: At top level: dumpOSC.c:510: warning: no previous prototype for
WriteTime'
dumpOSC.c:516: warning: no previous prototype for WriteMode' dumpOSC.c:521: warning: no previous prototype for
ReadTime'
dumpOSC.c:527: warning: no previous prototype for TimeToSeconds' dumpOSC.c:532: warning: no previous prototype for
timeRound'
dumpOSC.c:555: warning: no previous prototype for WriteLogicalTime' dumpOSC.c: In function
WriteLogicalTime':
dumpOSC.c:562: warning: integer constant is too large for "long" type
dumpOSC.c: In function dumpOSC_SendReply': dumpOSC.c:569: warning: unused variable
t2'
dumpOSC.c:570: warning: unused variable dt2' dumpOSC.c: In function
dumpOSC_Smessage':
dumpOSC.c:683: warning: unused variable at' dumpOSC.c:686: warning: unused variable
myargc'
dumpOSC.c:687: warning: unused variable mya' dumpOSC.c:688: warning: unused variable
myi'
dumpOSC.c: In function dumpOSC_PrintTypeTaggedArgs': dumpOSC.c:762: warning: dereferencing type-punned pointer will break strict-aliasing rules dumpOSC.c:730: warning: unused variable
myi'
dumpOSC.c: In function dumpOSC_PrintHeuristicallyTypeGuessedArgs': dumpOSC.c:863: warning: dereferencing type-punned pointer will break strict-aliasing rules dumpOSC.c:852: warning: unused variable
myi'
dumpOSC.c: At top level:
dumpOSC.c:340: warning: unixinitudp' defined but not used dumpOSC.c:366: warning:
initudp' defined but not used
dumpOSC.c:418: warning: closeudp' defined but not used dumpOSC.c:480: warning:
catch_sigint' defined but not used
dumpOSC.c:155: warning: Synthmessage' declared
static' but never defined
dumpOSC.c:190: warning: dumpOSC_read' defined but not used dumpOSC.c:483: warning:
sockfd' defined but not used
dumpOSC.c:483: warning: usockfd' defined but not used make[1]: *** [dumpOSC.o] Error 1 make[1]: Leaving directory
/usr/lib/pd/OSCx/src'
make: *** [all] Error 2
dumpOSC.c:75:21: s_stuff.h: No such file or directory
here is one problem. it can't find s_stuff.h
this is a pd header file which a lot of people use in programming their externals, but AFAIK is not considered stable API and is therefore not installed when you 'make install' pd.
so, one thing you can do is just copy the s_stuff.h from the pd source into /usr/local/include
in fact I usually just copy all the *.h files from the pd/src directory into /usr/local/include
that you should take care of things.
best -august.