[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #38106] liboctave-dev fails to compile databas
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #38106] liboctave-dev fails to compile database-1.0.4 |
Date: |
Thu, 17 Jan 2013 14:13:42 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20100101 Firefox/10.0.12 Iceweasel/10.0.12 |
URL:
<http://savannah.gnu.org/bugs/?38106>
Summary: liboctave-dev fails to compile database-1.0.4
Project: GNU Octave
Submitted by: None
Submitted on: Thu 17 Jan 2013 02:13:41 PM UTC
Category: Libraries
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Assigned to: None
Originator Name: richard
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
Release: 3.6.2
Operating System: GNU/Linux
_______________________________________________________
Details:
database-1.0.4 needs some tweaks - even then compiling fails with this
message:
$ make
CXXFLAGS="-g -fstack-protector --param=ssp-buffer-size=4 -Wformat
-Werror=format-security -fopenmp" mkoctfile -Doctave_idx_type=int
-DNEED_OCTAVE_QUIT -DHAVE_OCTAVE_36 -v -Wl,-z,relro -o postgres.oct
postgres_wrap.cpp -lpq
g++ -c -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-3.6.2/octave/..
-I/usr/include/octave-3.6.2/octave -I/usr/include/mpi -I/usr/include/freetype2
-g -fstack-protector --param=ssp-buffer-size=4 -Wformat
-Werror=format-security -fopenmp -Doctave_idx_type=int -DNEED_OCTAVE_QUIT
-DHAVE_OCTAVE_36 postgres_wrap.cpp -o postgres_wrap.o
In file included from /usr/include/octave-3.6.2/octave/../octave/oct.h:31:0,
from postgres_wrap.cpp:153:
/usr/include/octave-3.6.2/octave/../octave/config.h:3052:25: error: multiple
types in one declaration
/usr/include/octave-3.6.2/octave/../octave/config.h:3052:25: error:
declaration does not declare anything [-fpermissive]
make: *** [postgres.oct] Error 1
When this file is copied from liboctave-dev-3.2.4 it compiles:
oct-types.h
with this message:
$ make
CXXFLAGS="-g -fstack-protector --param=ssp-buffer-size=4 -Wformat
-Werror=format-security -fopenmp" mkoctfile -DHAVE_OCTAVE_36 -v -Wl,-z,relro
-o postgres.oct postgres_wrap.cpp -lpq
g++ -c -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-3.6.2/octave/..
-I/usr/include/octave-3.6.2/octave -I/usr/include/mpi -I/usr/include/freetype2
-g -fstack-protector --param=ssp-buffer-size=4 -Wformat
-Werror=format-security -fopenmp -DHAVE_OCTAVE_36 postgres_wrap.cpp -o
postgres_wrap.o
g++ -shared -Wl,-Bsymbolic -o postgres.oct postgres_wrap.o -Wl,-z,relro -lpq
-L/usr/lib/x86_64-linux-gnu/octave/3.6.2 -L/usr/lib/x86_64-linux-gnu
-loctinterp -loctave -lcruft -Wl,-z,relro
CXXFLAGS="-g -fstack-protector --param=ssp-buffer-size=4 -Wformat
-Werror=format-security -fopenmp" mkoctfile -DHAVE_OCTAVE_36 -v -Wl,-z,relro
-o sqlite3.oct -lsqlite3 sqlite3_wrap.cpp
g++ -c -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-3.6.2/octave/..
-I/usr/include/octave-3.6.2/octave -I/usr/include/mpi -I/usr/include/freetype2
-g -fstack-protector --param=ssp-buffer-size=4 -Wformat
-Werror=format-security -fopenmp -DHAVE_OCTAVE_36 sqlite3_wrap.cpp -o
sqlite3_wrap.o
g++ -shared -Wl,-Bsymbolic -o sqlite3.oct sqlite3_wrap.o -Wl,-z,relro
-lsqlite3 -L/usr/lib/x86_64-linux-gnu/octave/3.6.2 -L/usr/lib/x86_64-linux-gnu
-loctinterp -loctave -lcruft -Wl,-z,relro
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?38106>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #38106] liboctave-dev fails to compile database-1.0.4,
anonymous <=
- [Octave-bug-tracker] [bug #38106] liboctave-dev fails to compile database-1.0.4, Jordi Gutiérrez Hermoso, 2013/01/17
- [Octave-bug-tracker] [bug #38106] liboctave-dev fails to compile database-1.0.4, Jordi Gutiérrez Hermoso, 2013/01/17
- [Octave-bug-tracker] [bug #38106] liboctave-dev fails to compile database-1.0.4, anonymous, 2013/01/17
- [Octave-bug-tracker] [bug #38106] liboctave-dev fails to compile database-1.0.4, Jordi Gutiérrez Hermoso, 2013/01/17
- [Octave-bug-tracker] [bug #38106] liboctave-dev fails to compile database-1.0.4, anonymous, 2013/01/17
- [Octave-bug-tracker] [bug #38106] liboctave-dev fails to compile database-1.0.4, Jordi Gutiérrez Hermoso, 2013/01/17
- [Octave-bug-tracker] [bug #38106] liboctave-dev fails to compile database-1.0.4, anonymous, 2013/01/17