ngesb has quit [Quit: Connection closed for inactivity]
lolsec has joined #soletta
<lolsec> what is the difference between http-composed-client and http-client?
lolsec has quit [Quit: Page closed]
casy has joined #soletta
<casy> hi, am working on an easy task but i am some worries it say "Change return type of functions that may fail to return error code instead of boolean false. " i don't know the error code means. is it thesame as an error message?
<casy> API Changes: IIO #1742
casy has quit [Ping timeout: 244 seconds]
jeez_ has joined #soletta
jeez_ has quit [Remote host closed the connection]
jeez_ has joined #soletta
anselmolsm has joined #soletta
AadityaNair has quit [Ping timeout: 250 seconds]
AadityaNair has joined #soletta
lizardo has joined #soletta
otaviobp has joined #soletta
Zhao has quit [Quit: Connection closed for inactivity]
ngesb has joined #soletta
otaviobp has quit [Quit: WeeChat 1.4]
otaviobp has joined #soletta
AadityaNair has quit [Ping timeout: 248 seconds]
spoussa has joined #soletta
AadityaNair has joined #soletta
<spoussa> hey, how can I build soletta for Zephyr ?
<spoussa> yeah, I have that
<spoussa> spoussa:soletta-basic$ make -C ../BUILD zephyr BOARD=qemu
<ederson> did you try to build any application there?
<spoussa> yes
<ederson> i've just recently built soletta-basic and soletta-flow
<spoussa> gives me tons of errors
<ederson> that's sad =/
<ederson> spoussa: did you set all environment variables?
<spoussa> #error "<dirent.h> not supported"
<ederson> spoussa: run 'make distclean' on soletta dir
<spoussa> much better but ..
<ederson> ?
<spoussa> In file included from ./src/lib/io/sol-aio-impl-zephyr.c:33:0:
<spoussa> ./src/lib/io/sol-io-common-zephyr.h: In function 'zephyr_err_to_errno':
<spoussa> ./src/lib/io/sol-io-common-zephyr.h:28:10: error: array index in initializer exceeds array bounds
<spoussa> [DEV_FAIL] = -EIO, /* General operation failure */
<ederson> yeah, currently, soletta master isn't building on zephyr... =/
<ederson> spoussa: i can point you to a branch that builds
<spoussa> pls do
<ederson> we have PR on github but they weren't merged yet
<spoussa> or an id on master which works
caiortp has joined #soletta
<spoussa> I just want to try some basic stuff
<spoussa> You should not let master to fail, IMO
<ederson> spoussa: zephyr changes, you know
<ederson> spoussa: than we have to catch up
<spoussa> ahh
<ederson> *then
<ederson> spoussa: branch zephyr-build
iscaro has joined #soletta
kamidi_preetham has joined #soletta
AadityaNair has quit [Ping timeout: 248 seconds]
<spoussa> bit more progress but..
<spoussa> In file included from /home/spoussa/src/iot/zephyr/arch/x86/core/fatal.c:31:0:
<spoussa> *(volatile int *)(CONFIG_LOAPIC_BASE_ADDRESS + LOAPIC_EOI) = 0;
AadityaNair has joined #soletta
<ederson> spoussa: what was the error? I didn't get this one here...
<spoussa> yeah, my irc client is eating lines..
<spoussa> In file included from /home/spoussa/src/iot/zephyr/arch/x86/core/fatal.c:31:0:
<spoussa> /
<ederson> spoussa: you can use some pastebin like to show error messages
<spoussa> args, lemme try soemtging better
<spoussa> yes
<ederson> =D
kamidi_preetham has quit [Ping timeout: 250 seconds]
<ederson> that's weird... i haven't seen this error. but a generic try is to clean the build and try again... remove dir zephyr_stage and try to build again... hopefully something got wrong when previous build failed and can be restored after a cleanup
<spoussa> ok, I try
<spoussa> is the command correct: make -C ../BUILD zephyr BOARD=qemu
<spoussa> BOARD=qemu ?
<ederson> i'd guess qemu_x86, as this is the name listed on zephyr/boards dir
<ederson> but i haven't used qemu here
<spoussa> ok, again better but ...
<ederson> try make clean on soletta again - currently build is kinda messy and may get lost
AadityaNair has quit [Ping timeout: 246 seconds]
<ederson> =/
<spoussa> yeah just did - works !
<ederson> \o/
<spoussa> thanks !
<ederson> you're welcome =D
AadityaNair has joined #soletta
ceolin[AWAY] is now known as ceolin
spoussa has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
glima has joined #soletta
glima has joined #soletta
mbelluzzo has joined #soletta
aguedes has joined #soletta
aguedes has quit [Remote host closed the connection]
<gabrielschulhof> ceolin: Hey! I believe what @ibriano is asking in https://github.com/solettaproject/soletta/pull/1798#discussion_r58211724 is beyond the scope of that PR. I need this to land, and maybe somebody else can take on the challenge of avoiding the addition of debugging-breaking symbols in another PR. Unless there are any other objections, may I have the
<gabrielschulhof> I can turn @ibriano's comment into an issue so we don't lose track of it.
<ceolin> gabrielschulhof: i do not see any problem. Create the ticket is good enough for me now
<ceolin> Sachiel: ^
<gabrielschulhof> ceolin: OK. I will open the issue and land the PR.
<Sachiel> ok
Zhao has joined #soletta
<gabrielschulhof> Sachiel, ceolin: Thanks!
<ceolin> gabrielschulhof: :)
aguedes has joined #soletta
bdilly has joined #soletta
bdilly has joined #soletta
otaviobp has quit [Quit: WeeChat 1.4]
casy has joined #soletta
casy has quit [Ping timeout: 276 seconds]
casy has joined #soletta
jeez_ has quit [Remote host closed the connection]
AadityaNair has quit [Ping timeout: 240 seconds]
AadityaNair has joined #soletta
AadityaNair has quit [Ping timeout: 246 seconds]
AadityaNair has joined #soletta
casy has quit [Ping timeout: 260 seconds]
casy has joined #soletta
spoussa has joined #soletta
spoussa has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
spoussa has joined #soletta
lvladi has quit [Ping timeout: 244 seconds]
bjones has joined #soletta
jimmy1 has joined #soletta
spoussa has quit [Ping timeout: 250 seconds]
spoussa has joined #soletta
<jimmy1> when building the soletta-basic on zephyr, i get this error, any one know how to fix this?
<jimmy1> make[5]: *** No rule to make target `alldefconfig'. Stop.
spoussa has quit [Ping timeout: 248 seconds]
<ederson> jimmy1: have you setup all env vars?
<jimmy1> yes, i have all 3 ZEPHYR_xxx environment setup, which i can confirm by building a zephyr app, and i also added SOLETTA_BASE_DIR as well, i think there's only 4, right?
<ederson> right
<ederson> could you please share the whole output on some pastebin?
<jimmy1> where does SOLETTA_BASE_DIR set to? I currently set it to the top of the project git tree
<glima> jimmy1: wait a sec and we'll have a sector on zephyr build too (wiki)
<glima> section
casy has quit [Ping timeout: 244 seconds]
<jimmy1> the original command i used was make -C ../BUILD zephyr BOARD=arduino_101 flash, since i have an arduino 101 set up
<jimmy1> but same error
spoussa has joined #soletta
<Sachiel> that damn generic build thing turned out to be a lot worse than it was before
<ederson> jimmy1: try make distclean on soletta dir
<jimmy1> the top level directory?
<ederson> spoussa: hi, i've deleted that 'zephyr-build' branch on soletta - master should be ok now to build zephyr
<ederson> jimmy1: yes
<jimmy1> there's no makefiles there
<jimmy1> jimmy@jimmy-ubuntu:~/projects/zephyrjs/zjs/soletta (master)% make distclean
<jimmy1> make: *** No rule to make target `distclean'. Stop
<spoussa> ederson noted
<Sachiel> jimmy1: what top dir is that?
<Sachiel> where did you clone soletta?
<ederson> jimmy1: something weird with you soletta copy...
<jimmy1> oh shoot, i think i cloned soletta-small-oses-samples, but renamed it to soletta, and i thought i am pointing to soletta, but i am actually not
<Sachiel> that only contains a few samples, you need to clone soletta itself and point that variable to that directory
realBigfoot has joined #soletta
<jimmy1> yeah, i guess i missed that step
bottazzini has quit [Remote host closed the connection]
<glima> jimmy1: just tested and it works
<glima> not the footnote, actually
<jimmy1> glima: thanks, will take a look at it
<glima> k
spoussa has quit [Ping timeout: 252 seconds]
spoussa has joined #soletta
spoussa has quit [Ping timeout: 276 seconds]
<jimmy1> glima: should i just do a make alldefconfig when building soletta? or i need to tweak configs specifically for zephyr?
<glima> jimmy1: just let those scripts do their thing (thus alldefconfig). if you need any tweak to the output, use the sol.conf trick i mention
<Sachiel> jimmy1: you need a clean soletta to build for zephyr, if you have a previous configuration there it will break
<glima> yes, always git clean -xdf it
<glima> (maybe it wasn't as enfatic as i wished on this on the wiki)
<glima> s/it/I/
<jimmy1> ok
<jimmy1> glima: /home/jimmy/projects/zephyrjs/zjs/zephyr/../soletta-samples/soletta-basic/src/main.c:19:21: fatal error: soletta.h: No such file or directory
<jimmy1> although i do see a soletta/build/soletta_sysroot/usr/include/soletta/soletta.h
lvladi has joined #soletta
ngesb has quit [Quit: Connection closed for inactivity]
zehortigoza has quit [Remote host closed the connection]
<glima> jimmy1: sorry, i was afk
<glima> looking now
zehortigoza has joined #soletta
ngesb has joined #soletta
<glima> jimmy1: have you copyed just your src/ dir to a build dir like mentioned in the wiki?
<glima> i have the very same .h inclusion and all works fine
<glima> (sorry again for the delay, doing many things at once sucks)
<jimmy1> glima: yeah, no worries, but do i acutally need to install the soletta first to my system? or just checking out the soletta directory is sufficient?
<glima> jimmy1: with that setup, you don't need to install
<jimmy1> hmm, that's weird
<jimmy1> using make V=1, i don't see the soletta include dir being appended
<glima> jimmy1: -I/home/glima/devel/iot/soletta/build/soletta_sysroot/usr/include/soletta here
<glima> zephyr sdk 0.7.5
<glima> soletta at HEAD
<jimmy1> hmm, i am using 0.7.2
<glima> zephyr at something almost HEAD
<glima> jimmy1: not good
<glima> upgrade
<glima> maybe i should mention that on the wiki
<jimmy1> ok
<Sachiel> glima: please also mention why the fuck libsoletta.a contains string-format.o twice
<glima> gotta fix that :(
<iscaro> Sachiel, just making sure it's included
<iscaro> better safe than sorry
<iscaro> hahah
<iscaro> ;]
ederson has quit [Quit: leaving]
<Sachiel> iscaro: except when it breaks the build
<iscaro> minor issue
bjones has quit [Remote host closed the connection]
caiortp has quit [Quit: Ex-Chat]
lizardo has quit [Ping timeout: 248 seconds]
<jimmy1> glima: seems to get a little further now after updating sdk to 0.7.5
<glima> jimmy1: good
<glima> what's up now?
<ceolin> glima: this string-format.o is that one that was causing warnings ?
<glima> ceolin: yesh
<ceolin> it was too harmless to be true
<Sachiel> it's dead now
glima has quit [Remote host closed the connection]
iscaro has quit [Remote host closed the connection]
anselmolsm has quit [Quit: Konversation terminated!]
ceolin is now known as ceolin[AWAY]
ricardotk has quit [Remote host closed the connection]
bdilly has quit [Quit: bdilly]
mbelluzzo has quit [Quit: Leaving]
aguedes has quit [Remote host closed the connection]