Skip to content

Instantly share code, notes, and snippets.

@tedthetrumpet
Created September 17, 2016 07:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save tedthetrumpet/bf3d8581021a2694ededc9823a4bbf11 to your computer and use it in GitHub Desktop.
Save tedthetrumpet/bf3d8581021a2694ededc9823a4bbf11 to your computer and use it in GitHub Desktop.
jsimon@edgy:~/EspGrid/espgridd$ cd ~
jsimon@edgy:~$ ls
Desktop Music
Documents Pictures
Downloads Public
Dropbox qt-opensource-linux-x64-5.6.1.run
EspGrid sc3-plugins
examples.desktop sc_ide_conf.yaml
exchangecalendar supercollider
kxstudio-repos_9.3.0~kxstudio1_all.deb Templates
kxstudio-repos-gcc5_9.3.0~kxstudio1_all.deb Videos
jsimon@edgy:~$ rm -dr EspGrid
rm: remove write-protected regular file 'EspGrid/.git/objects/pack/pack-a9b47da19ea7ddb40e6e56228192e634b4e02925.pack'? sudo rm -dr
rm: remove write-protected regular file 'EspGrid/.git/objects/pack/pack-a9b47da19ea7ddb40e6e56228192e634b4e02925.idx'? y
rm: cannot remove 'EspGrid/.git/objects/pack': Directory not empty
jsimon@edgy:~$ ls
Desktop Music
Documents Pictures
Downloads Public
Dropbox qt-opensource-linux-x64-5.6.1.run
EspGrid sc3-plugins
examples.desktop sc_ide_conf.yaml
exchangecalendar supercollider
kxstudio-repos_9.3.0~kxstudio1_all.deb Templates
kxstudio-repos-gcc5_9.3.0~kxstudio1_all.deb Videos
jsimon@edgy:~$ cd EspGrid/
jsimon@edgy:~/EspGrid$ ls
jsimon@edgy:~/EspGrid$ ls -al
total 12
drwxrwxr-x 3 jsimon jsimon 4096 Sep 16 16:30 .
drwxr-xr-x 43 jsimon jsimon 4096 Sep 12 21:49 ..
drwxrwxr-x 3 jsimon jsimon 4096 Sep 16 16:30 .git
jsimon@edgy:~/EspGrid$ rm -rd .git
rm: remove write-protected regular file '.git/objects/pack/pack-a9b47da19ea7ddb40e6e56228192e634b4e02925.pack'? y
jsimon@edgy:~/EspGrid$ ls
jsimon@edgy:~/EspGrid$ ls -al
total 8
drwxrwxr-x 2 jsimon jsimon 4096 Sep 16 16:31 .
drwxr-xr-x 43 jsimon jsimon 4096 Sep 12 21:49 ..
jsimon@edgy:~/EspGrid$ cd ..
jsimon@edgy:~$ rm -dr EspGrid/
jsimon@edgy:~$ ls
Desktop kxstudio-repos_9.3.0~kxstudio1_all.deb sc3-plugins
Documents kxstudio-repos-gcc5_9.3.0~kxstudio1_all.deb sc_ide_conf.yaml
Downloads Music supercollider
Dropbox Pictures Templates
examples.desktop Public Videos
exchangecalendar qt-opensource-linux-x64-5.6.1.run
jsimon@edgy:~$ git clone https://github.com/d0kt0r0/EspGrid
Cloning into 'EspGrid'...
remote: Counting objects: 1309, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 1309 (delta 0), reused 0 (delta 0), pack-reused 1305
Receiving objects: 100% (1309/1309), 1.61 MiB | 1.36 MiB/s, done.
Resolving deltas: 100% (727/727), done.
Checking connectivity... done.
jsimon@edgy:~$ cd EspGrid/EspGrid
jsimon@edgy:~/EspGrid/EspGrid$ make
gcc -c -std=gnu99 -MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -O2 -fgnu-runtime -fconstant-string-class=NSConstantString -I. -I/home/jsimon/GNUstep/Library/Headers -I/usr/local/include/GNUstep -I/usr/include/GNUstep EspBeat.m -o EspBeat.o
gcc -c -std=gnu99 -MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -O2 -fgnu-runtime -fconstant-string-class=NSConstantString -I. -I/home/jsimon/GNUstep/Library/Headers -I/usr/local/include/GNUstep -I/usr/include/GNUstep EspChat.m -o EspChat.o
gcc -c -std=gnu99 -MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -O2 -fgnu-runtime -fconstant-string-class=NSConstantString -I. -I/home/jsimon/GNUstep/Library/Headers -I/usr/local/include/GNUstep -I/usr/include/GNUstep EspChannel.m -o EspChannel.o
gcc -c -std=gnu99 -MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -O2 -fgnu-runtime -fconstant-string-class=NSConstantString -I. -I/home/jsimon/GNUstep/Library/Headers -I/usr/local/include/GNUstep -I/usr/include/GNUstep EspClock.m -o EspClock.o
EspClock.m: In function ‘-[EspClock init]’:
EspClock.m:63:5: warning: ‘EspClock’ may not respond to ‘-sendBeacon:’
[self sendBeacon:nil]; // issue initial beacon
^
EspClock.m:63:5: warning: (Messages without a matching method signature
EspClock.m:63:5: warning: will be assumed to return ‘id’ and accept
EspClock.m:63:5: warning: ‘...’ as arguments.)
gcc -c -std=gnu99 -MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -O2 -fgnu-runtime -fconstant-string-class=NSConstantString -I. -I/home/jsimon/GNUstep/Library/Headers -I/usr/local/include/GNUstep -I/usr/include/GNUstep EspCodeShareItem.m -o EspCodeShareItem.o
gcc -c -std=gnu99 -MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -O2 -fgnu-runtime -fconstant-string-class=NSConstantString -I. -I/home/jsimon/GNUstep/Library/Headers -I/usr/local/include/GNUstep -I/usr/include/GNUstep EspCodeShare.m -o EspCodeShare.o
EspCodeShare.m:209:1: warning: incomplete implementation of class ‘EspCodeShare’
@end
^
EspCodeShare.m:209:1: warning: method definition for ‘-setRequestedShare:’ not found
EspCodeShare.m:209:1: warning: method definition for ‘-requestedShare’ not found
EspCodeShare.m: In function ‘-[EspCodeShare handleDeliverShare:]’:
EspCodeShare.m:157:5: warning: ‘item’ may be used uninitialized in this function [-Wmaybe-uninitialized]
[item addFragment:fragment index:index];
^
gcc -c -std=gnu99 -MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -O2 -fgnu-runtime -fconstant-string-class=NSConstantString -I. -I/home/jsimon/GNUstep/Library/Headers -I/usr/local/include/GNUstep -I/usr/include/GNUstep EspOscSubscribers.m -o EspOscSubscribers.o
gcc -c -std=gnu99 -MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -O2 -fgnu-runtime -fconstant-string-class=NSConstantString -I. -I/home/jsimon/GNUstep/Library/Headers -I/usr/local/include/GNUstep -I/usr/include/GNUstep EspOscSocket.m -o EspOscSocket.o
gcc -c -std=gnu99 -MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -O2 -fgnu-runtime -fconstant-string-class=NSConstantString -I. -I/home/jsimon/GNUstep/Library/Headers -I/usr/local/include/GNUstep -I/usr/include/GNUstep EspKeyValueController.m -o EspKeyValueController.o
gcc -c -std=gnu99 -MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -O2 -fgnu-runtime -fconstant-string-class=NSConstantString -I. -I/home/jsimon/GNUstep/Library/Headers -I/usr/local/include/GNUstep -I/usr/include/GNUstep EspMessage.m -o EspMessage.o
gcc -c -std=gnu99 -MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -O2 -fgnu-runtime -fconstant-string-class=NSConstantString -I. -I/home/jsimon/GNUstep/Library/Headers -I/usr/local/include/GNUstep -I/usr/include/GNUstep EspMovingAverage.m -o EspMovingAverage.o
gcc -c -std=gnu99 -MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -O2 -fgnu-runtime -fconstant-string-class=NSConstantString -I. -I/home/jsimon/GNUstep/Library/Headers -I/usr/local/include/GNUstep -I/usr/include/GNUstep EspPeer.m -o EspPeer.o
EspPeer.m: In function ‘-[EspPeer init]’:
EspPeer.m:47:5: warning: multiple methods named ‘-initWithLength:’ found
averageLatencyObj = [[EspMovingAverage alloc] initWithLength:12];
^
In file included from /usr/include/GNUstep/Foundation/Foundation.h:55:0,
from EspPeer.h:19,
from EspPeer.m:19:
/usr/include/GNUstep/Foundation/NSData.h:263:1: note: using ‘-(id)initWithLength:(NSUInteger)length’
- (id) initWithLength: (NSUInteger)length;
^
/usr/include/GNUstep/Foundation/NSData.h:263:1: note: also found ‘-(id)initWithLength:(NSUInteger)length’
In file included from EspPeer.h:22:0,
from EspPeer.m:19:
EspMovingAverage.h:21:1: note: also found ‘-(id)initWithLength:(int)l’
-(id) initWithLength:(int)l;
^
EspPeer.m:49:5: warning: multiple methods named ‘-initWithLength:’ found
refBeaconAverageObj = [[EspMovingAverage alloc] initWithLength:12];
^
In file included from /usr/include/GNUstep/Foundation/Foundation.h:55:0,
from EspPeer.h:19,
from EspPeer.m:19:
/usr/include/GNUstep/Foundation/NSData.h:263:1: note: using ‘-(id)initWithLength:(NSUInteger)length’
- (id) initWithLength: (NSUInteger)length;
^
/usr/include/GNUstep/Foundation/NSData.h:263:1: note: also found ‘-(id)initWithLength:(NSUInteger)length’
In file included from EspPeer.h:22:0,
from EspPeer.m:19:
EspMovingAverage.h:21:1: note: also found ‘-(id)initWithLength:(int)l’
-(id) initWithLength:(int)l;
^
gcc -c -std=gnu99 -MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -O2 -fgnu-runtime -fconstant-string-class=NSConstantString -I. -I/home/jsimon/GNUstep/Library/Headers -I/usr/local/include/GNUstep -I/usr/include/GNUstep EspPeerList.m -o EspPeerList.o
gcc -c -std=gnu99 -MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -O2 -fgnu-runtime -fconstant-string-class=NSConstantString -I. -I/home/jsimon/GNUstep/Library/Headers -I/usr/local/include/GNUstep -I/usr/include/GNUstep EspQueue.m -o EspQueue.o
gcc -c -std=gnu99 -MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -O2 -fgnu-runtime -fconstant-string-class=NSConstantString -I. -I/home/jsimon/GNUstep/Library/Headers -I/usr/local/include/GNUstep -I/usr/include/GNUstep EspSocket.m -o EspSocket.o
gcc -c -std=gnu99 -MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -O2 -fgnu-runtime -fconstant-string-class=NSConstantString -I. -I/home/jsimon/GNUstep/Library/Headers -I/usr/local/include/GNUstep -I/usr/include/GNUstep EspNetwork.m -o EspNetwork.o
EspNetwork.m: In function ‘-[EspNetwork sendOpcode:]’:
EspNetwork.m:99:83: warning: array subscript has type ‘char’ [-Wchar-subscripts]
log = [NSString stringWithFormat:@"sending opcode %s(%d)",opcodeName[opcode->op
^
EspNetwork.m: In function ‘-[EspNetwork handleOpcode:]’:
EspNetwork.m:167:40: warning: array subscript has type ‘char’ [-Wchar-subscripts]
id<EspNetworkDelegate> h = handlers[opcode->opcode];
^
EspNetwork.m:175:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
opcodeName[opcode->opcode],opcode->opcode,opcode->name,opc
^
gcc -c -std=gnu99 -MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -O2 -fgnu-runtime -fconstant-string-class=NSConstantString -I. -I/home/jsimon/GNUstep/Library/Headers -I/usr/local/include/GNUstep -I/usr/include/GNUstep EspOsc.m -o EspOsc.o
gcc -c -std=gnu99 -MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -O2 -fgnu-runtime -fconstant-string-class=NSConstantString -I. -I/home/jsimon/GNUstep/Library/Headers -I/usr/local/include/GNUstep -I/usr/include/GNUstep EspGrid.m -o EspGrid.o
EspGrid.m: In function ‘+[EspGrid postLog:]’:
EspGrid.m:375:5: warning: implicit declaration of function ‘appendToLogFile’ [-Wimplicit-function-declaration]
appendToLogFile(m);
^
EspGrid.m: At top level:
EspGrid.m:380:6: warning: conflicting types for ‘appendToLogFile’
void appendToLogFile(NSString* s)
^
EspGrid.m:375:5: note: previous implicit declaration of ‘appendToLogFile’ was here
appendToLogFile(m);
^
EspGrid.m: In function ‘appendToLogFile’:
EspGrid.m:389:9: warning: passing argument 4 of ‘writeToFile:atomically:encoding:error:’ from incompatible pointer type [-Wincompatible-pointer-types]
[s2 writeToFile:path atomically:YES encoding:NSUTF8StringEncoding error
^
EspGrid.m:389:9: note: expected ‘struct NSError **’ but argument is of type ‘id’
gcc -c -std=gnu99 -MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -O2 -fgnu-runtime -fconstant-string-class=NSConstantString -I. -I/home/jsimon/GNUstep/Library/Headers -I/usr/local/include/GNUstep -I/usr/include/GNUstep main.m -o main.o
main.m: In function ‘main’:
main.m:41:57: error: ‘TRUE’ undeclared (first use in this function)
if(!strcmp(argv[x],"--logOSC")) echoToLog = TRUE;
^
main.m:41:57: note: each undeclared identifier is reported only once for each function it appears in
Makefile:10: recipe for target 'main.o' failed
make: *** [main.o] Error 1
jsimon@edgy:~/EspGrid/EspGrid$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment