View previous topic :: View next topic |
Author |
Message |
techuser Tux's lil' helper
Joined: 31 Mar 2007 Posts: 82
|
Posted: Tue Feb 12, 2008 9:42 pm Post subject: nmap 4.52 not compilling bit.c & lua |
|
|
Trying to emerge 'nmap' I get this:
before I tried with 'revdep-rebuild' and 'emerge -e system' and recompiled dev-lang/lua. But I get this (tried without using distcc too) :
* Messages for package net-analyzer/nmap-4.52:
*
* ERROR: net-analyzer/nmap-4.52 failed.
* Call stack:
* ebuild.sh, line 1701: Called dyn_compile
* ebuild.sh, line 1039: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* nmap-4.52.ebuild, line 40: Called die
* The specific snippet of code:
* emake -j1 || die
* The die message:
* (no error message)
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/net-analyzer/nmap-4.52/temp/build.log'.
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Some info:
/var/tmp/portage/net-analyzer/nmap-4.52/temp/build.log:
[...]
i686-pc-linux-gnu-g++ -Wl,-E -Lnbase -Lnsock/src/ -o nmap main.o nmap.o targe
ts.o tcpip.o nmap_error.o utils.o idle_scan.o osscan.o osscan2.o output.o scan_e
ngine.o timing.o charpool.o services.o protocols.o nmap_rpc.o portlist.o NmapOps
.o TargetGroup.o Target.o FingerPrintResults.o service_scan.o NmapOutputTable.o
MACLookup.o nmap_tty.o nmap_dns.o traceroute.o portreasons.o nse_main.o nse_aux
iliar.o nse_nsock.o nse_init.o nse_nmaplib.o nse_debug.o nse_pcrelib.o nse_strin
g.o -lnbase -lnsock -lpcre -lpcap -lssl -lcrypto libdnet-stripped/src/.libs/lib
dnet.a liblua/liblua.a -ldl
Compiling nse-standard-library
make[2]: se ingresa al directorio `/var/tmp/portage/net-analyzer/nmap-4.52/work/
nmap-4.52/nselib-bin'
./libtool --tag=CC --silent --mode=compile distcc gcc -Iliblua -Ilibdnet-stripp
ed/include -O2 -march=pentium4 -Wall -fno-strict-aliasing -Inbase -Insock/inclu
de -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://insecure.org\" -DN
MAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/share/nmap\" -DNMAPLIBEX
ECDIR=\"/usr/libexec/nmap\" -c bit.c
bit.c: En la función 'bit_bnot':
bit.c:45: error: 'lua_Number' no se declaró aquí (primer uso en esta función)
bit.c:45: error: (Cada identificador no declarado solamente se reporta una vez
bit.c:45: error: ara cada funcion en la que aparece.)
bit.c:45: aviso: declaración implícita de la función 'luaL_checknumber'
bit.c: En la función 'bit_band':
bit.c:46: error: 'lua_Number' no se declaró aquí (primer uso en esta función)
bit.c:46: error: expected ')' before 'w'
bit.c: En la función 'bit_bor':
bit.c:47: error: 'lua_Number' no se declaró aquí (primer uso en esta función)
bit.c:47: error: expected ')' before 'w'
bit.c: En la función 'bit_bxor':
bit.c:48: error: 'lua_Number' no se declaró aquí (primer uso en esta función)
bit.c:48: error: expected ')' before 'w'
bit.c: En la función 'bit_lshift':
bit.c:49: error: 'lua_Number' no se declaró aquí (primer uso en esta función)
bit.c: En la función 'bit_rshift':
bit.c:50: error: 'lua_Number' no se declaró aquí (primer uso en esta función)
bit.c: En la función 'bit_arshift':
bit.c:51: error: 'lua_Number' no se declaró aquí (primer uso en esta función)
bit.c: En la función 'bit_mod':
bit.c:52: error: 'lua_Number' no se declaró aquí (primer uso en esta función)
bit.c: En la función 'luaopen_bit':
bit.c:67: aviso: se pasa el argumento 2 de 'luaL_openlib' desde un tipo de punte
ro incompatible
bit.c:67: aviso: el paso del argumento 3 de 'luaL_openlib' crea un entero desde
un puntero sin una conversión
bit.c:67: error: demasiados argumentos para la función 'luaL_openlib'
distcc[8181] ERROR: compile bit.c on ada failed
make[2]: *** [bit.so] Error 1
make[2]: se sale del directorio `/var/tmp/portage/net-analyzer/nmap-4.52/work/nm
ap-4.52/nselib-bin'
make[1]: *** [nsestdlib] Error 2
make[1]: se sale del directorio `/var/tmp/portage/net-analyzer/nmap-4.52/work/nm
ap-4.52'
make: *** [all] Error 2
^[[31;01m*^[[0m
^[[31;01m*^[[0m ERROR: net-analyzer/nmap-4.52 failed.
^[[31;01m*^[[0m Call stack:
^[[31;01m*^[[0m ebuild.sh, line 1701: Called dyn_compile
^[[31;01m*^[[0m ebuild.sh, line 1039: Called qa_call 'src_compile'
^[[31;01m*^[[0m ebuild.sh, line 44: Called src_compile
^[[31;01m*^[[0m nmap-4.52.ebuild, line 40: Called die
^[[31;01m*^[[0m The specific snippet of code:
^[[31;01m*^[[0m emake -j1 || die
^[[31;01m*^[[0m The die message:
^[[31;01m*^[[0m (no error message)
^[[31;01m*^[[0m
^[[31;01m*^[[0m If you need support, post the topmost build error, and the call
stack if relevant.
^[[31;01m*^[[0m A complete build log is located at '/var/tmp/portage/net-analyz
er/nmap-4.52/temp/build.log'.
^[[31;01m*^[[0m
----------------------
make.conf:
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example http://www.las.ic.unicamp.br/pub/gentoo/ ftp://ftp.las.ic.unicamp.br/pub/gentoo/
CFLAGS="-O2 -march=pentium4"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE="udev bluetooth pda musepack acpi nls theora devil mad x264 extras xscreensaver threadsafe a52 perl xml 7zip ares xosd fasttrack openft imagemagick gnutella aac aalib aiglx asf audacious audiofile avi battery hddtemp vim-syntax blender-game bzip2 clamav compress cpufreq divx dssi escreen fat ffmpeg flac fuse gdm geoip gmail gtk2 ieee1394 injection jack jack-tmpfs john xine ladspa lame madwifi math matroska mjpeg mmap mmx mozilla mp4live mpeg2 mysql openal openexr pcmcia php player pop rar real realmedia realtime-lsm reiserfs slang sndfile soundtouch sox sse sse2 submenu subtitles threads timidity tivo usb vcd videos vidix vim-pager vst wifi wlan x11vnc xfce4 xfs xvid thumbnailing -arts -kde -kerberos -ldap -esd"
LINGUAS="es es_ES"
INPUT_DEVICES="keyboard kbd mouse"
VIDEO_CARDS="radeon vesa fbdev"
GENTOO_MIRRORS=" http://gentoo.tiscali.nl/ http://trumpetti.atm.tut.fi/gentoo/ http://mirror.ing.unibo.it/g
entoo/ http://mirror.switch.ch/ftp/mirror/gentoo/ http://ftp.club-internet.fr/pu
b/mirrors/gentoo"
PORTAGE_RSYNC_INITIAL_TIMEOUT=1000
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
#PORTDIR_OVERLAY="/usr/local/portage"
NPTL_KERNEL_VERSION="2.6.11"
#source /usr/portage/local/layman/make.conf
FEATURES="distcc"
CC="distcc gcc"
DISTCC_HOTS="ada ada"
------------------------------------------
I tried to emerge dev-lang/toluapp-1.0.92 too but I get this:
>>> Unpacking source...
>>> Unpacking tolua++-1.0.92.tar.bz2 to /var/tmp/portage/dev-lang/toluapp-1.0.92
/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-lang/toluapp-1.0.92/work/tolua++-1.
0.92 ...
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
scons: *** Do not know how to make target `gcc'. Stop.
scons: building terminated because of errors.
^[[31;01m*^[[0m
^[[31;01m*^[[0m ERROR: dev-lang/toluapp-1.0.92 failed.
^[[31;01m*^[[0m Call stack:
^[[31;01m*^[[0m ebuild.sh, line 1701: Called dyn_compile
^[[31;01m*^[[0m ebuild.sh, line 1039: Called qa_call 'src_compil
e'
^[[31;01m*^[[0m ebuild.sh, line 44: Called src_compile
^[[31;01m*^[[0m toluapp-1.0.92.ebuild, line 35: Called die
^[[31;01m*^[[0m The specific snippet of code:
^[[31;01m*^[[0m scons \
^[[31;01m*^[[0m CC=$(tc-getCC) \
^[[31;01m*^[[0m CCFLAGS="${CFLAGS}" \
^[[31;01m*^[[0m LINK=$(tc-getCC) \
^[[31;01m*^[[0m prefix=${D}/usr \
^[[31;01m*^[[0m install || die
^[[31;01m*^[[0m The die message:
^[[31;01m*^[[0m (no error message)
^[[31;01m*^[[0m
^[[31;01m*^[[0m If you need support, post the topmost build error, and the call
stack if relevant.
^[[31;01m*^[[0m A complete build log is located at '/var/tmp/portage/dev-lang/t
oluapp-1.0.92/temp/build.log'.
^[[31;01m*^[[0m
----------------------
some help?
thanks! |
|
Back to top |
|
|
Lori Guru
Joined: 30 Mar 2004 Posts: 338 Location: Barcelona, Spain
|
Posted: Wed Feb 13, 2008 11:01 am Post subject: |
|
|
You left out the most relevant part of the error messages: just before the Code: | * Messages for package net-analyzer/nmap-4.52 | you have the actual error message. You should post the last line that compiled correctly and then the error messages leading up to the line I mentioned above. _________________ "The hunt is sweeter then the kill."
Registered Linux User #176911 |
|
Back to top |
|
|
techuser Tux's lil' helper
Joined: 31 Mar 2007 Posts: 82
|
Posted: Thu Feb 14, 2008 12:15 pm Post subject: sorry, here you have: |
|
|
from shell:
i686-pc-linux-gnu-g++ -c -Iliblua -Ilibdnet-stripped/include -O2 -march=pentium
4 -Wall -fno-strict-aliasing -Inbase -Insock/include -DHAVE_CONFIG_H -DNMAP_N
AME=\"Nmap\" -DNMAP_URL=\"http://insecure.org\" -DNMAP_PLATFORM=\"i686-pc-linux-
gnu\" -DNMAPDATADIR=\"/usr/share/nmap\" -DNMAPLIBEXECDIR=\"/usr/libexec/nmap\" n
map_tty.cc -o nmap_tty.o
i686-pc-linux-gnu-g++ -c -Iliblua -Ilibdnet-stripped/include -O2 -march=pentium
4 -Wall -fno-strict-aliasing -Inbase -Insock/include -DHAVE_CONFIG_H -DNMAP_N
AME=\"Nmap\" -DNMAP_URL=\"http://insecure.org\" -DNMAP_PLATFORM=\"i686-pc-linux-
gnu\" -DNMAPDATADIR=\"/usr/share/nmap\" -DNMAPLIBEXECDIR=\"/usr/libexec/nmap\" n
map_dns.cc -o nmap_dns.o
i686-pc-linux-gnu-g++ -c -Iliblua -Ilibdnet-stripped/include -O2 -march=pentium
4 -Wall -fno-strict-aliasing -Inbase -Insock/include -DHAVE_CONFIG_H -DNMAP_N
AME=\"Nmap\" -DNMAP_URL=\"http://insecure.org\" -DNMAP_PLATFORM=\"i686-pc-linux-
gnu\" -DNMAPDATADIR=\"/usr/share/nmap\" -DNMAPLIBEXECDIR=\"/usr/libexec/nmap\" t
raceroute.cc -o traceroute.o
i686-pc-linux-gnu-g++ -c -Iliblua -Ilibdnet-stripped/include -O2 -march=pentium
4 -Wall -fno-strict-aliasing -Inbase -Insock/include -DHAVE_CONFIG_H -DNMAP_N
AME=\"Nmap\" -DNMAP_URL=\"http://insecure.org\" -DNMAP_PLATFORM=\"i686-pc-linux-
gnu\" -DNMAPDATADIR=\"/usr/share/nmap\" -DNMAPLIBEXECDIR=\"/usr/libexec/nmap\" p
ortreasons.cc -o portreasons.o
i686-pc-linux-gnu-g++ -c -Iliblua -Ilibdnet-stripped/include -O2 -march=pentium
4 -Wall -fno-strict-aliasing -Inbase -Insock/include -DHAVE_CONFIG_H -DNMAP_N
AME=\"Nmap\" -DNMAP_URL=\"http://insecure.org\" -DNMAP_PLATFORM=\"i686-pc-linux-
gnu\" -DNMAPDATADIR=\"/usr/share/nmap\" -DNMAPLIBEXECDIR=\"/usr/libexec/nmap\" n
se_main.cc -o nse_main.o
i686-pc-linux-gnu-g++ -c -Iliblua -Ilibdnet-stripped/include -O2 -march=pentium
4 -Wall -fno-strict-aliasing -Inbase -Insock/include -DHAVE_CONFIG_H -DNMAP_N
AME=\"Nmap\" -DNMAP_URL=\"http://insecure.org\" -DNMAP_PLATFORM=\"i686-pc-linux-
gnu\" -DNMAPDATADIR=\"/usr/share/nmap\" -DNMAPLIBEXECDIR=\"/usr/libexec/nmap\" n
se_auxiliar.cc -o nse_auxiliar.o
i686-pc-linux-gnu-g++ -c -Iliblua -Ilibdnet-stripped/include -O2 -march=pentium
4 -Wall -fno-strict-aliasing -Inbase -Insock/include -DHAVE_CONFIG_H -DNMAP_N
AME=\"Nmap\" -DNMAP_URL=\"http://insecure.org\" -DNMAP_PLATFORM=\"i686-pc-linux-
gnu\" -DNMAPDATADIR=\"/usr/share/nmap\" -DNMAPLIBEXECDIR=\"/usr/libexec/nmap\" n
se_nsock.cc -o nse_nsock.o
i686-pc-linux-gnu-g++ -c -Iliblua -Ilibdnet-stripped/include -O2 -march=pentium
4 -Wall -fno-strict-aliasing -Inbase -Insock/include -DHAVE_CONFIG_H -DNMAP_N
AME=\"Nmap\" -DNMAP_URL=\"http://insecure.org\" -DNMAP_PLATFORM=\"i686-pc-linux-
gnu\" -DNMAPDATADIR=\"/usr/share/nmap\" -DNMAPLIBEXECDIR=\"/usr/libexec/nmap\" n
se_init.cc -o nse_init.o
i686-pc-linux-gnu-g++ -c -Iliblua -Ilibdnet-stripped/include -O2 -march=pentium
4 -Wall -fno-strict-aliasing -Inbase -Insock/include -DHAVE_CONFIG_H -DNMAP_N
AME=\"Nmap\" -DNMAP_URL=\"http://insecure.org\" -DNMAP_PLATFORM=\"i686-pc-linux-
gnu\" -DNMAPDATADIR=\"/usr/share/nmap\" -DNMAPLIBEXECDIR=\"/usr/libexec/nmap\" n
gnu\" -DNMAPDATADIR=\"/usr/share/nmap\" -DNMAPLIBEXECDIR=\"/usr/libexec/nmap\" n
se_nmaplib.cc -o nse_nmaplib.o
i686-pc-linux-gnu-g++ -c -Iliblua -Ilibdnet-stripped/include -O2 -march=pentium
4 -Wall -fno-strict-aliasing -Inbase -Insock/include -DHAVE_CONFIG_H -DNMAP_N
AME=\"Nmap\" -DNMAP_URL=\"http://insecure.org\" -DNMAP_PLATFORM=\"i686-pc-linux-
gnu\" -DNMAPDATADIR=\"/usr/share/nmap\" -DNMAPLIBEXECDIR=\"/usr/libexec/nmap\" n
se_debug.cc -o nse_debug.o
i686-pc-linux-gnu-g++ -c -Iliblua -Ilibdnet-stripped/include -O2 -march=pentium
4 -Wall -fno-strict-aliasing -Inbase -Insock/include -DHAVE_CONFIG_H -DNMAP_N
AME=\"Nmap\" -DNMAP_URL=\"http://insecure.org\" -DNMAP_PLATFORM=\"i686-pc-linux-
gnu\" -DNMAPDATADIR=\"/usr/share/nmap\" -DNMAPLIBEXECDIR=\"/usr/libexec/nmap\" n
se_pcrelib.cc -o nse_pcrelib.o
i686-pc-linux-gnu-g++ -c -Iliblua -Ilibdnet-stripped/include -O2 -march=pentium
4 -Wall -fno-strict-aliasing -Inbase -Insock/include -DHAVE_CONFIG_H -DNMAP_N
AME=\"Nmap\" -DNMAP_URL=\"http://insecure.org\" -DNMAP_PLATFORM=\"i686-pc-linux-
gnu\" -DNMAPDATADIR=\"/usr/share/nmap\" -DNMAPLIBEXECDIR=\"/usr/libexec/nmap\" n
se_string.cc -o nse_string.o
echo Compiling nmap
Compiling nmap
rm -f nmap
i686-pc-linux-gnu-g++ -Wl,-E -Lnbase -Lnsock/src/ -o nmap main.o nmap.o targe
ts.o tcpip.o nmap_error.o utils.o idle_scan.o osscan.o osscan2.o output.o scan_e
ngine.o timing.o charpool.o services.o protocols.o nmap_rpc.o portlist.o NmapOps
.o TargetGroup.o Target.o FingerPrintResults.o service_scan.o NmapOutputTable.o
MACLookup.o nmap_tty.o nmap_dns.o traceroute.o portreasons.o nse_main.o nse_aux
iliar.o nse_nsock.o nse_init.o nse_nmaplib.o nse_debug.o nse_pcrelib.o nse_strin
g.o -lnbase -lnsock -lpcre -lpcap -lssl -lcrypto libdnet-stripped/src/.libs/lib
dnet.a liblua/liblua.a -ldl
Compiling nse-standard-library
make[2]: se ingresa al directorio `/var/tmp/portage/net-analyzer/nmap-4.52/work/
nmap-4.52/nselib-bin'
./libtool --tag=CC --silent --mode=compile distcc gcc -Iliblua -Ilibdnet-stripp
ed/include -O2 -march=pentium4 -Wall -fno-strict-aliasing -Inbase -Insock/inclu
de -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://insecure.org\" -DN
MAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/share/nmap\" -DNMAPLIBEX
ECDIR=\"/usr/libexec/nmap\" -c bit.c
bit.c: En la función 'bit_bnot':
bit.c:45: error: 'lua_Number' no se declaró aquí (primer uso en esta función)
bit.c:45: error: (Cada identificador no declarado solamente se reporta una vez
bit.c:45: error: ara cada funcion en la que aparece.)
bit.c:45: aviso: declaración implícita de la función 'luaL_checknumber'
bit.c: En la función 'bit_band':
bit.c:46: error: 'lua_Number' no se declaró aquí (primer uso en esta función)
bit.c:46: error: expected ')' before 'w'
bit.c: En la función 'bit_bor':
bit.c:47: error: 'lua_Number' no se declaró aquí (primer uso en esta función)
bit.c:47: error: expected ')' before 'w'
bit.c: En la función 'bit_bxor':
bit.c:48: error: 'lua_Number' no se declaró aquí (primer uso en esta función)
bit.c:48: error: expected ')' before 'w'
bit.c: En la función 'bit_lshift':
bit.c:49: error: 'lua_Number' no se declaró aquí (primer uso en esta función)
bit.c: En la función 'bit_rshift':
bit.c:50: error: 'lua_Number' no se declaró aquí (primer uso en esta función)
bit.c: En la función 'bit_arshift':
bit.c:51: error: 'lua_Number' no se declaró aquí (primer uso en esta función)
bit.c: En la función 'bit_mod':
bit.c:52: error: 'lua_Number' no se declaró aquí (primer uso en esta función)
bit.c: En la función 'luaopen_bit':
bit.c:67: aviso: se pasa el argumento 2 de 'luaL_openlib' desde un tipo de punte
ro incompatible
bit.c:67: aviso: el paso del argumento 3 de 'luaL_openlib' crea un entero desde
un puntero sin una conversión
bit.c:67: error: demasiados argumentos para la función 'luaL_openlib'
distcc[20020] ERROR: compile bit.c on ada failed
make[2]: *** [bit.so] Error 1
make[2]: se sale del directorio `/var/tmp/portage/net-analyzer/nmap-4.52/work/nm
ap-4.52/nselib-bin'
make[1]: *** [nsestdlib] Error 2
make[1]: se sale del directorio `/var/tmp/portage/net-analyzer/nmap-4.52/work/nm
ap-4.52'
make: *** [all] Error 2
*
* ERROR: net-analyzer/nmap-4.52 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2323: Called die
* The specific snippet of code:
* emake -j1 || die
* The die message:
* (no error message)
*
* If you need support, post the topmost build error, and the call stack if rele
vant.
* A complete build log is located at '/var/tmp/portage/net-analyzer/nmap-4.52/t
emp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-analyzer/nmap
-4.52/temp/environment'. |
|
Back to top |
|
|
techuser Tux's lil' helper
Joined: 31 Mar 2007 Posts: 82
|
Posted: Sun Feb 24, 2008 11:09 am Post subject: lua - nmap |
|
|
nmap now is compiling but not using "lua" USE flag.
With lua USE flag on, nmap does not compile, without lua USE flag is compiling.. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|