loop-aes: make of Gnupg as static fails

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

 



A few months ago I set up a few systems with loop-aes and everything work
very smoothly.  Today I was attempting to setup a new system with the latest
and greatest and I am having trouble getting the patched GnuPG to compile
and build properly.

I started with a FC3 install and have already updated the kernel to 2.6.10
according to the loop-aes readme.  Everything has gone smoothly so far until
I downloaded GnuPG 1.4 and tried to get it to compile and build.

After issuing the make command, things go well for a little bit and then I
get the following:

Making all in tools
make[2]: Entering directory
`/usr/local/src/gnupg-1.4.0/tools'
gcc  -O2 -Wall  -static -s -o bftest  bftest.o
../cipher/libcipher.a ../mpi/libmpi.a
../util/libutil.a      -ldl   -lreadline
../cipher/libcipher.a(idea-stub.o)(.text+0x5b): In
function `idea_get_info':
: warning: Using 'dlopen' in statically linked
applications requires at runtime the shared libraries
from the glibc version used for
linking/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../libreadline.a(complete.
o)(.text+0x1e51):
In function `rl_username_completion_function':
: warning: Using 'getpwent' in statically linked
applications requires at runtime the shared libraries
from the glibc version used for linking
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../libreadline.a(tilde.o)(.text+0
x1b1):
In function `tilde_expand_word':
: warning: Using 'getpwnam' in statically linked
applications requires at runtime the shared libraries
from the glibc version used for linking
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../libreadline.a(shell.o)(.text+0
x112):
In function `sh_get_home_dir':
: warning: Using 'getpwuid' in statically linked
applications requires at runtime the shared libraries
from the glibc version used for linking
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../libreadline.a(complete.o)(.tex
t+0x1e4c):
In function `rl_username_completion_function':
: warning: Using 'setpwent' in statically linked
applications requires at runtime the shared libraries
from the glibc version used for linking
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../libreadline.a(complete.o)(.tex
t+0x1ee9):
In function `rl_username_completion_function':
: warning: Using 'endpwent' in statically linked
applications requires at runtime the shared libraries
from the glibc version used for linking
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../libreadline.a(display.o)(.text
+0x6d3):
In function `cr':
: undefined reference to `tputs'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../libreadline.a(display.o)(.text
+0x740):
In function `_rl_move_vert':
: undefined reference to `tputs'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../libreadline.a(display.o)(.text
+0x790):
In function `_rl_move_vert':
: undefined reference to `tputs'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../libreadline.a(display.o)(.text
+0x81b):
In function `_rl_move_cursor_relative':
: undefined reference to `tputs'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../libreadline.a(display.o)(.text
+0x86a):
In function `_rl_move_cursor_relative':
: undefined reference to `tputs'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../libreadline.a(display.o)(.text
+0x9bd):
more undefined references to `tputs' follow
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../libreadline.a(display.o)(.text
+0x1caa):
In function `update_line':
: undefined reference to `tgoto'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../libreadline.a(display.o)(.text
+0x1cc2):
In function `update_line':
: undefined reference to `tputs'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../libreadline.a(display.o)(.text
+0x1dc5):
In function `update_line':
: undefined reference to `tputs'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../libreadline.a(display.o)(.text
+0x1e2c):
In function `update_line':
: undefined reference to `tgoto'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../libreadline.a(display.o)(.text
+0x1e40):
In function `update_line':
: undefined reference to `tputs'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../libreadline.a(display.o)(.text
+0x31b1):
In function `rl_redisplay':
: undefined reference to `tputs'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../libreadline.a(display.o)(.text
+0x3305):
In function `_rl_redisplay_after_sigwinch':
: undefined reference to `tputs'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../libreadline.a(display.o)(.text
+0x3343):
In function `_rl_redisplay_after_sigwinch':
: undefined reference to `tputs'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../libreadline.a(terminal.o)(.tex
t+0xb4):
In function `_rl_get_screen_size':
: undefined reference to `tgetnum'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../libreadline.a(terminal.o)(.tex
t+0x105):
In function `_rl_get_screen_size':
: undefined reference to `tgetnum'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../libreadline.a(terminal.o)(.tex
t+0x4c4):
In function `_rl_init_terminal_io':
: undefined reference to `PC'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../libreadline.a(terminal.o)(.tex
t+0x4d5):
In function `_rl_init_terminal_io':
: undefined reference to `BC'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../libreadline.a(terminal.o)(.tex
t+0x4df):
In function `_rl_init_terminal_io':
: undefined reference to `UP'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../libreadline.a(terminal.o)(.tex
t+0x57d):
In function `_rl_init_terminal_io':
: undefined reference to `tgetent'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../libreadline.a(terminal.o)(.tex
t+0x59b):
In function `_rl_init_terminal_io':
: undefined reference to `tgetstr'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../libreadline.a(terminal.o)(.tex
t+0x5d5):
In function `_rl_init_terminal_io':
: undefined reference to `PC'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../libreadline.a(terminal.o)(.tex
t+0x5da):
In function `_rl_init_terminal_io':
: undefined reference to `BC'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../libreadline.a(terminal.o)(.tex
t+0x5e6):
In function `_rl_init_terminal_io':
: undefined reference to `UP'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../libreadline.a(terminal.o)(.tex
t+0x5fe):
In function `_rl_init_terminal_io':
: undefined reference to `tgetflag'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../libreadline.a(terminal.o)(.tex
t+0x654):
In function `_rl_init_terminal_io':
: undefined reference to `tgetflag'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../libreadline.a(terminal.o)(.tex
t+0x6cd):
In function `_rl_init_terminal_io':
: undefined reference to `tgetflag'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../libreadline.a(terminal.o)(.tex
t+0x720):
In function `_rl_init_terminal_io':
: undefined reference to `tgetflag'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../libreadline.a(terminal.o)(.tex
t+0x852):
In function `_rl_backspace':
: undefined reference to `tputs'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../libreadline.a(terminal.o)(.tex
t+0x8ed):
In function `rl_ding':
: undefined reference to `tputs'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../libreadline.a(terminal.o)(.tex
t+0x923):
In function `_rl_enable_meta_key':
: undefined reference to `tputs'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../libreadline.a(terminal.o)(.tex
t+0x95e):
In function `_rl_control_keypad':
: undefined reference to `tputs'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../libreadline.a(terminal.o)(.tex
t+0x99e):
In function `_rl_set_cursor':
: undefined reference to `tputs'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../libreadline.a(terminal.o)(.tex
t+0x9c6):
more undefined references to `tputs' follow
collect2: ld returned 1 exit status
make[2]: *** [bftest] Error 1
make[2]: Leaving directory
`/usr/local/src/gnupg-1.4.0/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/usr/local/src/gnupg-1.4.0'
make: *** [all] Error 2

If I run configure with LDFLAGS="-s" instead of LDFLAGS="-static -s"
everything works but since I won't have a statically linked GPG that's not
so good.

BTW, I checked and my install versions of readline and readline-devel are at
version 5.0.2

Any ideas?

Doug
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 266.5.7 - Release Date: 3/1/05


-
Linux-crypto:  cryptography in and on the Linux system
Archive:       http://mail.nl.linux.org/linux-crypto/


[Index of Archives]     [Kernel]     [Linux Crypto]     [Gnu Crypto]     [Gnu Classpath]     [Netfilter]     [Bugtraq]
  Powered by Linux