Building firefox-51.0.1, I get at some point:
------------------------
In file included from
/sources/firefox/firefox-51.0.1/firefox-build-dir/ipc/chromium/Unified_cpp_ipc_chromium0.cpp:119:0:
/sources/firefox/firefox-51.0.1/ipc/chromium/src/base/message_pump_libevent.cc:26:19:
error: '_EVENT_SIZEOF_LONG' was not declared in this scope
static_assert(_EVENT_SIZEOF_##TYPE == sizeof(type), \
^
/sources/firefox/firefox-51.0.1/ipc/chromium/src/base/message_pump_libevent.cc:29:1:
note: in expansion of macro 'CHECK_EVENT_SIZEOF'
CHECK_EVENT_SIZEOF(LONG, long);
^~~~~~~~~~~~~~~~~~
-----------------------
and other similar messages. I do not want to restart with make -j1, so I
am not able to know what command fails.
Yesterday, I built the other way around (firefox before libevent) on
another machine. And it built OK. So I guess something has changed in
the libevent header files. But it needs to be confirmed.
Actually, when typing "grep -r EVENT_SIZEOF" from /usr/include, with
libevent-2.1.8 installed, it returns nothing.
While for libevent-2.0.22, event2/event-config.h contains:
#define _EVENT_SIZEOF_INT 4
#define _EVENT_SIZEOF_LONG 8
#define _EVENT_SIZEOF_LONG_LONG 8
#define _EVENT_SIZEOF_OFF_T 8
#define _EVENT_SIZEOF_PTHREAD_T 8
#define _EVENT_SIZEOF_SHORT 2
#define _EVENT_SIZEOF_SIZE_T 8
#define _EVENT_SIZEOF_VOID_P 8
Ah. The same header file for the new library contains:
#define EVENT__SIZEOF_INT 4
#define EVENT__SIZEOF_LONG 8
#define EVENT__SIZEOF_LONG_LONG 8
#define EVENT__SIZEOF_OFF_T 8
#define EVENT__SIZEOF_PTHREAD_T 8
#define EVENT__SIZEOF_SHORT 2
#define EVENT__SIZEOF_SIZE_T 8
#define EVENT__SIZEOF_VOID_P 8
I think I'll try: sed s/_EVENT_SIZEOF/EVENT__SIZEOF/ -i
ipc/chromium/src/base/message_pump_libevent.cc
Another possibility is to use the bundled libevent...
Regards
Pierre
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page