{"action":"created","issue":{"url":"https://api.github.com/repos/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp/issues/62","repository_url":"https://api.github.com/repos/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp","labels_url":"https://api.github.com/repos/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp/issues/62/comments","events_url":"https://api.github.com/repos/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp/issues/62/events","html_url":"https://github.com/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp/issues/62","id":311403215,"number":62,"title":"Install Issue on Raspberry Pi 3 B+","user":{"login":"herosjourney","id":10217123,"avatar_url":"https://avatars3.githubusercontent.com/u/10217123?v=4","gravatar_id":"","url":"https://api.github.com/users/herosjourney","html_url":"https://github.com/herosjourney","followers_url":"https://api.github.com/users/herosjourney/followers","following_url":"https://api.github.com/users/herosjourney/following{/other_user}","gists_url":"https://api.github.com/users/herosjourney/gists{/gist_id}","starred_url":"https://api.github.com/users/herosjourney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/herosjourney/subscriptions","organizations_url":"https://api.github.com/users/herosjourney/orgs","repos_url":"https://api.github.com/users/herosjourney/repos","events_url":"https://api.github.com/users/herosjourney/events{/privacy}","received_events_url":"https://api.github.com/users/herosjourney/received_events","type":"User","site_admin":false},"labels":[{"id":851728201,"url":"https://api.github.com/repos/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp/labels/successful%20streaming","name":"successful streaming","color":"efaae8","default":false},{"id":798522054,"url":"https://api.github.com/repos/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp/labels/waiting%20for%20reply","name":"waiting for reply","color":"1d76db","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2018-04-04T21:49:11Z","updated_at":"2018-04-15T09:53:06Z","closed_at":null,"author_association":"NONE","body":"Raspberry Pi Kernel 4.14.32-v7+\r\nRasbian GNU/Linux 9 \r\n\r\nI receive the following error on running the following script (./kinesis-video-native-build/install-script) in the following directory (amazon-kinesis-video-streams-producer-sdk-cpp). I've provided some extra parts of the install/setup before the error language:\r\n\r\nranlib libssl.a || echo Never mind.\r\nmake -f ./Makefile.shared -e \\\r\n\tPLATFORM=linux-armv4 \\\r\n\tPERL=\"/usr/bin/perl\" SRCDIR='.' DSTDIR=\".\" \\\r\n\tINSTALLTOP='/home/pi/amazon-kinesis-video-streams-producer-sdk-cpp/downloads/local/' LIBDIR='lib' \\\r\n\tLIBDEPS=' '\"\"' -ldl ' \\\r\n\tLIBNAME=crypto LIBVERSION=1.1 \\\r\n\tLIBCOMPATVERSIONS=';' \\\r\n\tCC='gcc' CFLAGS='-DDSO_DLFCN -DHAVE_DLFCN_H -DNDEBUG -DOPENSSL_THREADS -DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DPOLY1305_ASM -DOPENSSLDIR=\"\\\"/home/pi/amazon-kinesis-video-streams-producer-sdk-cpp/downloads/local/\\\"\" -DENGINESDIR=\"\\\"/home/pi/amazon-kinesis-video-streams-producer-sdk-cpp/downloads/local/lib/engines-1.1\\\"\" -Wall -O3 -pthread  -march=armv7-a -Wa,--noexecstack -fPIC -DOPENSSL_USE_NODELETE' \\\r\n\tLDFLAGS='' \\\r\n\tSHARED_LDFLAGS='-Wl,-znodelete ' SHLIB_EXT=.so.1.1 \\\r\n\tRC='windres' SHARED_RCFLAGS='' \\\r\n\tlink_shlib.linux-shared\r\nmake[2]: Entering directory '/home/pi/amazon-kinesis-video-streams-producer-sdk-cpp/downloads/openssl-1.1.0f'\r\nLD_LIBRARY_PATH=: gcc -DDSO_DLFCN -DHAVE_DLFCN_H -DNDEBUG -DOPENSSL_THREADS -DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DPOLY1305_ASM -DOPENSSLDIR=\"/home/pi/amazon-kinesis-video-streams-producer-sdk-cpp/downloads/local/\" -DENGINESDIR=\"/home/pi/amazon-kinesis-video-streams-producer-sdk-cpp/downloads/local/lib/engines-1.1\" -Wall -O3 -pthread -march=armv7-a -Wa,--noexecstack -fPIC -DOPENSSL_USE_NODELETE -Wl,-znodelete -shared -Wl,-Bsymbolic -Wl,-soname=libcrypto.so.1.1 -o ./libcrypto.so.1.1 -Wl,--whole-archive,--version-script=crypto.map ./libcrypto.a -Wl,--no-whole-archive -ldl\r\n./libcrypto.a: member ./libcrypto.a(cms_pwri.o) in archive is not an object\r\ncollect2: error: ld returned 1 exit status\r\nMakefile.shared:197: recipe for target 'link_shlib.linux-shared' failed\r\nmake[2]: *** [link_shlib.linux-shared] Error 1\r\nmake[2]: Leaving directory '/home/pi/amazon-kinesis-video-streams-producer-sdk-cpp/downloads/openssl-1.1.0f'\r\nMakefile:639: recipe for target 'libcrypto.so' failed\r\nmake[1]: *** [libcrypto.so] Error 2\r\nmake[1]: Leaving directory '/home/pi/amazon-kinesis-video-streams-producer-sdk-cpp/downloads/openssl-1.1.0f'\r\nMakefile:128: recipe for target 'all' failed\r\nmake: *** [all] Error 2\r\n\r\nAny input on how to troubleshoot this error?\r\n\r\nThanks,\r\nLogan\r\n"},"comment":{"url":"https://api.github.com/repos/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp/issues/comments/381393926","html_url":"https://github.com/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp/issues/62#issuecomment-381393926","issue_url":"https://api.github.com/repos/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp/issues/62","id":381393926,"user":{"login":"zhiyua-git","id":34074002,"avatar_url":"https://avatars1.githubusercontent.com/u/34074002?v=4","gravatar_id":"","url":"https://api.github.com/users/zhiyua-git","html_url":"https://github.com/zhiyua-git","followers_url":"https://api.github.com/users/zhiyua-git/followers","following_url":"https://api.github.com/users/zhiyua-git/following{/other_user}","gists_url":"https://api.github.com/users/zhiyua-git/gists{/gist_id}","starred_url":"https://api.github.com/users/zhiyua-git/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhiyua-git/subscriptions","organizations_url":"https://api.github.com/users/zhiyua-git/orgs","repos_url":"https://api.github.com/users/zhiyua-git/repos","events_url":"https://api.github.com/users/zhiyua-git/events{/privacy}","received_events_url":"https://api.github.com/users/zhiyua-git/received_events","type":"User","site_admin":false},"created_at":"2018-04-15T09:53:06Z","updated_at":"2018-04-15T09:53:06Z","author_association":"CONTRIBUTOR","body":"@herosjourney From the log you provided, your network bandwidth is not high enough to handle the stream to upload, so it was causing buffer pressure. Your allocated buffer was almost full (65808871 = 62Mb) and failed allocation of temporary buffer for new frames caused fatal failure. Can you tell us your bandwidth status and send us a full log file that we can understand and help you more? You can send the information to kinesis-video-support@amazon.com.\r\n\r\nYou can also refer to [Error Code Reference](https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/producer-sdk-errors.html) to better understand these errors and deal with them.\r\n\r\nIn your case, Error code 0x5200002e is out of memory error as your buffer was almost full. Error code 0x32000002 indicates your camera was producing b frames which we don't support. Can you double-check the setting of your camera? \r\n\r\nThank you very much.\r\n"}}
{"actor":{"display_login":"zhiyua-git"}}