undefined reference to `_binary_resources_fonts - gcc

for mupdf while convering the objectfile to executable Im getting the following errors
undefined reference to _binary_resources_fonts_urw_Dingbats_cff_start' llvm-link:(.text+0x5e490): undefined reference to _binary_resources_fonts_urw_Dingbats_cff_end'
llvm-link:(.text+0x5e4a7): undefined reference to _binary_resources_fonts_urw_NimbusMonoPS_Regular_cff_start' llvm-link:(.text+0x5e4ac): undefined reference to _binary_resources_fonts_urw_NimbusMonoPS_Regular_cff_end'
llvm-link:(.text+0x5e4b6): undefined reference to _binary_resources_fonts_urw_NimbusMonoPS_Italic_cff_start' llvm-link:(.text+0x5e4bb): undefined reference to _binary_resources_fonts_urw_NimbusMonoPS_Italic_cff_end'
llvm-link:(.text+0x5e4c5): undefined reference to _binary_resources_fonts_urw_NimbusMonoPS_Bold_cff_start' llvm-link:(.text+0x5e4ca): undefined reference to _binary_resources_fonts_urw_NimbusMonoPS_Bold_cff_end'
llvm-link:(.text+0x5e4d1): undefined reference to _binary_resources_fonts_urw_NimbusMonoPS_BoldItalic_cff_start' llvm-link:(.text+0x5e4d6): undefined reference to _binary_resources_fonts_urw_NimbusMonoPS_BoldItalic_cff_end'
llvm-link:(.text+0x5e4dd): undefined reference to _binary_resources_fonts_urw_NimbusSans_Regular_cff_start' llvm-link:(.text+0x5e4e2): undefined reference to _binary_resources_fonts_urw_NimbusSans_Regular_cff_end'
llvm-link:(.text+0x5e4e9): undefined reference to _binary_resources_fonts_urw_NimbusSans_Italic_cff_start' llvm-link:(.text+0x5e4ee): undefined reference to _binary_resources_fonts_urw_NimbusSans_Italic_cff_end'
llvm-link:(.text+0x5e4f5): undefined reference to _binary_resources_fonts_urw_NimbusSans_Bold_cff_start' llvm-link:(.text+0x5e4fa): undefined reference to _binary_resources_fonts_urw_NimbusSans_Bold_cff_end'
llvm-link:(.text+0x5e501): undefined reference to _binary_resources_fonts_urw_NimbusSans_BoldItalic_cff_start' llvm-link:(.text+0x5e506): undefined reference to _binary_resources_fonts_urw_NimbusSans_BoldItalic_cff_end'
llvm-link:(.text+0x5e50d): undefined reference to _binary_resources_fonts_urw_NimbusRoman_Regular_cff_start' llvm-link:(.text+0x5e512): undefined reference to _binary_resources_fonts_urw_NimbusRoman_Regular_cff_end'
llvm-link:(.text+0x5e519): undefined reference to _binary_resources_fonts_urw_NimbusRoman_Italic_cff_start' llvm-link:(.text+0x5e51e): undefined reference to _binary_resources_fonts_urw_NimbusRoman_Italic_cff_end'
llvm-link:(.text+0x5e525): undefined reference to `_binary_resources_fonts_urw_NimbusRoman_Bold_cff_start'
Im currently using the following command:
gcc -no-pie mupdf-x11-curl.o -lm
which flag should I add to remove these binary resources font errors.

Related

TypeError: cannot read properties of undefined (reading 'current') - in react test

TypeError: cannot read properties of undefined (reading 'current')

Uncaught TypeError: Cannot set property 'scriptsFailed' of undefined

I am getting Uncaught TypeError: Cannot set property 'scriptsFailed' of undefined error in script manager.
Pls suggest solution for this.
Thanks in Advance.
Error Message :

Mocha error in Karma: Uncaught TypeError: Cannot read property 'replace' of undefined

My karma tests were working fine and now I'm getting this weird error:
Uncaught TypeError: Cannot read property 'replace' of undefined
Any ideas?
Restarting all karma sessions fixed this.

Linux compile error: undefined reference to `kvm_arch_vcpu_runnable'

I want to call function kvm_arch_vcpu_runnable() in tick-sched.c, but got the following error:
/usr/src/linux-3.13.9/kernel/time/tick-sched.c:213: undefined reference to `kvm_arch_vcpu_runnable'
how can I fix this?
Just find definition of this function in kernel and use:
EXPORT_SYMBOL_GPL(kvm_arch_vcpu_runnable)
I hope it help.

Qt test-unit: Error: undefined reference to `imp__ZN5Q

I am trying to create a "Qt unit test" following this tutorial. I created a new project: Qt Gui Application with a header file as mentioned and a class that contains the test function. I added #CONFIG += testlib to my ".pro" file. However, when I run my code, I get this errors:
In function `simulateEvent':
error: undefined reference to `_imp___ZN5QTest15defaultKeyDelayEv'
error: undefined reference to `_imp___ZN5QTest15defaultKeyDelayEv'
error: undefined reference to `_imp___ZN5QTest5qWarnEPKcS1_i'
then in function 'mouseEvent':
error: undefined reference to `_imp___ZN5QTest17defaultMouseDelayEv'
error: undefined reference to `_imp___ZN5QTest17defaultMouseDelayEv'
error: undefined reference to `_imp___ZN5QTest17defaultMouseDelayEv'
error: undefined reference to `_imp___ZN5QTest17defaultMouseDelayEv'
error: undefined reference to `_imp___ZN5QTest5qWarnEPKcS1_i'
then in function 'simulateEvent' again:
error: undefined reference to `_imp___ZN5QTest15defaultKeyDelayEv'
error: undefined reference to `_imp___ZN5QTest15defaultKeyDelayEv'
error: undefined reference to `_imp___ZN5QTest5qWarnEPKcS1_i'
then in function 'mouseEvent' again:
error: undefined reference to `_imp___ZN5QTest17defaultMouseDelayEv'
error: undefined reference to `_imp___ZN5QTest17defaultMouseDelayEv'
error: undefined reference to `_imp___ZN5QTest17defaultMouseDelayEv'
error: undefined reference to `_imp___ZN5QTest17defaultMouseDelayEv'
error: undefined reference to `_imp___ZN5QTest5qWarnEPKcS1_i'
I could not find any explanation for this as everything looks right . what am I missing ?
Try QT += testlib, without starting #
Try Qt += declarative, testlib didn't work for me, but declarative did.
I had the same problem. In my case:
I used "delete" on an instance of a class what was inherited from QWidget.
I had to change the inheritance for my class from QWidget to QObject.

Resources