Temporary header file '/tmp/JoUsO0PTj_/dump1.h' with the following content will be compiled to create GCC translation unit dump: // add defines #define __STDC_VERSION__ 201710L #define _GXX_NULLPTR_T #define CLUTTER_ENABLE_COMPOSITOR_API 1 #define _REGEX_NELTS(n) #define _Atomic #define PACKED #define getaddrinfo_a(a,b,c,d) // add includes #include "/usr/lib/arm-linux-gnueabihf/ruby/vendor_ruby/3.1.0/glib-enum-types.h" #include "/usr/lib/arm-linux-gnueabihf/ruby/vendor_ruby/3.1.0/rb-gobject-introspection.h" #include "/usr/lib/arm-linux-gnueabihf/ruby/vendor_ruby/3.1.0/rb-pango-conversions.h" #include "/usr/lib/arm-linux-gnueabihf/ruby/vendor_ruby/3.1.0/rb-pango.h" #include "/usr/lib/arm-linux-gnueabihf/ruby/vendor_ruby/3.1.0/rbgcompat.h" #include "/usr/lib/arm-linux-gnueabihf/ruby/vendor_ruby/3.1.0/rbgdk.h" #include "/usr/lib/arm-linux-gnueabihf/ruby/vendor_ruby/3.1.0/rbgdkconversions.h" #include "/usr/lib/arm-linux-gnueabihf/ruby/vendor_ruby/3.1.0/rbglib.h" #include "/usr/lib/arm-linux-gnueabihf/ruby/vendor_ruby/3.1.0/rbglib2conversions.h" #include "/usr/lib/arm-linux-gnueabihf/ruby/vendor_ruby/3.1.0/rbglibdeprecated.h" #include "/usr/lib/arm-linux-gnueabihf/ruby/vendor_ruby/3.1.0/rbgobject.h" #include "/usr/lib/arm-linux-gnueabihf/ruby/vendor_ruby/3.1.0/rbgtk.h" #include "/usr/lib/arm-linux-gnueabihf/ruby/vendor_ruby/3.1.0/rbgtkconversions.h" #include "/usr/lib/arm-linux-gnueabihf/ruby/vendor_ruby/3.1.0/rbgtkmacros.h" #include "/usr/lib/arm-linux-gnueabihf/ruby/vendor_ruby/3.1.0/rbgutil.h" #include "/usr/lib/arm-linux-gnueabihf/ruby/vendor_ruby/3.1.0/rbgutil_list.h" #include "/usr/lib/arm-linux-gnueabihf/ruby/vendor_ruby/3.1.0/rbgutildeprecated.h" The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/JoUsO0PTj_/dump1.h" -I/usr/lib/arm-linux-gnueabihf/ruby/vendor_ruby/3.1.0 -I/usr/include/ruby-3.1.0 -I/usr/include/arm-linux-gnueabihf/ruby-3.1.0 In file included from /tmp/JoUsO0PTj_/dump1.h:12: /usr/lib/arm-linux-gnueabihf/ruby/vendor_ruby/3.1.0/glib-enum-types.h:7:10: fatal error: glib-object.h: No such file or directory 7 | #include | ^~~~~~~~~~~~~~~ compilation terminated.