-->
Page 49 of 49

Re: Sming Open Source Framework - native ESP8266 development

PostPosted: Sat Jul 11, 2015 11:26 am
by mariuszb
Hi,
Last change in module Digital.cpp ( INPUT_PULLUP) caused the reading of DHT22 does not work

Re: Sming Open Source Framework - native ESP8266 development

PostPosted: Mon Jul 13, 2015 7:35 pm
by piperpilot
Hi, I'm having problems with the latest builds...things worked before, but now they aren't. I can still compile the Basic_Blink example, but anything else fails with one of many errors. Here is one from HttpServer_ConfigNetwork:

Code: Select all20:31:20 **** Build of configuration Sming for project HttpServer_ConfigNetwork ****
make all
C+ app/application.cpp
C+ /opt/sming/Sming/appinit/user_main.cpp
AR out/build/app_app.a
LD out/build/app.out
/opt/sming/Sming/compiler/lib//libsming.a(HttpServer.o):(.text._ZN10HttpServer13initWebSocketER20HttpServerConnectionR11HttpRequestR12HttpResponse+0x8): undefined reference to `vtable for WebSocket'
/opt/sming/Sming/compiler/lib//libsming.a(HttpServer.o):(.text._ZN10HttpServer13initWebSocketER20HttpServerConnectionR11HttpRequestR12HttpResponse+0xc): undefined reference to `WebSocket::WebSocket(HttpServerConnection*)'
/opt/sming/Sming/compiler/lib//libsming.a(HttpServer.o):(.text._ZN10HttpServer13initWebSocketER20HttpServerConnectionR11HttpRequestR12HttpResponse+0x10): undefined reference to `WebSocket::initialize(HttpRequest&, HttpResponse&)'
/opt/sming/Sming/compiler/lib//libsming.a(HttpServer.o):(.text._ZN10HttpServer13initWebSocketER20HttpServerConnectionR11HttpRequestR12HttpResponse+0x31): undefined reference to `WebSocket::WebSocket(HttpServerConnection*)'
/opt/sming/Sming/compiler/lib//libsming.a(HttpServer.o): In function `HttpServer::initWebSocket(HttpServerConnection&, HttpRequest&, HttpResponse&)':
C:\DEV\ESP8266\Sming\Sming/Wiring/WVector.h:47: undefined reference to `WebSocket::initialize(HttpRequest&, HttpResponse&)'
/opt/sming/Sming/compiler/lib//libsming.a(CommandHandler.o):(.text._ZN14CommandHandler19procesStatusCommandE6StringP13CommandOutput+0x20): undefined reference to `system_get_rst_info'
/opt/sming/Sming/compiler/lib//libsming.a(CommandHandler.o): In function `CommandHandler::procesStatusCommand(String, CommandOutput*)':
C:\DEV\ESP8266\Sming\Sming/Services/CommandProcessing/CommandHandler.cpp:70: undefined reference to `system_get_rst_info'
/opt/sming/Sming/compiler/lib//libsming.a(RTC.o): In function `RtcClass::RtcClass()':
C:\DEV\ESP8266\Sming\Sming/SmingCore/Platform/RTC.cpp:26: undefined reference to `system_get_rst_info'
collect2: error: ld returned 1 exit status
make: *** [out/build/app.out] Error 1

20:31:21 Build Finished (took 1s.71ms)


I'm on a MAC, I'm not sure where the reference to c:\DEV\sming is coming from...I wonder if someone committed something with a hard reference instead of relative? Anyways...I'm digging into it, but can't figure out how to get around it at this point. HELP!

PiperPIlot


EDIT: I started rolling back commits...and I found the culprit. It breaks with commit 1c376f5 (attachment shows details). Perhaps something compiled into libsming.a?

Re: Sming Open Source Framework - native ESP8266 development

PostPosted: Wed Jul 29, 2015 2:44 am
by Markus Gritsch
There is now a dedicated subforum for SMING here:
viewforum.php?f=35

This monster-thread already contains way too much different topics :)

Re: Sming Open Source Framework - native ESP8266 development

PostPosted: Wed Jul 29, 2015 2:52 am
by alonewolfx2
Topic LOCKED. We need to extract examples,bugs in seperate topics