Hello suv,
what if you just revert the changes from Makefile.am (removing the -Wl option) ?
Regards, Adib.
On Mon, Feb 28, 2011 at 12:36 PM, ~suv <suv-sf@...58...> wrote:
On 28/2/11 12:00, ~suv wrote:
On 27/2/11 23:20, ~suv wrote:
On 27/2/11 21:51, noreply@...1881... wrote:
Merge authors: theAdib (theadib)
revno: 10071 [merge]
=== modified file 'src/Makefile.am' --- src/Makefile.am 2010-10-12 20:06:35 +0000 +++ src/Makefile.am 2011-02-27 16:24:40 +0000 @@ -212,7 +212,7 @@
inkscape_SOURCES += main.cpp $(win32_sources) inkscape_LDADD = $(all_libs) -inkscape_LDFLAGS = --export-dynamic $(kdeldflags) $(mwindows) +inkscape_LDFLAGS = -Wl,--export-dynamic $(kdeldflags) $(mwindows)
inkview_SOURCES += inkview.cpp $(win32_sources) inkview_LDADD = $(all_libs)
Currently testing & rebuilding with libtool 2.4 (and GCC 4.2.1).
same error (libtool 2.4, ld from GCC 4.2.1):
0.48+devel r10074 custom CXX inkscape-version.o AR libinkversion.a CXX main.o CXXLD inkscape ld: unknown option: --export-dynamic collect2: ld returned 1 exit status make[3]: *** [inkscape] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
real 41m11.414s user 30m35.377s sys 5m13.956s LeWitt:inkscape-trunk suv$
Seems that linker flags needs to be platform-dependent (or tests added in configure.ac?)
~suv