help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Errors and warnings on static link of octave 2.1.67


From: Liping Zhu
Subject: Errors and warnings on static link of octave 2.1.67
Date: Mon, 27 Jun 2005 12:12:19 -0400
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

Hi,

I need to statically install octave 2.1.67 on Redhat FC3, gcc 3.4.2. 'make' complained with the warnings and errors listed below. The warnings are about requiring the shared libraries from glibc at runtime. So do these warnings mean that fully static installation of octave is a mission impossible? Can anybody give me a clue?

Thanks.

Liping Zhu

g++ -I. -I.. -I../liboctave -I../src -I../libcruft/misc -I../glob -I../glob -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -static \
-L..  -fPIC  -o octave \
main.o balance.o besselj.o betainc.o chol.o colloc.o daspk.o dasrt.o dassl.o det.o eig.o expm.o fft.o fft2.o fftn.o fftw_wisdom.o filter.o find.o fsolve.o gammainc.o gcd.o getgrent.o getpwent.o getrusage.o givens.o hess.o inv.o kron.o lpsolve.o lsode.o lu.o minmax.o pinv.o qr.o quad.o qz.o rand.o schur.o sort.o sqrtm.o svd.o syl.o time.o \
-L../liboctave -L../libcruft -L../src -Wl,-rpath -Wl,\
../src/liboctinterp.a ../liboctave/liboctave.a ../libcruft/libcruft.a ../glob/glob.o ../glob/fnmatch.o \ -llapack -lblas -lreadline -lncurses -lm -L/usr/lib/gcc/i386-redhat-linux/3.4.2 -L/usr/lib/gcc/i386-redhat-linux/3.4.2/../../.. -lfrtbegin -lg2c -lm -lgcc_eh /usr/lib/gcc/i386-redhat-linux/3.4.2/../../../libieee.a(.data+0x0): multiple definition of `_LIB_VERSION' /usr/lib/gcc/i386-redhat-linux/3.4.2/../../../libm.a(s_lib_version.o)(.data+0x0): first defined here ../liboctave/liboctave.a(file-ops.o)(.text+0xe3c): In function `file_ops::tempnam(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)':
: warning: the use of `tempnam' is dangerous, better use `mkstemp'
../liboctave/liboctave.a(oct-group.o)(.text+0x2b8): In function `octave_group::getgrent(std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)': : warning: Using 'getgrent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking ../liboctave/liboctave.a(oct-group.o)(.text+0x3a9): In function `octave_group::getgrgid(unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)': : warning: Using 'getgrgid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking ../liboctave/liboctave.a(oct-group.o)(.text+0x4a2): In function `octave_group::getgrnam(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)': : warning: Using 'getgrnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking ../liboctave/liboctave.a(oct-group.o)(.text+0x583): In function `octave_group::setgrent(std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)': : warning: Using 'setgrent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking ../liboctave/liboctave.a(oct-group.o)(.text+0x655): In function `octave_group::endgrent(std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)': : warning: Using 'endgrent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking ../liboctave/liboctave.a(oct-passwd.o)(.text+0x26e): In function `octave_passwd::getpwent(std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)': : warning: Using 'getpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking ../liboctave/liboctave.a(oct-passwd.o)(.text+0x458): In function `octave_passwd::getpwnam(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)': : warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking ../liboctave/liboctave.a(oct-passwd.o)(.text+0x35f): In function `octave_passwd::getpwuid(unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)': : warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking ../liboctave/liboctave.a(oct-passwd.o)(.text+0x539): In function `octave_passwd::setpwent(std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)': : warning: Using 'setpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking ../liboctave/liboctave.a(oct-passwd.o)(.text+0x60b): In function `octave_passwd::endpwent(std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)': : warning: Using 'endpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
collect2: ld returned 1 exit status
make[2]: *** [octave] Error 1
make[2]: Leaving directory `/home/octave-2.1.67.1/src'
make[1]: *** [src] Error 2
make[1]: Leaving directory `/home/octave-2.1.67.1'
make: *** [all] Error 2



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]