View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000935 | SkyChart | 1-Software | public | 12-01-21 11:11 | 12-03-04 19:25 |
| Reporter | Mattia Verga | Assigned To | Patrick Chevalley | ||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | x86_64 | OS | Linux | OS Version | 3 |
| Product Version | 3.5 SVN | ||||
| Target Version | 3.6 | Fixed in Version | 3.5 SVN | ||
| Summary | 0000935: Skychart fails to build with gcc 4.7 | ||||
| Description | Skychart fails to build against gcc 4.7 beacuse of wrong a parameter passed to the compiler. The option "-WL" should be "-Wl" with lowercase 'l' instead of uppercase 'L'. I attach a patch to make it build in linux. There's also another file (skychart/library/sqlite/Makefile.win) that has the wrong option, maybe should be changed as well. | ||||
| Tags | No tags attached. | ||||
| Attached Files | gcc47.patch (2,348 bytes)
--- a/skychart/library/getdss/Makefile 2010-02-24 15:50:16.000000000 +0100 +++ b/skychart/library/getdss/Makefile 2012-01-21 10:03:18.698178924 +0100 @@ -7,15 +7,15 @@ LDFLAGS= -Wl,-single_module -dynamiclib -lc -lm -lstdc++ else SO_Name = libgetdss.so -LDFLAGS= -shared -WL,-soname,$(SO_Name) $(arch_flags) +LDFLAGS= -shared -Wl,-soname,$(SO_Name) $(arch_flags) endif ifneq ($(findstring W32,$(OSTYPE)),) SO_Name = libgetdss.dll -LDFLAGS= -shared -WL,-soname,$(SO_Name) +LDFLAGS= -shared -Wl,-soname,$(SO_Name) endif ifneq ($(findstring MINGW,$(OSTYPE)),) SO_Name = libgetdss.dll -LDFLAGS= -shared -WL,-soname,$(SO_Name) +LDFLAGS= -shared -Wl,-soname,$(SO_Name) endif OBJS = getdss_lib.o dss.o extr_fit.o getpiece.o \ hdcmprss.o bitinput.o decode.o dodecode.o hinv.o \ --- a/skychart/library/wcs/Makefile 2011-12-16 17:14:55.000000000 +0100 +++ b/skychart/library/wcs/Makefile 2012-01-21 10:08:16.441151025 +0100 @@ -7,15 +7,15 @@ LIBFLAGS = -Wl,-single_module -dynamiclib -lc -lm else SO_Name = libcdcwcs.so -LIBFLAGS = -shared -WL,-soname,$(SO_Name) -lc -lm +LIBFLAGS = -shared -Wl,-soname,$(SO_Name) -lc -lm endif ifneq ($(findstring W32,$(OSTYPE)),) SO_Name = libcdcwcs.dll -LIBFLAGS = -shared -WL,-soname,$(SO_Name) -lm +LIBFLAGS = -shared -Wl,-soname,$(SO_Name) -lm endif ifneq ($(findstring MINGW,$(OSTYPE)),) SO_Name = libcdcwcs.dll -LIBFLAGS = -shared -WL,-soname,$(SO_Name) -lm +LIBFLAGS = -shared -Wl,-soname,$(SO_Name) -lm endif OBJS = cdcwcs.o imgetwcs.o daoread.o wcscon.o \ --- a/skychart/library/plan404/Makefile 2010-02-24 15:50:16.000000000 +0100 +++ b/skychart/library/plan404/Makefile 2012-01-21 10:11:04.613575094 +0100 @@ -8,15 +8,15 @@ LIBFLAGS = -Wl,-single_module -dynamiclib -lc -lm else SO_Name = libplan404.so -LIBFLAGS = -shared -WL,-soname,$(SO_Name) -lc -lm +LIBFLAGS = -shared -Wl,-soname,$(SO_Name) -lc -lm endif ifneq ($(findstring W32,$(OSTYPE)),) SO_Name = libplan404.dll -LIBFLAGS = -shared -WL,-soname,$(SO_Name) -lm +LIBFLAGS = -shared -Wl,-soname,$(SO_Name) -lm endif ifneq ($(findstring MINGW,$(OSTYPE)),) SO_Name = libplan404.dll -LIBFLAGS = -shared -WL,-soname,$(SO_Name) -lm +LIBFLAGS = -shared -Wl,-soname,$(SO_Name) -lm endif .PHONY: clean | ||||
|
|
Thank you! I apply your patch to rev. 2067: http://svn.origo.ethz.ch/viewvc/skychart?view=rev&revision=2067 |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 12-01-21 11:11 | Mattia Verga | New Issue | |
| 12-01-21 11:11 | Mattia Verga | File Added: gcc47.patch | |
| 12-01-21 11:25 | Patrick Chevalley | Note Added: 0001908 | |
| 12-01-21 11:25 | Patrick Chevalley | Assigned To | => Patrick Chevalley |
| 12-01-21 11:25 | Patrick Chevalley | Status | new => resolved |
| 12-01-21 11:25 | Patrick Chevalley | Resolution | open => fixed |
| 12-01-21 11:25 | Patrick Chevalley | Fixed in Version | 0.3.0 => 3.5 SVN |
| 12-01-21 11:25 | Patrick Chevalley | Target Version | 0.3.0 => 3.6 |
| 12-03-04 19:25 | Patrick Chevalley | Status | resolved => closed |