pycousin / gnome-mplayer

Automatically exported from code.google.com/p/gnome-mplayer
GNU General Public License v2.0
0 stars 0 forks source link

Wrong compile target set for libgnome-mplayer-properties-page.so #354

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
libgnome-mplayer-properties-page.so is actually shared module, rather than 
plain executable.

Please stop using nautilus_PROGRAMS in src/Makefile.am, but using 
lib_LTLIBRARIES instead.

Original issue reported on code.google.com by fundawang@gmail.com on 8 Feb 2010 at 4:36

GoogleCodeExporter commented 8 years ago
Patch here:

http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/gnome-mplayer/current
/
SOURCES/gnome-mplayer-0.9.9-link.patch

Original comment by fundawang@gmail.com on 8 Feb 2010 at 5:43

GoogleCodeExporter commented 8 years ago
I've been trying to avoid using libtool. I was under the impression that it was 
the
wrong thing to do. 

Original comment by kdeko...@gmail.com on 8 Feb 2010 at 1:46

GoogleCodeExporter commented 8 years ago
then you could try throw autotools away, and turn to cmake or something else.

Original comment by fundawang@gmail.com on 8 Feb 2010 at 1:58

GoogleCodeExporter commented 8 years ago
Can you explain why to me that this change is needed? The code works, why does 
the
way it is built need to be changed.

Original comment by kdeko...@gmail.com on 8 Feb 2010 at 2:06

GoogleCodeExporter commented 8 years ago
Mandriva introduces LDFLAGS=" -Wl,--as-needed -Wl,--no-undefined" for binaries 
and 
shared libraries, and LDFLAGS=" -Wl,--as-needed" for shared modules.

So, with current code, nautilus ext will fail to build, as there are too many 
undefined references, which should not happen for a standalone binary program.

Original comment by fundawang@gmail.com on 8 Feb 2010 at 2:12

GoogleCodeExporter commented 8 years ago
So using compiler flags that are known to cause problems requires a complete 
change
to my build system. I'll have to think about this.

Original comment by kdeko...@gmail.com on 8 Feb 2010 at 2:20

GoogleCodeExporter commented 8 years ago
I have added some extra flags to the nautilus plugin generation. I think this 
should
fix your issue.

Original comment by kdeko...@gmail.com on 4 May 2010 at 4:57

GoogleCodeExporter commented 8 years ago

Original comment by kdeko...@gmail.com on 17 Jun 2010 at 3:22