Missing Regex.h
Posted: Fri Aug 03, 2018 3:11 pm
Helllo, I'm new to micropython on ESP8266. I downloaded Micropython from github. went to C:\micropython\ports\esp8266
and did a make axtls.
First time i got missing regex.h. I added a regex.h.
Now I get errors
gcc conf.o zconf.tab.o -o conf
conf.o:conf.c:(.text+0x161): undefined reference to `random'
conf.o:conf.c:(.text+0xb67): undefined reference to `random'
conf.o:conf.c:(.text.startup+0x2f6): undefined reference to `srandom'
zconf.tab.o:zconf.tab.c:(.text+0x5858): undefined reference to `regcomp'
zconf.tab.o:zconf.tab.c:(.text+0x58c3): undefined reference to `regexec'
zconf.tab.o:zconf.tab.c:(.text+0x5908): undefined reference to `regfree'
I'm wondering if the regex.h I added isn't correct one.
Does anyone know what I'm doing wrong?
Which regex.h should I use?
O BTW I'm using mingw-W64.
Building lunix stuff on windows is hard for me. I mostly work VB. Did some Lua on ESP8266. So sorry I just don't understand this stuff very well.
Thank You for any help you can give.
Ed O
and did a make axtls.
First time i got missing regex.h. I added a regex.h.
Now I get errors
gcc conf.o zconf.tab.o -o conf
conf.o:conf.c:(.text+0x161): undefined reference to `random'
conf.o:conf.c:(.text+0xb67): undefined reference to `random'
conf.o:conf.c:(.text.startup+0x2f6): undefined reference to `srandom'
zconf.tab.o:zconf.tab.c:(.text+0x5858): undefined reference to `regcomp'
zconf.tab.o:zconf.tab.c:(.text+0x58c3): undefined reference to `regexec'
zconf.tab.o:zconf.tab.c:(.text+0x5908): undefined reference to `regfree'
I'm wondering if the regex.h I added isn't correct one.
Does anyone know what I'm doing wrong?
Which regex.h should I use?
O BTW I'm using mingw-W64.
Building lunix stuff on windows is hard for me. I mostly work VB. Did some Lua on ESP8266. So sorry I just don't understand this stuff very well.
Thank You for any help you can give.
Ed O