Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 227051
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Daniel Black <dragonheart@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Evil Compile Person <bugs@dev.gentooexperimental.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 227051 depends on: Show dependency tree
Bug 227051 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-06-14 21:32 0000
>>> Compiling source in /var/tmp/portage/app-crypt/rainbowcrack-1.2-r1/work/rainbowcrack-1.2-src/src ...
x86_64-pc-linux-gnu-g++ Public.cpp ChainWalkContext.cpp HashAlgorithm.cpp
HashRoutine.cpp RainbowTableGenerate.cpp -lssl -O2 -pipe -o rtgen
In file included from Public.cpp:11:
Public.h:25: error: 'u_int64_t' does not name a type
Public.h:26: error: 'u_int64_t' does not name a type
Public.h:37: error: 'u_int64_t' was not declared in this scope
Public.h:38: error: 'u_int64_t' was not declared in this scope
Public.cpp:113: error: redefinition of 'std::string uint64tostr'
Public.h:37: error: 'std::string uint64tostr' previously declared here
Public.cpp:113: error: 'u_int64_t' was not declared in this scope
Public.cpp:126: error: redefinition of 'std::string uint64tohexstr'
Public.h:38: error: 'std::string uint64tohexstr' previously declared here
Public.cpp:126: error: 'u_int64_t' was not declared in this scope
In file included from ChainWalkContext.h:11,
                 from ChainWalkContext.cpp:11:
Public.h:25: error: 'u_int64_t' does not name a type
Public.h:26: error: 'u_int64_t' does not name a type
Public.h:37: error: 'u_int64_t' was not declared in this scope
Public.h:38: error: 'u_int64_t' was not declared in this scope
In file included from ChainWalkContext.cpp:11:
ChainWalkContext.h:30: error: 'u_int64_t' does not name a type
ChainWalkContext.h:31: error: 'u_int64_t' does not name a type
ChainWalkContext.h:34: error: 'u_int64_t' does not name a type
ChainWalkContext.h:37: error: 'u_int64_t' does not name a type
ChainWalkContext.h:56: error: 'u_int64_t' does not name a type
ChainWalkContext.h:61: error: 'u_int64_t' has not been declared
ChainWalkContext.h:68: error: 'u_int64_t' does not name a type
ChainWalkContext.cpp:31: error: 'u_int64_t
CChainWalkContext::m_nPlainSpaceUpToX [257]' is not a static member of 'class
CChainWalkContext'
ChainWalkContext.cpp:32: error: 'u_int64_t
CChainWalkContext::m_nPlainSpaceTotal' is not a static member of 'class
CChainWalkContext'
ChainWalkContext.cpp:35: error: 'u_int64_t CChainWalkContext::m_nReduceOffset'
is not a static member of 'class CChainWalkContext'
ChainWalkContext.cpp: In static member function 'static bool
CChainWalkContext::LoadCharset(std::string)':
ChainWalkContext.cpp:119: error: 'memcpy' was not declared in this scope
ChainWalkContext.cpp: In static member function 'static bool
CChainWalkContext::SetPlainCharset(std::string, int, int)':
ChainWalkContext.cpp:165: error: 'm_nPlainSpaceUpToX' was not declared in this
scope
ChainWalkContext.cpp:178: error: 'm_nPlainSpaceTotal' was not declared in this
scope
ChainWalkContext.cpp: In static member function 'static bool
CChainWalkContext::SetRainbowTableIndex(int)':
ChainWalkContext.cpp:188: error: 'm_nReduceOffset' was not declared in this
scope
ChainWalkContext.cpp: At global scope:
ChainWalkContext.cpp:303: error: no 'u_int64_t
CChainWalkContext::GetPlainSpaceTotal()' member function declared in class
'CChainWalkContext'
ChainWalkContext.cpp: In static member function 'static void
CChainWalkContext::Dump()':
ChainWalkContext.cpp:339: error: 'm_nPlainSpaceTotal' was not declared in this
scope
ChainWalkContext.cpp:342: error: 'm_nReduceOffset' was not declared in this
scope
ChainWalkContext.cpp: In member function 'void
CChainWalkContext::GenerateRandomIndex()':
ChainWalkContext.cpp:348: error: 'm_nIndex' was not declared in this scope
ChainWalkContext.cpp:349: error: 'm_nPlainSpaceTotal' was not declared in this
scope
ChainWalkContext.cpp: At global scope:
ChainWalkContext.cpp:352: error: prototype for 'void
CChainWalkContext::SetIndex(u_int64_t)' does not match any in class
'CChainWalkContext'
ChainWalkContext.h:61: error: candidate is: void
CChainWalkContext::SetIndex(int)
ChainWalkContext.cpp: In member function 'void
CChainWalkContext::SetHash(unsigned char*)':
ChainWalkContext.cpp:359: error: 'memcpy' was not declared in this scope
ChainWalkContext.cpp: In member function 'void
CChainWalkContext::IndexToPlain()':
ChainWalkContext.cpp:367: error: 'm_nIndex' was not declared in this scope
ChainWalkContext.cpp:367: error: 'm_nPlainSpaceUpToX' was not declared in this
scope
ChainWalkContext.cpp:374: error: 'm_nIndex' was not declared in this scope
ChainWalkContext.cpp:374: error: 'm_nPlainSpaceUpToX' was not declared in this
scope
ChainWalkContext.cpp: In member function 'void
CChainWalkContext::HashToIndex(int)':
ChainWalkContext.cpp:438: error: 'm_nIndex' was not declared in this scope
ChainWalkContext.cpp:438: error: 'm_nReduceOffset' was not declared in this
scope
ChainWalkContext.cpp:438: error: 'm_nPlainSpaceTotal' was not declared in this
scope
ChainWalkContext.cpp: At global scope:
ChainWalkContext.cpp:441: error: no 'u_int64_t CChainWalkContext::GetIndex()'
member function declared in class 'CChainWalkContext'
ChainWalkContext.cpp: In member function 'bool
CChainWalkContext::CheckHash(unsigned char*)':
ChainWalkContext.cpp:491: error: 'memcmp' was not declared in this scope
In file included from HashAlgorithm.cpp:9:
Public.h:25: error: 'u_int64_t' does not name a type
Public.h:26: error: 'u_int64_t' does not name a type
Public.h:37: error: 'u_int64_t' was not declared in this scope
Public.h:38: error: 'u_int64_t' was not declared in this scope
In file included from ChainWalkContext.h:11,
                 from RainbowTableGenerate.cpp:18:
