[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ncurses/dialog static linking on 64bit problem
From: |
VinX |
Subject: |
Re: Ncurses/dialog static linking on 64bit problem |
Date: |
Wed, 09 May 2007 17:12:44 +0200 |
User-agent: |
Thunderbird 2.0.0.0 (X11/20070422) |
Thomas Dickey wrote:
> thanks - I'm interested to see what's breaking...
i tried building with this command sequence:
--
wget -c "ftp://invisible-island.net/ncurses/ncurses-5.6.tar.gz"
wget -c "ftp://invisible-island.net/dialog/dialog.tar.gz"
tar xzf ncurses-5.6.tar.gz
tar xzf dialog.tar.gz
mkdir ncurses_build
mkdir dialog_build
export CC="gcc -static"
#building NCURSES
cd ncurses_build/
../ncurses-5.6/configure --with-trace --without-gpm --with-debug \
--without-dlsym --enable-warnings \
--with-debug
make
#building DIALOG
cd ../dialog_build
#in this package the tracing option is active by default
../dialog-1.1-20070409/configure --with-warnings
#edit LIBS value on makefile
# -> -L/home/vinx/test/ncurses_build/lib/ -lncurses -lm -L/lib
make
--
i have lauced this command:
--
export NCURSES_TRACE=0xffff
./dialog --trace /home/vinx/output.log --msgbox "Hello World" 6 20
--
and in the output file i have only dumped key pressed... in this example:
--
$ cat /home/vinx/output.log
** Wed May 9 17:02:34 2007
chr DLGK_ENTER (ch=0x219, fkey=537)
$
--
If i compile dialog without -static gcc's option, but with same LIBS
variable in makefile it works.
I understand that this problem coming up only on a distro with 64 bit
libc6 libraries... i tried on an amd64 with an ubuntu at 32bit and it
works.
Regards,
Vincenzo
- Ncurses/dialog static linking on 64bit problem, VinX, 2007/05/08
- Re: Ncurses/dialog static linking on 64bit problem, Thomas Dickey, 2007/05/08
- Re: Ncurses/dialog static linking on 64bit problem, VinX, 2007/05/08
- Re: Ncurses/dialog static linking on 64bit problem, Thomas Dickey, 2007/05/08
- Re: Ncurses/dialog static linking on 64bit problem, VinX, 2007/05/08
- Re: Ncurses/dialog static linking on 64bit problem, Thomas Dickey, 2007/05/08
- Re: Ncurses/dialog static linking on 64bit problem,
VinX <=
- Re: Ncurses/dialog static linking on 64bit problem, Thomas Dickey, 2007/05/10
- Re: Ncurses/dialog static linking on 64bit problem, VinX, 2007/05/10
- Re: Ncurses/dialog static linking on 64bit problem, Thomas Dickey, 2007/05/10
- Re: Ncurses/dialog static linking on 64bit problem, VinX, 2007/05/11
- Re: Ncurses/dialog static linking on 64bit problem, Thomas Dickey, 2007/05/11