Skip to content

Instantly share code, notes, and snippets.

@eckucukoglu
Created June 23, 2017 09:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eckucukoglu/d7865a8e5c403ae867d9e0095f671dc0 to your computer and use it in GitHub Desktop.
Save eckucukoglu/d7865a8e5c403ae867d9e0095f671dc0 to your computer and use it in GitHub Desktop.
eckucukoglu@neptune:~/.../OnboardingManager$ source /usr/local/oecore-x86_64/environment-setup-armv7a-vfp-neon-oe-linux-gnueabi
eckucukoglu@neptune:~/.../OnboardingManager$ make clen
make: *** No rule to make target 'clen'. Stop.
eckucukoglu@neptune:~/.../OnboardingManager$ make clean
rm -f main.o OnboardingServer.o OnboardingManager
eckucukoglu@neptune:~/.../OnboardingManager$ make
arm-oe-linux-gnueabi-g++ -march=armv7-a -mfloat-abi=softfp -mfpu=neon --sysroot=/usr/local/oecore-x86_64/sysroots/armv7a-vfp-neon-oe-linux-gnueabi -O2 -g -Wall -fmessage-length=0 -std=c++11 -pthread -DDEVICE -I../ExternalLibs/include -c main.cpp -o main.o
main.cpp: In function 'void fnConnect()':
main.cpp:228:80: error: too many arguments to function 'int qci_wifi_connect(CONNECT_INFO*)'
qci_wifi_connect(&connectInfo, &wifi_connect_cb_fn, (void *)"CONNECT CALLBACK");
^
In file included from main.cpp:30:0:
../ExternalLibs/include/qci_lib.h:145:5: note: declared here
int qci_wifi_connect(CONNECT_INFO *info);
^
main.cpp: In function 'bool connectAPCallback(const char*, const char*)':
main.cpp:263:23: error: incompatible types in assignment of '<anonymous enum>' to 'char [10]'
connectInfo.key_mgmt = KEY_MGMT_WPA_PSK;
^
main.cpp:269:80: error: too many arguments to function 'int qci_wifi_connect(CONNECT_INFO*)'
qci_wifi_connect(&connectInfo, &wifi_connect_cb_fn, (void *)"CONNECT CALLBACK");
^
In file included from main.cpp:30:0:
../ExternalLibs/include/qci_lib.h:145:5: note: declared here
int qci_wifi_connect(CONNECT_INFO *info);
^
main.cpp: In function 'bool connectToStartupConnection()':
main.cpp:305:88: error: too many arguments to function 'int qci_wifi_connect(CONNECT_INFO*)'
qci_wifi_connect(&prevConnectInfo, &wifi_connectToPrev_cb_fn, (void *)"CONNECT TO AP");
^
In file included from main.cpp:30:0:
../ExternalLibs/include/qci_lib.h:145:5: note: declared here
int qci_wifi_connect(CONNECT_INFO *info);
^
main.cpp: In function 'void getUserInput()':
main.cpp:457:84: error: too many arguments to function 'int qci_wifi_connect(CONNECT_INFO*)'
qci_wifi_connect(&prevConnectInfo, &wifi_connect_cb_fn, (void *)"CONNECT TO AP");
^
In file included from main.cpp:30:0:
../ExternalLibs/include/qci_lib.h:145:5: note: declared here
int qci_wifi_connect(CONNECT_INFO *info);
^
main.cpp:462:84: error: too many arguments to function 'int qci_wifi_disconnect()'
qci_wifi_disconnect(&wifi_disconnect_cb_fn, (void *)"DISCONNECT FROM CURRENT AP");
^
In file included from main.cpp:30:0:
../ExternalLibs/include/qci_lib.h:147:5: note: declared here
int qci_wifi_disconnect();
^
Makefile:18: recipe for target 'main.o' failed
make: *** [main.o] Error 1
eckucukoglu@neptune:~/.../OnboardingManager$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment