- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Compiling App_aws_subcriber
Compiling WICED
Compiling Platform_BCM943362WCD4
apps/demo/aws_iot/pub_sub/subscriber/subscriber.c: In function 'application_start':
apps/demo/aws_iot/pub_sub/subscriber/subscriber.c:193:36: error: 'resources_apps_DIR_aws_iot_DIR_client_cer' undeclared (first use in this function)
resource_get_readonly_buffer( &resources_apps_DIR_aws_iot_DIR_client_cer, 0, MQTT_MAX_RESOURCE_SIZE, &size_out, (const void **) &security.cert );
^
apps/demo/aws_iot/pub_sub/subscriber/subscriber.c:193:36: note: each undeclared identifier is reported only once for each function it appears in
apps/demo/aws_iot/pub_sub/subscriber/subscriber.c:199:36: error: 'resources_apps_DIR_aws_iot_DIR_privkey_cer' undeclared (first use in this function)
resource_get_readonly_buffer( &resources_apps_DIR_aws_iot_DIR_privkey_cer, 0, MQTT_MAX_RESOURCE_SIZE, &size_out, (const void **) &security.key );
^
make.exe[1]: *** [build/demo.aws_iot.pub_sub.subscriber-BCM943362WCD4/Modules/apps/demo/aws_iot/pub_sub/subscriber/subscriber.o] Error 1
make.exe[1]: *** Waiting for unfinished jobs....
tools/makefiles/wiced_elf.mk:177: recipe for target 'build/demo.aws_iot.pub_sub.subscriber-BCM943362WCD4/Modules/apps/demo/aws_iot/pub_sub/subscriber/subscriber.o' failed
make: *** [main_app] Error 2
Makefile:220: recipe for target 'main_app' failed
I tried to find the undeclared variables but i didn't find any definition /declaration of such variables..
i created target name as:
demo.aws_iot.pub_sub.subscriber-BCM943362WCD4 download run
i changed the publicKey & Clien certificate file to my public key & client certificate..
As these variables are giving the path for certificate & private key..
Where should I declare them?
Thanks ,
Shrikrishna
- Labels:
-
Security
-
Web Services