Hi!
I try to run example of httpServer on my WP8548 (16.10.4).
I make lighttpd (1.4.49) as described in readme:
Run these:
…
$ CCFLAGS="-DDEBUG -g" CC=$WP85_TOOLCHAIN_DIR/arm-poky-linux-gnueabi-gcc RANLIB=$WP85_TOOLCHAIN_DIR/arm-poky-linux-gnueabi-ranlib STRIP=WP85_TOOLCHAIN_DIR/arm-poky-linux-gnueabi-strip
./configure --host=arm-poky-linux --enable-static --enable-shared --without-zlib --without-bzip2 --without-pcre --without-openssl
$ make
…
Copy src/lighttpd to a binaries/ folder within the sample app directory (httpServer/binaries) and chmod +x
Copy src/.libs/*.so or whatever module libraries you need to httpServer/binaries/lib/
…
So no problem at this moment. I only configure lighttpd with key: --without-openssl.
Compile httpServer compile without problem (in adef file I only rename libcrypto.so.1.0.0 to libcrypt-2.20.so).
So than I install application on the device at the end I have this:
…
Jan 6 00:17:01 | supervisor[483]/supervisor T=main | proc.c proc_Start() 1190 | Starting process ‘lighttpd’ with pid 3806
Jan 6 00:17:01 | updateDaemon[509]/updateDaemon T=main | app.c app_InstallIndividual() 662 | App PowerControl <0f8f61f7c5cda21975a4362e2642b441> installed
Jan 6 00:17:01 | updateDaemon[509]/updateDaemon T=main | updateDaemon.c ApplyAppUpdate() 664 | App ‘PowerControl<0f8f61f7c5cda21975a4362e2642b441>’ installed properly.
Jan 6 00:17:01 | updateDaemon[509]/updateDaemon T=main | updateDaemon.c StartProbation() 190 | System on probation (timer started).
Jan 6 00:17:01 | supervisor[3806]/supervisor T=main | proc.c proc_Start() 1155 | Execing ‘lighttpd’
Jan 6 00:17:01 | avcDaemon[535]/avcDaemon T=main | assetData.c assetData_CreateInstanceById() 2982 | Creating asset instance for PowerControl/1
Jan 6 00:17:01 | avcDaemon[535]/avcDaemon T=main | assetData.c assetData_CreateInstanceById() 3079 | Finished creating instance 0 for PowerControl/1
Jan 6 00:17:01 | avcDaemon[535]/appCfg T=main | appCfg.c appCfg_GetProcFaultAction() 547 | Unrecognized fault action ‘’. Defaulting to fault action ‘ignore’.
Jan 6 00:17:01 | lighttpd[3806] | | /bin/sh:
Jan 6 00:17:01 | lighttpd[3806] | | can’t open '/usr/local/bin/lighttpd’
Jan 6 00:17:01 | lighttpd[3806] | |
Jan 6 00:17:01 | supervisor[483]/supervisor T=main | proc.c proc_SigChildHandler() 1942 | Process ‘lighttpd’ (PID: 3806) has exited with exit code 2.
Jan 6 00:17:01 | supervisor[483]/supervisor T=main | proc.c GetFaultAction() 1744 | No fault action specified for process ‘lighttpd’. Assuming ‘ignore’.
Jan 6 00:17:01 | supervisor[483]/supervisor T=main | app.c app_SigChildHandler() 3221 | Process ‘lighttpd’ in app ‘PowerControl’ faulted: Ignored.
Jan 6 00:17:01 | _appStopClient[3809]/framework T=main | LE_FILENAME CreateSocket() 550 | Socket opened as standard i/o file descriptor 2!
Jan 6 00:17:01 | supervisor[483]/supervisor T=main | apps.c DeactivateAppContainer() 340 | Application ‘PowerControl’ has stopped.
…
So can anyone to help me because I cant sleep for 2 nights already.
Thanks!