You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.
This is probably a bit of an ask, but I'd love to have it on my router.
At present, the linux sources seem to be closest:
build/linux:
-bash-4.2$ gmake clean
rm *.o
rm: *.o: No such file or directory
gmake: [clean] Error 1 (ignored)
-bash-4.2$ gmake
echo '#include "common.h"' > ../../bmsync/src/helpText.c
echo 'char* helpTxt=' >> ../../bmsync/src/helpText.c
cat ../../bmsync/src/../help.txt | sed 's/^/"/' | sed 's/$/" EOL/' >> ../../bmsync/src/helpText.c
echo ';' >> ../../bmsync/src/helpText.c
gcc -c ../../bmsync/src/bmsync.c -o bmsync.o -I../../shared/src -I../../shared_client/src -I../../bmclient/src -I../../capture/src -I../../webserver/src -I../../bmdb/src -I../../bmsync/src -I../../test -I/usr/include/malloc
In file included from ../../bmsync/src/bmsync.c:17:
../../capture/src/capture.h:20: error: expected specifier-qualifier-list before 'pthread_mutex_t'
In file included from ../../bmsync/src/bmsync.c:17:
../../capture/src/capture.h:108:7: warning: no newline at end of file
../../bmsync/src/bmsync.c: In function 'doConnect':
../../bmsync/src/bmsync.c:149: error: 'AF_INET' undeclared (first use in this function)
../../bmsync/src/bmsync.c:149: error: (Each undeclared identifier is reported only once
../../bmsync/src/bmsync.c:149: error: for each function it appears in.)
../../bmsync/src/bmsync.c:150: error: 'SOCK_STREAM' undeclared (first use in this function)
gmake: *** [bmsync.o] Error 1
I though OSX might be a close match, with "darwin" being a BSD, but alas:
build/osx
-bash-4.2$ gmake clean
rm *.o
rm: *.o: No such file or directory
gmake: [clean] Error 1 (ignored)
rm test/*.o
rm: test/*.o: No such file or directory
gmake: [clean] Error 1 (ignored)
-bash-4.2$ gmake gmake
gmake: *** No rule to make target `gmake'. Stop.
-bash-4.2$ gmake
echo '#include "common.h"' > ../../bmsync/src/helpText.c
echo 'char* helpTxt=' >> ../../bmsync/src/helpText.c
cat ../../bmsync/src/../help.txt | sed 's/^/"/' | sed 's/$/" EOL/' >> ../../bmsync/src/helpText.c
echo ';' >> ../../bmsync/src/helpText.c
gcc -Wall -arch i386 -arch ppc -arch ppc64 -c ../../bmsync/src/bmsync.c -o bmsync.o -I../../shared/src -I../../shared_client/src -I../../bmclient/src -I../../capture/src -I../../webserver/src -I../../bmdb/src -I../../bmsync/src -I../../test -I/usr/include/malloc
gcc: i386: No such file or directory
gcc: ppc: No such file or directory
gcc: ppc64: No such file or directory
cc1: error: unrecognized command line option "-arch"
cc1: error: unrecognized command line option "-arch"
cc1: error: unrecognized command line option "-arch"
gmake: *** [bmsync.o] Error 1
Fixing that error by removing the arches gets a little further, but not a whole bunch:
CC=-Wall
gmake
echo '#include "common.h"' > ../../bmsync/src/helpText.c
echo 'char* helpTxt=' >> ../../bmsync/src/helpText.c
cat ../../bmsync/src/../help.txt | sed 's/^/"/' | sed 's/$/" EOL/' >> ../../bmsync/src/helpText.c
echo ';' >> ../../bmsync/src/helpText.c
gcc -Wall -c ../../bmsync/src/bmsync.c -o bmsync.o -I../../shared/src -I../../shared_client/src -I../../bmclient/src -I../../capture/src -I../../webserver/src -I../../bmdb/src -I../../bmsync/src -I../../test -I/usr/include/malloc
In file included from ../../bmsync/src/bmsync.c:17:
../../capture/src/capture.h:20: error: expected specifier-qualifier-list before 'pthread_mutex_t'
In file included from ../../bmsync/src/bmsync.c:17:
../../capture/src/capture.h:108:7: warning: no newline at end of file
../../bmsync/src/bmsync.c: In function 'syncWithHost':
../../bmsync/src/bmsync.c:54: warning: implicit declaration of function 'printOut'
../../bmsync/src/bmsync.c: In function 'main':
../../bmsync/src/bmsync.c:110: warning: unused variable 'alias'
../../bmsync/src/bmsync.c:109: warning: unused variable 'host'
../../bmsync/src/bmsync.c:108: warning: unused variable 'sockFd'
../../bmsync/src/bmsync.c: In function 'doConnect':
../../bmsync/src/bmsync.c:149: error: 'AF_INET' undeclared (first use in this function)
../../bmsync/src/bmsync.c:149: error: (Each undeclared identifier is reported only once
../../bmsync/src/bmsync.c:149: error: for each function it appears in.)
../../bmsync/src/bmsync.c:150: error: 'SOCK_STREAM' undeclared (first use in this function)
../../bmsync/src/bmsync.c:162: warning: implicit declaration of function 'socket'
../../bmsync/src/bmsync.c:168: warning: implicit declaration of function 'connect'
gmake: *** [bmsync.o] Error 1
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This is probably a bit of an ask, but I'd love to have it on my router.
At present, the linux sources seem to be closest:
I though OSX might be a close match, with "darwin" being a BSD, but alas:
Fixing that error by removing the arches gets a little further, but not a whole bunch:
CC=-Wall
The text was updated successfully, but these errors were encountered: