lexborisov/mycss

Failed to make mycss with latest myhtml - please sync with modest

Opened this issue · 0 comments

f34nk commented

Ubuntu 14.04
gcc version 4.8.5
branch: master

Running make returns with error when linked to latest myhtml.

  • first I cloned latest mycss and myhtml
  • build myhtml without error
  • then running make on mycss linking to myhtml:
    LDFLAGS+="-L../../../myhtml/lib" CFLAGS+="-I../../../myhtml/include" /usr/bin/make -C mycss

returns with error:

cc -I../../../myhtml/include -O2 -fPIC --std=c99 -I.. -pthread -D_POSIX_C_SOURCE=199309L   -c -o an_plus_b.o an_plus_b.c
In file included from ../mycss/entry.h:29:0,
                 from ../mycss/an_plus_b.h:29,
                 from an_plus_b.c:21:
../mycss/myosi.h:263:48: error: unknown type name ‘myhtml_string_t’
 typedef size_t (*mycss_string_process_state_f)(myhtml_string_t* str, const char* data, size_t length, size_t size, mycss_string_res_t *out_res);
                                                ^
In file included from ../mycss/mycss.h:45:0,
                 from ../mycss/entry.h:30,
                 from ../mycss/an_plus_b.h:29,
                 from an_plus_b.c:21:
../mycss/tokenizer.h:36:29: fatal error: myhtml/incoming.h: No such file or directory
 #include "myhtml/incoming.h"

I noticed that the repo for Modest actually includes all myhtml and mycss sources. So my guess is that the current mycss repo is not up to date since it also includes "myhtml/incoming.h" which is now in "mycore".

Can you please update the repo with the latest source? That would be great!

Best, f34nk