Temporary header file '/tmp/tQm2jbXGIH/dump1.h' with the following content will be compiled to create GCC translation unit dump: // add defines #define __STDC_VERSION__ 201710L #define _TIME_BITS 64 #define _FILE_OFFSET_BITS 64 #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/include/oam/amd_oam.h" #include "/usr/include/oam/oam_mapi.h" // add classes oam_dev_error_count* tmp_add_class_0; oam_dev_handle* tmp_add_class_1; oam_dev_mem_stats* tmp_add_class_2; oam_dev_properties* tmp_add_class_3; oam_dev_tpc_stats* tmp_add_class_4; oam_firmware_version* tmp_add_class_5; oam_mapi_version* tmp_add_class_6; oam_mem_desc* tmp_add_class_7; oam_neighbour_info* tmp_add_class_8; oam_net_dev_id* tmp_add_class_9; oam_net_dev_info* tmp_add_class_10; oam_net_port_desc* tmp_add_class_11; oam_net_port_pkt_stats* tmp_add_class_12; oam_ops* tmp_add_class_13; oam_pci_info* tmp_add_class_14; oam_sensor_count* tmp_add_class_15; oam_sensor_info* tmp_add_class_16; oam_sensor_scale* tmp_add_class_17; oam_tpc_desc* tmp_add_class_18; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/tQm2jbXGIH/dump1.h"