Public.h:25: error: 'u_int64_t' does not name a type
Public.h:26: error: 'u_int64_t' does not name a type
Public.h:37: error: 'u_int64_t' was not declared in this scope
Public.h:38: error: 'u_int64_t' was not declared in this scope
In file included from RainbowTableGenerate.cpp:18:
ChainWalkContext.h:30: error: 'u_int64_t' does not name a type
ChainWalkContext.h:31: error: 'u_int64_t' does not name a type
ChainWalkContext.h:34: error: 'u_int64_t' does not name a type
ChainWalkContext.h:37: error: 'u_int64_t' does not name a type
ChainWalkContext.h:56: error: 'u_int64_t' does not name a type
ChainWalkContext.h:61: error: 'u_int64_t' has not been declared
ChainWalkContext.h:68: error: 'u_int64_t' does not name a type
RainbowTableGenerate.cpp: In function 'int main(int, char**)':
RainbowTableGenerate.cpp:113: error: 'strcmp' was not declared in this scope
RainbowTableGenerate.cpp:115: error: 'atoi' was not declared in this scope
RainbowTableGenerate.cpp:128: error: 'atoi' was not declared in this scope
RainbowTableGenerate.cpp:207: error: 'u_int64_t' was not declared in this scope
RainbowTableGenerate.cpp:207: error: expected `;' before 'nIndex'
RainbowTableGenerate.cpp:208: error: 'nIndex' was not declared in this scope
RainbowTableGenerate.cpp:222: error: 'nIndex' was not declared in this scope
RainbowTableGenerate.cpp:222: error: 'class CChainWalkContext' has no member
named 'GetIndex'
make: *** [rtgen] Error 1
 *
 * ERROR: app-crypt/rainbowcrack-1.2-r1 failed.

Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.3.1, glibc-2.8_p20080602-r0,
2.6.25.1 x86_64)
=================================================================
System uname: 2.6.25.1 x86_64 unknown
Timestamp of tree: Fri, 13 Jun 2008 19:45:01 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.2-r4
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.62
sys-devel/automake:  1.10.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf
/etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks metadata-transfer sandbox sfperms strict
unmerge-orphans userfetch"
GENTOO_MIRRORS="http://216.165.129.134/gentoo
http://gentoo.mirrors.tds.net/gentoo http://gentoo.osuosl.org/"
LANG="en_US"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles
--exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://208.71.112.51/gentoo-portage"
USE="X acl amd64 berkdb cli cracklib crypt cups dri fortran gcj gdbm gpm iconv
ipv6 isdnlog midi mmx mudflap ncurses nls nptl nptlonly objc openmp pam pcre
perl pppd python readline reflection session spl sse sse2 ssl tcpd unicode xorg
zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci
emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m
maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file
hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route
share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias
authn_anon authn_dbm authn_default authn_file authz_dbm authz_default
authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs
dav_lock deflate dir disk_cache env expires ext_filter file_cache filter
headers include info log_config logio mem_cache mime mime_magic negotiation
rewrite setenvif speling status unique_id userdir usertrack vhost_alias"
ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" USERLAND="GNU" VIDEO_CARDS="vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS,
LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

------- Comment #1 From Mat 2008-06-19 18:31:14 0000 -------
this seems to be an error specific to =gcc-4.3* ,
I got the same error, afaik,

it built fine with =gcc-4.2*

------- Comment #2 From Daniel Black 2008-06-20 14:31:16 0000 -------
please confirm fix - cheers Daniel.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug