c++ - GCC compiler error: unrecognized option '--export-dynamic' -


The following is the reference: I am trying to compile Inkscape Lite from sources in the Linux mint. At the end of the compilation, the last command is (some .o and .a files are replaced with " ... " because the command is too long):

GCC-GOO-O Inkscape - Export-Dynamic Inkscape O Inkscape-stock.o ... .libs/libinkscape.al dialog / libspdialogs.a ... -lgtk-x11-2.0 - lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo -1.0 -lgdk_pixbuf-2.0 /usr/lib/i386-linux-gnu/libcairo.so-lpango-1.0 -lfontconfig -lgobject-2.0 - lglib-2.0 /usr/lib/i386-linux-gnu/libart_lgpl_2.so / usr /lib/i386-linux-gnu/libxml2.so/usr/lib/i386-linux-gnu/libpopt.so-lpng-lxft-l / usr / lib / i386-linux-gnu / usr / lib / i386-linux -gnu / libfreetype.so-lz-Wl, --rpath -Wl, / usr / lib / i386-linux-gnu -Wl, - -rpath -Wl, / usr / lib / i386-linux-gnu < / p>

Failure with this error: GCC: Error: Unrecognized option '--export-dynamic'

What I have done is for testing only < Code> - export-dynamic with -export-dynamic to change (notice, I'm not C / ++ programmer and do not know about GCC or any other C compiler) and manually executed the command in the console. The compilation is finished without errors and the program works, but it is almost all toolbars and menu icons (only some common icons that are in the form of open / save / copy / paste ...)

The reason for this is the problem option - export-dynamic or have a slightly different problem in the sources?

BTW, this program usually works in puppy linux distribution.

It seems building scripts issue - export-dynamic one Linker ( ld is in Unix) option which may be useful in your case but this is not a GCC frontend option. I have all GCC versions which are the -dynamic flag that is caused by passing the - export-dynamic to the linker. You can fix it in your own way (eg try to rename the option in the makefile / etc) and / or report the problem to maintenance.

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -