Skip navigation

Random thought #1
- Can I have a step-by-step how-to…
- No.
- ..that works without any additional work?
- No.
- Do you always say “no”?
- Yes.

None: ode
1. A lyric poem with complex stanza forms

I have these chronic problems with missing or invalid header files. Today I’m going to deal with one of them.

Headers in question are X11/Xos.h and X11/Xfuncproto.h from my attempt to build firefox for mingw32. (Note that I have no idea what X11 is. And I suspect that X11 is something very obvious.). They are the missing dependency in several different files: cppsetup.c, include.c, parse.c, main.c, def.h.

It obviously looks like a group of source files that include the same header file def.h, that includes the missing headers X11/Xos.h and X11/Xfuncproto.h. So, I will go straight to def.h

def.h:
#ifndef NO_X11
#include <X11/Xos.h>
#include <X11/Xfuncproto.h>

Ok, this suggest that these are actually external headers, that I supposedly have under /usr/include/X11 or /usr/X11/include. So what is X11? X11 core headers? I feel like I’m missing something very obvious. However, after some time “poking” around, I think, I need xorg-x11-proto-devel package.

After installing it, I got my X11 headers under /usr/include/X11. And now I can continue with the firefox build.

Advertisement

2 Comments

  1. X11 is the X Window System, version 11 — the windowing system that is the foundation of Unix/Linux GUIs such as Gnome and KDE.

  2. You definitely need to define NO_X11 in the build.

    Have you looked at the last minGW compatible build of mozilla? It might offer some clues on how to deal with the remaining obstacles… :)


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.