<86>Feb 19 09:23:02 userdel[7174]: delete user 'rooter' <86>Feb 19 09:23:02 userdel[7174]: removed group 'rooter' owned by 'rooter' <86>Feb 19 09:23:02 groupadd[7183]: group added to /etc/group: name=rooter, GID=681 <86>Feb 19 09:23:02 groupadd[7183]: group added to /etc/gshadow: name=rooter <86>Feb 19 09:23:02 groupadd[7183]: new group: name=rooter, GID=681 <86>Feb 19 09:23:02 useradd[7187]: new user: name=rooter, UID=681, GID=681, home=/root, shell=/bin/bash <86>Feb 19 09:23:02 userdel[7197]: delete user 'builder' <86>Feb 19 09:23:02 userdel[7197]: removed group 'builder' owned by 'builder' <86>Feb 19 09:23:02 userdel[7197]: removed shadow group 'builder' owned by 'builder' <86>Feb 19 09:23:02 groupadd[7207]: group added to /etc/group: name=builder, GID=682 <86>Feb 19 09:23:02 groupadd[7207]: group added to /etc/gshadow: name=builder <86>Feb 19 09:23:02 groupadd[7207]: new group: name=builder, GID=682 <86>Feb 19 09:23:02 useradd[7212]: new user: name=builder, UID=682, GID=682, home=/usr/src, shell=/bin/bash <13>Feb 19 09:23:06 rpmi: glibc-devel-static-6:2.27-alt8 sisyphus.219011.100 1547073625 installed <13>Feb 19 09:23:06 rpmi: gcc-c++-common-1.4.23-alt1 sisyphus.218115.200 1545282875 installed <13>Feb 19 09:23:06 rpmi: libstdc++8-devel-8.2.1-alt5 sisyphus+219286.200.2.1 1549854113 installed <13>Feb 19 09:23:07 rpmi: gcc8-c++-8.2.1-alt5 sisyphus+219286.200.2.1 1549854113 installed <13>Feb 19 09:23:08 rpmi: libstdc++8-devel-static-8.2.1-alt5 sisyphus+219286.200.2.1 1549854113 installed <13>Feb 19 09:23:08 rpmi: libstdc++-devel-static-8-alt1 sisyphus.214000.40 1542664792 installed <13>Feb 19 09:23:08 rpmi: gcc-c++-8-alt1 sisyphus.214000.40 1542664775 installed <13>Feb 19 09:23:08 rpmi: libgpm-devel-1.20.1-alt18.1 1521564369 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/bsign-0.4.5-alt1.nosrc.rpm Installing bsign-0.4.5-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.70234 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf bsign-0.4.5 + echo 'Source #0 (bsign-0.4.5.tar):' Source #0 (bsign-0.4.5.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/bsign-0.4.5.tar + cd bsign-0.4.5 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.70234 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd bsign-0.4.5 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS=' -march=i586 -mtune=generic' + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --without-included-gettext creating cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic ) works... yes checking whether the C compiler (gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for c++... c++ checking whether the C++ compiler (c++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic ) works... yes checking whether the C++ compiler (c++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic ) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether c++ accepts -g... yes checking whether ln -s works... yes checking whether make sets ${MAKE}... yes checking for a BSD compatible install... /bin/install -c checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking how to run the C++ preprocessor... c++ -E checking for ANSI C header files... yes checking for strncasecmp... yes checking for memcpy... yes checking for bcopy... yes checking for strcspn... yes checking for strncpy... yes checking for cfmakeraw... yes checking for vsnprintf... yes checking for vsprintf... yes checking for rindex... yes checking for strrchr... yes checking for fcntl.h... yes checking for unistd.h... yes checking for gpm.h... yes checking for malloc.h... yes checking for string.h... yes checking for strings.h... yes checking for off_t... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for tm_zone in struct tm... yes checking size of long... 0 checking size of int... 0 checking size of long long... 0 checking whether byte ordering is bigendian... no checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... no checking for vprintf... yes updating cache ./config.cache creating ./config.status creating Makefile creating config.h Run 'make' to build the application. + make -j8 make: Entering directory '/usr/src/RPM/BUILD/bsign-0.4.5' c++ -DHAVE_CONFIG_H -M main.cxx options.cxx sha1.c bsign.cxx conversion.cxx ds.cxx exec.cxx files.cxx tty.cxx exitstatus.cxx filewalk.cc signal.cc > depend.m make: Leaving directory '/usr/src/RPM/BUILD/bsign-0.4.5' make: Entering directory '/usr/src/RPM/BUILD/bsign-0.4.5' === Creating 'o/' output directory make: Leaving directory '/usr/src/RPM/BUILD/bsign-0.4.5' make: Entering directory '/usr/src/RPM/BUILD/bsign-0.4.5' c++ -c -g -DHAVE_CONFIG_H -o o/main.o main.cxx main.cxx:46:35: error: 'unsigned32' has not been declared extern "C" void sha_memory(void*, unsigned32, unsigned32*); ^~~~~~~~~~ main.cxx:46:47: error: 'unsigned32' has not been declared extern "C" void sha_memory(void*, unsigned32, unsigned32*); ^~~~~~~~~~ make: *** [Makefile:106: main.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/bsign-0.4.5' make: *** Waiting for unfinished jobs.... make: Entering directory '/usr/src/RPM/BUILD/bsign-0.4.5' c++ -c -g -DHAVE_CONFIG_H -o o/options.o options.cxx make: Leaving directory '/usr/src/RPM/BUILD/bsign-0.4.5' make: Entering directory '/usr/src/RPM/BUILD/bsign-0.4.5' c++ -c -g -DHAVE_CONFIG_H -o o/exec.o exec.cxx make: Leaving directory '/usr/src/RPM/BUILD/bsign-0.4.5' make: Entering directory '/usr/src/RPM/BUILD/bsign-0.4.5' c++ -c -g -DHAVE_CONFIG_H -o o/bsign.o bsign.cxx In file included from bsign.cxx:47: conversion.h:41:1: error: 'unsigned32' does not name a type; did you mean 'unsigned16'? unsigned32 _v (unsigned32 l); ^~~~~~~~~~ unsigned16 conversion.h:43:1: error: 'int32' does not name a type; did you mean 'int16'? int32 _v (int32 l); ^~~~~ int16 conversion.h:45:1: error: 'unsigned32' does not name a type; did you mean 'unsigned16'? unsigned32 _vl (unsigned32 l); ^~~~~~~~~~ unsigned16 conversion.h:47:1: error: 'int32' does not name a type; did you mean 'int16'? int32 _vl (int32 l); ^~~~~ int16 conversion.h:49:1: error: 'unsigned32' does not name a type; did you mean 'unsigned16'? unsigned32 _vm (unsigned32 l); ^~~~~~~~~~ unsigned16 conversion.h:51:1: error: 'int32' does not name a type; did you mean 'int16'? int32 _vm (int32 l); ^~~~~ int16 bsign.cxx:125:9: error: 'unsigned32' does not name a type; did you mean 'unsigned16'? typedef unsigned32 elf32; ^~~~~~~~~~ unsigned16 bsign.cxx:126:9: error: 'unsigned64' does not name a type; did you mean 'unsigned16'? typedef unsigned64 elf64; ^~~~~~~~~~ unsigned16 bsign.cxx:135:3: error: 'unsigned32' does not name a type; did you mean 'unsigned16'? unsigned32 version; ^~~~~~~~~~ unsigned16 bsign.cxx:136:3: error: 'elf32' does not name a type elf32 addrEntry; // Virtual address entry point ^~~~~ bsign.cxx:137:3: error: 'elf32' does not name a type elf32 ibHdrProgram; // Offset to program header ^~~~~ bsign.cxx:138:3: error: 'elf32' does not name a type elf32 ibHdrSection; // Offset to section header ^~~~~ bsign.cxx:139:3: error: 'unsigned32' does not name a type; did you mean 'unsigned16'? unsigned32 flags; // CPU specific flags ^~~~~~~~~~ unsigned16 bsign.cxx:155:3: error: 'unsigned32' does not name a type; did you mean 'unsigned16'? unsigned32 version; ^~~~~~~~~~ unsigned16 bsign.cxx:156:3: error: 'elf64' does not name a type elf64 addrEntry; // Virtual address entry point ^~~~~ bsign.cxx:157:3: error: 'elf64' does not name a type elf64 ibHdrProgram; // Offset to program header ^~~~~ bsign.cxx:158:3: error: 'elf64' does not name a type elf64 ibHdrSection; // Offset to section header ^~~~~ bsign.cxx:159:3: error: 'unsigned32' does not name a type; did you mean 'unsigned16'? unsigned32 flags; // CPU specific flags ^~~~~~~~~~ unsigned16 bsign.cxx:169:3: error: 'unsigned32' does not name a type; did you mean 'unsigned16'? unsigned32 programtype; ^~~~~~~~~~ unsigned16 bsign.cxx:170:3: error: 'unsigned32' does not name a type; did you mean 'unsigned16'? unsigned32 ib; ^~~~~~~~~~ unsigned16 bsign.cxx:171:3: error: 'unsigned32' does not name a type; did you mean 'unsigned16'? unsigned32 addrVirtual; ^~~~~~~~~~ unsigned16 bsign.cxx:172:3: error: 'unsigned32' does not name a type; did you mean 'unsigned16'? unsigned32 addrPhysical; ^~~~~~~~~~ unsigned16 bsign.cxx:173:3: error: 'unsigned32' does not name a type; did you mean 'unsigned16'? unsigned32 cbFile; ^~~~~~~~~~ unsigned16 bsign.cxx:174:3: error: 'unsigned32' does not name a type; did you mean 'unsigned16'? unsigned32 cbMemory; ^~~~~~~~~~ unsigned16 bsign.cxx:175:3: error: 'unsigned32' does not name a type; did you mean 'unsigned16'? unsigned32 flags; ^~~~~~~~~~ unsigned16 bsign.cxx:176:3: error: 'unsigned32' does not name a type; did you mean 'unsigned16'? unsigned32 alignment; ^~~~~~~~~~ unsigned16 bsign.cxx:180:3: error: 'unsigned32' does not name a type; did you mean 'unsigned16'? unsigned32 ibName; // Index to name of section ^~~~~~~~~~ unsigned16 bsign.cxx:181:3: error: 'unsigned32' does not name a type; did you mean 'unsigned16'? unsigned32 sectiontype; ^~~~~~~~~~ unsigned16 bsign.cxx:182:3: error: 'unsigned32' does not name a type; did you mean 'unsigned16'? unsigned32 flags; ^~~~~~~~~~ unsigned16 bsign.cxx:183:3: error: 'unsigned32' does not name a type; did you mean 'unsigned16'? unsigned32 addr; // Virtual address during execution ^~~~~~~~~~ unsigned16 bsign.cxx:184:3: error: 'unsigned32' does not name a type; did you mean 'unsigned16'? unsigned32 ib; // Offset to section data ^~~~~~~~~~ unsigned16 bsign.cxx:185:3: error: 'unsigned32' does not name a type; did you mean 'unsigned16'? unsigned32 cb; // Length of section data ^~~~~~~~~~ unsigned16 bsign.cxx:186:3: error: 'unsigned32' does not name a type; did you mean 'unsigned16'? unsigned32 iLink; // Index of another section (link?) ^~~~~~~~~~ unsigned16 bsign.cxx:187:3: error: 'unsigned32' does not name a type; did you mean 'unsigned16'? unsigned32 info; ^~~~~~~~~~ unsigned16 bsign.cxx:188:3: error: 'unsigned32' does not name a type; did you mean 'unsigned16'? unsigned32 alignment; ^~~~~~~~~~ unsigned16 bsign.cxx:189:3: error: 'unsigned32' does not name a type; did you mean 'unsigned16'? unsigned32 cbEntry; // Section table entry size, if applicable ^~~~~~~~~~ unsigned16 bsign.cxx:193:3: error: 'unsigned32' does not name a type; did you mean 'unsigned16'? unsigned32 ibName; // Index of symbol name ^~~~~~~~~~ unsigned16 bsign.cxx:194:3: error: 'unsigned32' does not name a type; did you mean 'unsigned16'? unsigned32 value; // Symbol value ^~~~~~~~~~ unsigned16 bsign.cxx:195:3: error: 'unsigned32' does not name a type; did you mean 'unsigned16'? unsigned32 cb; // Size of symbol ^~~~~~~~~~ unsigned16 bsign.cxx:204:3: error: 'unsigned32' does not name a type; did you mean 'unsigned16'? unsigned32 ib; // Original location ^~~~~~~~~~ unsigned16 bsign.cxx:205:3: error: 'unsigned32' does not name a type; did you mean 'unsigned16'? unsigned32 cb; // Original size ^~~~~~~~~~ unsigned16 bsign.cxx:206:3: error: 'unsigned32' does not name a type; did you mean 'unsigned16'? unsigned32 ibNew; // New location ^~~~~~~~~~ unsigned16 bsign.cxx:207:3: error: 'unsigned32' does not name a type; did you mean 'unsigned16'? unsigned32 cbNew; // New size ^~~~~~~~~~ unsigned16 bsign.cxx: In function 'bool is_elf(char*, size_t)': bsign.cxx:330:25: error: 'struct HDR_ELF32' has no member named 'ibHdrProgram'; did you mean 'cbEntryProgram'? || ( _v (header.ibHdrProgram) ^~~~~~~~~~~~ cbEntryProgram bsign.cxx:331:18: error: 'struct HDR_ELF32' has no member named 'ibHdrProgram'; did you mean 'cbEntryProgram'? && _v (header.ibHdrProgram) < sizeof (header)) ^~~~~~~~~~~~ cbEntryProgram bsign.cxx:332:21: error: 'struct HDR_ELF32' has no member named 'ibHdrProgram'; did you mean 'cbEntryProgram'? || _v (header.ibHdrProgram) >= cb ^~~~~~~~~~~~ cbEntryProgram bsign.cxx:333:21: error: 'struct HDR_ELF32' has no member named 'ibHdrSection'; did you mean 'cbEntrySection'? || _v (header.ibHdrSection) < sizeof (header) ^~~~~~~~~~~~ cbEntrySection bsign.cxx:334:21: error: 'struct HDR_ELF32' has no member named 'ibHdrSection'; did you mean 'cbEntrySection'? || _v (header.ibHdrSection) >= cb ^~~~~~~~~~~~ cbEntrySection bsign.cxx:345:21: error: 'struct HDR_ELF32' has no member named 'ibHdrProgram'; did you mean 'cbEntryProgram'? + _v (header.ibHdrProgram)); ^~~~~~~~~~~~ cbEntryProgram bsign.cxx:347:29: error: 'const struct PROGRAM_ELF32' has no member named 'ib' if ( _v (rgProgram[i].ib) >= cb ^~ bsign.cxx:348:22: error: 'const struct PROGRAM_ELF32' has no member named 'ib' || _v (rgProgram[i].ib) + _v (rgProgram[i].cbFile) > cb) ^~ bsign.cxx:348:45: error: 'const struct PROGRAM_ELF32' has no member named 'cbFile' || _v (rgProgram[i].ib) + _v (rgProgram[i].cbFile) > cb) ^~~~~~ bsign.cxx:352:21: error: 'struct HDR_ELF32' has no member named 'ibHdrSection'; did you mean 'cbEntrySection'? + _v (header.ibHdrSection)); ^~~~~~~~~~~~ cbEntrySection bsign.cxx:354:26: error: 'const struct SECTION_ELF32' has no member named 'sectiontype' if (_v (rgSection[i].sectiontype) != ELF_SECTION_NOBITS ^~~~~~~~~~~ bsign.cxx:355:23: error: 'const struct SECTION_ELF32' has no member named 'ib' && (_v (rgSection[i].ib) >= cb ^~ bsign.cxx:356:26: error: 'const struct SECTION_ELF32' has no member named 'ib' || _v (rgSection[i].ib) + _v (rgSection[i].cb) > cb)) ^~ bsign.cxx:356:49: error: 'const struct SECTION_ELF32' has no member named 'cb' || _v (rgSection[i].ib) + _v (rgSection[i].cb) > cb)) ^~ bsign.cxx: In function 'bool is_elf_header(const char*, size_t)': bsign.cxx:378:25: error: 'struct HDR_ELF32' has no member named 'ibHdrProgram'; did you mean 'cbEntryProgram'? || ( _v (header.ibHdrProgram) ^~~~~~~~~~~~ cbEntryProgram bsign.cxx:379:18: error: 'struct HDR_ELF32' has no member named 'ibHdrProgram'; did you mean 'cbEntryProgram'? && _v (header.ibHdrProgram) < sizeof (header)) ^~~~~~~~~~~~ cbEntryProgram bsign.cxx:380:21: error: 'struct HDR_ELF32' has no member named 'ibHdrSection'; did you mean 'cbEntrySection'? || _v (header.ibHdrSection) < sizeof (header) ^~~~~~~~~~~~ cbEntrySection bsign.cxx: In function 'bool is_elf_signed(char*, size_t, size_t*, size_t*)': bsign.cxx:409:38: error: 'const struct HDR_ELF32' has no member named 'ibHdrSection'; did you mean 'cbEntrySection'? = (SECTION_ELF32*) (pb + _v (hdr.ibHdrSection)); ^~~~~~~~~~~~ cbEntrySection bsign.cxx:412:26: error: 'const struct SECTION_ELF32' has no member named 'sectiontype' if (_v (rgSection[i].sectiontype) == unsigned32 (ELF_SECTION_SIGNATURE)) { ^~~~~~~~~~~ bsign.cxx:412:42: error: 'unsigned32' was not declared in this scope if (_v (rgSection[i].sectiontype) == unsigned32 (ELF_SECTION_SIGNATURE)) { ^~~~~~~~~~ bsign.cxx:412:42: note: suggested alternative: 'unsigned16' if (_v (rgSection[i].sectiontype) == unsigned32 (ELF_SECTION_SIGNATURE)) { ^~~~~~~~~~ unsigned16 bsign.cxx:414:35: error: 'const struct SECTION_ELF32' has no member named 'ib' *pibSignature = _v (rgSection[i].ib); ^~ bsign.cxx:416:35: error: 'const struct SECTION_ELF32' has no member named 'cb' *pcbSignature = _v (rgSection[i].cb); ^~ bsign.cxx: In function 'eExitStatus hash_elf(char*, size_t, int, bool)': bsign.cxx:498:18: error: 'FIXUP32' {aka 'struct _FIXUP'} has no member named 'cb' fixupSignature.cb = CB_SIGNATURE; ^~ bsign.cxx:510:22: error: 'FIXUP32' {aka 'struct _FIXUP'} has no member named 'ibNew' fixupSignature.ibNew, fixupSignature.cbNew, ^~~~~ bsign.cxx:510:44: error: 'FIXUP32' {aka 'struct _FIXUP'} has no member named 'cbNew' fixupSignature.ibNew, fixupSignature.cbNew, ^~~~~ bsign.cxx:515:34: error: 'FIXUP32' {aka 'struct _FIXUP'} has no member named 'ibNew' lseek (fhNew, fixupSignature.ibNew, SEEK_SET); ^~~~~ bsign.cxx: In function 'char* new_sectionnames32(char*, size_t, SECTION_ELF32&, SECTION_ELF32&)': bsign.cxx:538:14: error: 'struct SECTION_ELF32' has no member named 'ibName' sectionSig.ibName = sectionNames.cb; ^~~~~~ bsign.cxx:538:36: error: 'struct SECTION_ELF32' has no member named 'cb' sectionSig.ibName = sectionNames.cb; ^~ bsign.cxx:539:14: error: 'struct SECTION_ELF32' has no member named 'alignment' sectionSig.alignment = _v (unsigned32 (1)); ^~~~~~~~~ bsign.cxx:539:30: error: 'unsigned32' was not declared in this scope sectionSig.alignment = _v (unsigned32 (1)); ^~~~~~~~~~ bsign.cxx:539:30: note: suggested alternative: 'unsigned16' sectionSig.alignment = _v (unsigned32 (1)); ^~~~~~~~~~ unsigned16 bsign.cxx:540:14: error: 'struct SECTION_ELF32' has no member named 'sectiontype' sectionSig.sectiontype = _v (unsigned32 (ELF_SECTION_SIGNATURE)); ^~~~~~~~~~~ bsign.cxx:541:13: error: expected ';' before 'cbSectionNamesNew' unsigned32 cbSectionNamesNew = _v (sectionNames.cb) ^~~~~~~~~~~~~~~~~~ ; bsign.cxx:543:3: error: 'cbSectionNamesNew' was not declared in this scope cbSectionNamesNew = (cbSectionNamesNew + 3) & ~3; // Round to words ^~~~~~~~~~~~~~~~~ bsign.cxx:543:3: note: suggested alternative: 'sectionNames' cbSectionNamesNew = (cbSectionNamesNew + 3) & ~3; // Round to words ^~~~~~~~~~~~~~~~~ sectionNames bsign.cxx:546:37: error: 'struct SECTION_ELF32' has no member named 'ib' memcpy (sz, pb + _v (sectionNames.ib), _v (sectionNames.cb)); ^~ bsign.cxx:546:59: error: 'struct SECTION_ELF32' has no member named 'cb' memcpy (sz, pb + _v (sectionNames.ib), _v (sectionNames.cb)); ^~ bsign.cxx:547:33: error: 'struct SECTION_ELF32' has no member named 'cb' memcpy (sz + _v (sectionNames.cb), g_szSectionSig, sizeof (g_szSectionSig)); ^~ bsign.cxx:549:16: error: 'struct SECTION_ELF32' has no member named 'cb' sectionNames.cb = _v (cbSectionNamesNew); ^~ bsign.cxx: At global scope: bsign.cxx:555:27: error: 'unsigned32' does not name a type; did you mean 'unsigned16'? void fixup_range32 (const unsigned32& ibOld, const unsigned32& cbOld, ^~~~~~~~~~ unsigned16 bsign.cxx:555:52: error: 'unsigned32' does not name a type; did you mean 'unsigned16'? void fixup_range32 (const unsigned32& ibOld, const unsigned32& cbOld, ^~~~~~~~~~ unsigned16 bsign.cxx:556:7: error: 'unsigned32' has not been declared unsigned32& ib, unsigned32& cb, const FIXUP32& fixup) ^~~~~~~~~~ bsign.cxx:556:23: error: 'unsigned32' has not been declared unsigned32& ib, unsigned32& cb, const FIXUP32& fixup) ^~~~~~~~~~ bsign.cxx: In function 'void fixup_range32(const int&, const int&, int&, int&, const FIXUP32&)': bsign.cxx:559:13: error: 'const FIXUP32' {aka 'const struct _FIXUP'} has no member named 'ib' if (fixup.ib >= _v (ibOld) + _v (cbOld)) ^~ bsign.cxx:559:28: error: call of overloaded '_v(const int&)' is ambiguous if (fixup.ib >= _v (ibOld) + _v (cbOld)) ^ In file included from bsign.cxx:47: conversion.h:42:12: note: candidate: 'unsigned16 _v(unsigned16)' unsigned16 _v (unsigned16 s); ^~ conversion.h:44:7: note: candidate: 'int16 _v(int16)' int16 _v (int16 s); ^~ bsign.cxx:559:41: error: call of overloaded '_v(const int&)' is ambiguous if (fixup.ib >= _v (ibOld) + _v (cbOld)) ^ In file included from bsign.cxx:47: conversion.h:42:12: note: candidate: 'unsigned16 _v(unsigned16)' unsigned16 _v (unsigned16 s); ^~ conversion.h:44:7: note: candidate: 'int16 _v(int16)' int16 _v (int16 s); ^~ bsign.cxx:563:16: error: call of overloaded '_v(const int&)' is ambiguous if (_v (ibOld) >= fixup.ib + fixup.cb) { ^ In file included from bsign.cxx:47: conversion.h:42:12: note: candidate: 'unsigned16 _v(unsigned16)' unsigned16 _v (unsigned16 s); ^~ conversion.h:44:7: note: candidate: 'int16 _v(int16)' int16 _v (int16 s); ^~ bsign.cxx:563:27: error: 'const FIXUP32' {aka 'const struct _FIXUP'} has no member named 'ib' if (_v (ibOld) >= fixup.ib + fixup.cb) { ^~ bsign.cxx:563:38: error: 'const FIXUP32' {aka 'const struct _FIXUP'} has no member named 'cb' if (_v (ibOld) >= fixup.ib + fixup.cb) { ^~ bsign.cxx:564:17: error: 'const FIXUP32' {aka 'const struct _FIXUP'} has no member named 'cbNew' ib += fixup.cbNew - fixup.cb; ^~~~~ bsign.cxx:564:31: error: 'const FIXUP32' {aka 'const struct _FIXUP'} has no member named 'cb' ib += fixup.cbNew - fixup.cb; ^~ In file included from bsign.cxx:40: bsign.cxx:569:17: error: 'const FIXUP32' {aka 'const struct _FIXUP'} has no member named 'ib' assert (fixup.ib >= _v (ibOld)); ^~ bsign.cxx:569:32: error: call of overloaded '_v(const int&)' is ambiguous assert (fixup.ib >= _v (ibOld)); ^ In file included from bsign.cxx:47: conversion.h:42:12: note: candidate: 'unsigned16 _v(unsigned16)' unsigned16 _v (unsigned16 s); ^~ conversion.h:44:7: note: candidate: 'int16 _v(int16)' int16 _v (int16 s); ^~ bsign.cxx:577:15: error: 'const FIXUP32' {aka 'const struct _FIXUP'} has no member named 'cbNew' cb += fixup.cbNew - fixup.cb; ^~~~~ bsign.cxx:577:29: error: 'const FIXUP32' {aka 'const struct _FIXUP'} has no member named 'cb' cb += fixup.cbNew - fixup.cb; ^~ bsign.cxx: At global scope: bsign.cxx:596:1: error: 'unsigned32' does not name a type; did you mean 'unsigned16'? unsigned32 fixup_fixups32 (FIXUP32* pFixupHead) ^~~~~~~~~~ unsigned16 bsign.cxx: In function 'void fixup_elf32_programs(const HDR_ELF32&, PROGRAM_ELF32*, const PROGRAM_ELF32*, const FIXUP32*)': bsign.cxx:620:45: error: 'const struct PROGRAM_ELF32' has no member named 'ib' fixup_range32 (rgProgramOld[iProgram].ib, rgProgramOld[iProgram].cbFile, ^~ bsign.cxx:620:72: error: 'const struct PROGRAM_ELF32' has no member named 'cbFile' fixup_range32 (rgProgramOld[iProgram].ib, rgProgramOld[iProgram].cbFile, ^~~~~~ bsign.cxx:621:28: error: 'struct PROGRAM_ELF32' has no member named 'ib' rgProgram[iProgram].ib, rgProgram[iProgram].cbFile, ^~ bsign.cxx:621:52: error: 'struct PROGRAM_ELF32' has no member named 'cbFile' rgProgram[iProgram].ib, rgProgram[iProgram].cbFile, ^~~~~~ bsign.cxx: In function 'void fixup_elf32_sections(const HDR_ELF32&, SECTION_ELF32*, const SECTION_ELF32*, const FIXUP32*)': bsign.cxx:632:45: error: 'const struct SECTION_ELF32' has no member named 'ib' fixup_range32 (rgSectionOld[iSection].ib, rgSectionOld[iSection].cb, ^~ bsign.cxx:632:72: error: 'const struct SECTION_ELF32' has no member named 'cb' fixup_range32 (rgSectionOld[iSection].ib, rgSectionOld[iSection].cb, ^~ bsign.cxx:633:28: error: 'struct SECTION_ELF32' has no member named 'ib' rgSection[iSection].ib, rgSection[iSection].cb, ^~ bsign.cxx:633:52: error: 'struct SECTION_ELF32' has no member named 'cb' rgSection[iSection].ib, rgSection[iSection].cb, ^~ bsign.cxx: In function 'void fixup_elf32_header(HDR_ELF32&, const HDR_ELF32&, const FIXUP32*)': bsign.cxx:641:5: error: 'unsigned32' was not declared in this scope unsigned32 cbOld; ^~~~~~~~~~ bsign.cxx:641:5: note: suggested alternative: 'unsigned16' unsigned32 cbOld; ^~~~~~~~~~ unsigned16 bsign.cxx:642:15: error: expected ';' before 'cb' unsigned32 cb; ^~~ ; bsign.cxx:645:7: error: 'cbOld' was not declared in this scope cbOld = _v (unsigned32 (_v (hdrOld.cbEntryProgram) ^~~~~ bsign.cxx:645:7: note: suggested alternative: 'hdrOld' cbOld = _v (unsigned32 (_v (hdrOld.cbEntryProgram) ^~~~~ hdrOld bsign.cxx:647:7: error: 'cb' was not declared in this scope cb = _v (unsigned32 (_v (hdr.cbEntryProgram)*_v (hdr.cEntryProgram))); ^~ bsign.cxx:648:29: error: 'const struct HDR_ELF32' has no member named 'ibHdrProgram'; did you mean 'cbEntryProgram'? fixup_range32 (hdrOld.ibHdrProgram, cbOld, ^~~~~~~~~~~~ cbEntryProgram bsign.cxx:649:12: error: 'struct HDR_ELF32' has no member named 'ibHdrProgram'; did you mean 'cbEntryProgram'? hdr.ibHdrProgram, cb, *pFixup); ^~~~~~~~~~~~ cbEntryProgram bsign.cxx:652:5: error: 'cbOld' was not declared in this scope cbOld = _v (unsigned32 (_v (hdrOld.cbEntrySection) ^~~~~ bsign.cxx:652:5: note: suggested alternative: 'hdrOld' cbOld = _v (unsigned32 (_v (hdrOld.cbEntrySection) ^~~~~ hdrOld bsign.cxx:654:5: error: 'cb' was not declared in this scope cb = _v (unsigned32 (_v (hdr.cbEntrySection)*_v (hdr.cEntrySection))); ^~ bsign.cxx:655:27: error: 'const struct HDR_ELF32' has no member named 'ibHdrSection'; did you mean 'cbEntrySection'? fixup_range32 (hdrOld.ibHdrSection, cbOld, hdr.ibHdrSection, cb, *pFixup); ^~~~~~~~~~~~ cbEntrySection bsign.cxx:655:52: error: 'struct HDR_ELF32' has no member named 'ibHdrSection'; did you mean 'cbEntrySection'? fixup_range32 (hdrOld.ibHdrSection, cbOld, hdr.ibHdrSection, cb, *pFixup); ^~~~~~~~~~~~ cbEntrySection bsign.cxx: In function 'void report_elf32(const HDR_ELF32&, const SECTION_ELF32*)': bsign.cxx:663:13: error: 'const struct HDR_ELF32' has no member named 'ibHdrProgram'; did you mean 'cbEntryProgram'? _v (hdr.ibHdrProgram), ^~~~~~~~~~~~ cbEntryProgram bsign.cxx:666:13: error: 'const struct HDR_ELF32' has no member named 'ibHdrSection'; did you mean 'cbEntrySection'? _v (hdr.ibHdrSection), ^~~~~~~~~~~~ cbEntrySection bsign.cxx:670:24: error: 'const struct SECTION_ELF32' has no member named 'ib' _v (rgSection[i].ib), ^~ bsign.cxx:671:24: error: 'const struct SECTION_ELF32' has no member named 'cb' _v (rgSection[i].cb), i); ^~ bsign.cxx: In function 'void report_fixup(const FIXUP32*)': bsign.cxx:678:13: error: 'const FIXUP32' {aka 'const struct _FIXUP'} has no member named 'ib' pFixup->ib, pFixup->cb, pFixup->ib + pFixup->cb, ^~ bsign.cxx:678:25: error: 'const FIXUP32' {aka 'const struct _FIXUP'} has no member named 'cb' pFixup->ib, pFixup->cb, pFixup->ib + pFixup->cb, ^~ bsign.cxx:678:37: error: 'const FIXUP32' {aka 'const struct _FIXUP'} has no member named 'ib' pFixup->ib, pFixup->cb, pFixup->ib + pFixup->cb, ^~ bsign.cxx:678:50: error: 'const FIXUP32' {aka 'const struct _FIXUP'} has no member named 'cb' pFixup->ib, pFixup->cb, pFixup->ib + pFixup->cb, ^~ bsign.cxx:679:13: error: 'const FIXUP32' {aka 'const struct _FIXUP'} has no member named 'ibNew' pFixup->ibNew, pFixup->cbNew, pFixup->ibNew + pFixup->cbNew, ^~~~~ bsign.cxx:679:28: error: 'const FIXUP32' {aka 'const struct _FIXUP'} has no member named 'cbNew' pFixup->ibNew, pFixup->cbNew, pFixup->ibNew + pFixup->cbNew, ^~~~~ bsign.cxx:679:43: error: 'const FIXUP32' {aka 'const struct _FIXUP'} has no member named 'ibNew' pFixup->ibNew, pFixup->cbNew, pFixup->ibNew + pFixup->cbNew, ^~~~~ bsign.cxx:679:59: error: 'const FIXUP32' {aka 'const struct _FIXUP'} has no member named 'cbNew' pFixup->ibNew, pFixup->cbNew, pFixup->ibNew + pFixup->cbNew, ^~~~~ bsign.cxx: In function 'size_t rewrite_elf32(char*, size_t, int, FIXUP32&)': bsign.cxx:725:41: error: 'const struct HDR_ELF32' has no member named 'ibHdrSection'; did you mean 'cbEntrySection'? = (SECTION_ELF32*) (pb + _v (hdrOld.ibHdrSection)); ^~~~~~~~~~~~ cbEntrySection bsign.cxx:734:29: error: 'const struct SECTION_ELF32' has no member named 'sectiontype' if (_v (rgSectionOld[i].sectiontype) ^~~~~~~~~~~ bsign.cxx:735:5: error: 'unsigned32' was not declared in this scope == unsigned32 (ELF_SECTION_SIGNATURE)) { ^~~~~~~~~~ bsign.cxx:735:5: note: suggested alternative: 'unsigned16' == unsigned32 (ELF_SECTION_SIGNATURE)) { ^~~~~~~~~~ unsigned16 bsign.cxx:736:25: error: 'FIXUP32' {aka 'struct _FIXUP'} has no member named 'ib' fixupOldSignature.ib = _v (rgSectionOld[i].ib); ^~ bsign.cxx:736:50: error: 'const struct SECTION_ELF32' has no member named 'ib' fixupOldSignature.ib = _v (rgSectionOld[i].ib); ^~ bsign.cxx:737:25: error: 'FIXUP32' {aka 'struct _FIXUP'} has no member named 'cb' fixupOldSignature.cb = _v (rgSectionOld[i].cb); ^~ bsign.cxx:737:50: error: 'const struct SECTION_ELF32' has no member named 'cb' fixupOldSignature.cb = _v (rgSectionOld[i].cb); ^~ bsign.cxx:743:21: error: 'FIXUP32' {aka 'struct _FIXUP'} has no member named 'ibNew' fixupOldSignature.ibNew = fixupOldSignature.ib; ^~~~~ bsign.cxx:743:47: error: 'FIXUP32' {aka 'struct _FIXUP'} has no member named 'ib' fixupOldSignature.ibNew = fixupOldSignature.ib; ^~ bsign.cxx:745:25: error: 'FIXUP32' {aka 'struct _FIXUP'} has no member named 'cb' if (fixupOldSignature.cb >= fixupSignature.cb) { ^~ bsign.cxx:745:46: error: 'FIXUP32' {aka 'struct _FIXUP'} has no member named 'cb' if (fixupOldSignature.cb >= fixupSignature.cb) { ^~ bsign.cxx:746:42: error: 'FIXUP32' {aka 'struct _FIXUP'} has no member named 'cb' void* pv = malloc (fixupOldSignature.cb); ^~ bsign.cxx:747:38: error: 'FIXUP32' {aka 'struct _FIXUP'} has no member named 'cb' memset (pv, 0, fixupOldSignature.cb); ^~ bsign.cxx:748:38: error: 'FIXUP32' {aka 'struct _FIXUP'} has no member named 'ib' write (fh, pb, fixupOldSignature.ib); ^~ bsign.cxx:749:38: error: 'FIXUP32' {aka 'struct _FIXUP'} has no member named 'cb' write (fh, pv, fixupOldSignature.cb); ^~ bsign.cxx:750:39: error: 'FIXUP32' {aka 'struct _FIXUP'} has no member named 'ib' write (fh, pb + fixupOldSignature.ib + fixupOldSignature.cb, ^~ bsign.cxx:750:62: error: 'FIXUP32' {aka 'struct _FIXUP'} has no member named 'cb' write (fh, pb + fixupOldSignature.ib + fixupOldSignature.cb, ^~ bsign.cxx:751:28: error: 'FIXUP32' {aka 'struct _FIXUP'} has no member named 'ib' cb - fixupOldSignature.ib - fixupOldSignature.cb); ^~ bsign.cxx:751:51: error: 'FIXUP32' {aka 'struct _FIXUP'} has no member named 'cb' cb - fixupOldSignature.ib - fixupOldSignature.cb); ^~ bsign.cxx:754:20: error: 'FIXUP32' {aka 'struct _FIXUP'} has no member named 'cbNew' fixupSignature.cbNew = fixupOldSignature.cb; ^~~~~ bsign.cxx:754:46: error: 'FIXUP32' {aka 'struct _FIXUP'} has no member named 'cb' fixupSignature.cbNew = fixupOldSignature.cb; ^~ bsign.cxx:761:38: error: 'struct HDR_ELF32' has no member named 'ibHdrProgram'; did you mean 'cbEntryProgram'? = (PROGRAM_ELF32*) (pb + _v (hdr.ibHdrProgram)); ^~~~~~~~~~~~ cbEntryProgram bsign.cxx:763:11: error: 'struct HDR_ELF32' has no member named 'ibHdrProgram'; did you mean 'cbEntryProgram'? = hdr.ibHdrProgram ? new PROGRAM_ELF32[_v (hdr.ibHdrProgram)] : NULL; ^~~~~~~~~~~~ cbEntryProgram bsign.cxx:763:52: error: 'struct HDR_ELF32' has no member named 'ibHdrProgram'; did you mean 'cbEntryProgram'? = hdr.ibHdrProgram ? new PROGRAM_ELF32[_v (hdr.ibHdrProgram)] : NULL; ^~~~~~~~~~~~ cbEntryProgram bsign.cxx:784:55: error: 'unsigned32' was not declared in this scope hdr.cEntrySection = _v (_v (hdr.cEntrySection) + (unsigned32) 1); ^~~~~~~~~~ bsign.cxx:784:55: note: suggested alternative: 'unsigned16' hdr.cEntrySection = _v (_v (hdr.cEntrySection) + (unsigned32) 1); ^~~~~~~~~~ unsigned16 bsign.cxx:789:11: error: 'FIXUP32' {aka 'struct _FIXUP'} has no member named 'ib' pFixup->ib = _v (rgSectionOld[_v (hdr.iSectionNames)].ib); ^~ bsign.cxx:789:58: error: 'const struct SECTION_ELF32' has no member named 'ib' pFixup->ib = _v (rgSectionOld[_v (hdr.iSectionNames)].ib); ^~ bsign.cxx:790:11: error: 'FIXUP32' {aka 'struct _FIXUP'} has no member named 'cb' pFixup->cb = _v (rgSectionOld[_v (hdr.iSectionNames)].cb); ^~ bsign.cxx:790:58: error: 'const struct SECTION_ELF32' has no member named 'cb' pFixup->cb = _v (rgSectionOld[_v (hdr.iSectionNames)].cb); ^~ bsign.cxx:791:11: error: 'FIXUP32' {aka 'struct _FIXUP'} has no member named 'cbNew' pFixup->cbNew = _v (rgSection[_v (hdr.iSectionNames)].cb); ^~~~~ bsign.cxx:791:58: error: 'struct SECTION_ELF32' has no member named 'cb' pFixup->cbNew = _v (rgSection[_v (hdr.iSectionNames)].cb); ^~ bsign.cxx:800:11: error: 'FIXUP32' {aka 'struct _FIXUP'} has no member named 'ib' pFixup->ib = _v (hdrOld.ibHdrSection); ^~ bsign.cxx:800:28: error: 'const struct HDR_ELF32' has no member named 'ibHdrSection'; did you mean 'cbEntrySection'? pFixup->ib = _v (hdrOld.ibHdrSection); ^~~~~~~~~~~~ cbEntrySection bsign.cxx:801:11: error: 'FIXUP32' {aka 'struct _FIXUP'} has no member named 'cb' pFixup->cb = _v (hdrOld.cEntrySection)*_v (hdrOld.cbEntrySection); ^~ bsign.cxx:802:11: error: 'FIXUP32' {aka 'struct _FIXUP'} has no member named 'cbNew' pFixup->cbNew = _v (hdr.cEntrySection)*_v (hdr.cbEntrySection); ^~~~~ bsign.cxx:811:13: error: 'FIXUP32' {aka 'struct _FIXUP'} has no member named 'ib' pFixup->ib = _v (hdrOld.ibHdrProgram); ^~ bsign.cxx:811:30: error: 'const struct HDR_ELF32' has no member named 'ibHdrProgram'; did you mean 'cbEntryProgram'? pFixup->ib = _v (hdrOld.ibHdrProgram); ^~~~~~~~~~~~ cbEntryProgram bsign.cxx:812:13: error: 'FIXUP32' {aka 'struct _FIXUP'} has no member named 'cb' pFixup->cb = _v (hdrOld.cEntryProgram)*_v (hdrOld.cbEntryProgram); ^~ bsign.cxx:813:13: error: 'FIXUP32' {aka 'struct _FIXUP'} has no member named 'cbNew' pFixup->cbNew = _v (hdr.cEntryProgram)*_v (hdr.cbEntryProgram); ^~~~~ bsign.cxx:822:11: error: 'FIXUP32' {aka 'struct _FIXUP'} has no member named 'ib' pFixup->ib = 0; ^~ bsign.cxx:823:11: error: 'FIXUP32' {aka 'struct _FIXUP'} has no member named 'cb' pFixup->cb = sizeof (hdr); ^~ bsign.cxx:824:11: error: 'FIXUP32' {aka 'struct _FIXUP'} has no member named 'cbNew' pFixup->cbNew = sizeof (hdr); ^~~~~ bsign.cxx:829:25: error: 'FIXUP32' {aka 'struct _FIXUP'} has no member named 'cb' if (fixupOldSignature.cb) { ^~ bsign.cxx:841:11: error: 'FIXUP32' {aka 'struct _FIXUP'} has no member named 'ib' pFixup->ib = cb; ^~ bsign.cxx:842:11: error: 'FIXUP32' {aka 'struct _FIXUP'} has no member named 'cb' pFixup->cb = 0; ^~ bsign.cxx:843:11: error: 'FIXUP32' {aka 'struct _FIXUP'} has no member named 'cbNew' pFixup->cbNew = fixupSignature.cb; ^~~~~ bsign.cxx:843:35: error: 'FIXUP32' {aka 'struct _FIXUP'} has no member named 'cb' pFixup->cbNew = fixupSignature.cb; ^~ bsign.cxx:844:33: error: 'FIXUP32' {aka 'struct _FIXUP'} has no member named 'cbNew' pFixup->pv = malloc (pFixup->cbNew); ^~~~~ bsign.cxx:846:34: error: 'FIXUP32' {aka 'struct _FIXUP'} has no member named 'cbNew' memset (pFixup->pv, 0, pFixup->cbNew); ^~~~~ bsign.cxx:851:3: error: 'unsigned32' was not declared in this scope unsigned32 cbNew = fixup_fixups32 (pFixupHead) + cb; ^~~~~~~~~~ bsign.cxx:851:3: note: suggested alternative: 'unsigned16' unsigned32 cbNew = fixup_fixups32 (pFixupHead) + cb; ^~~~~~~~~~ unsigned16 bsign.cxx:858:14: error: 'struct SECTION_ELF32' has no member named 'ib' sectionSig.ib = pFixupHead->ibNew; ^~ bsign.cxx:858:31: error: 'FIXUP32' {aka 'struct _FIXUP'} has no member named 'ibNew' sectionSig.ib = pFixupHead->ibNew; ^~~~~ bsign.cxx:859:14: error: 'struct SECTION_ELF32' has no member named 'cb' sectionSig.cb = pFixupHead->cbNew; ^~ bsign.cxx:859:31: error: 'FIXUP32' {aka 'struct _FIXUP'} has no member named 'cbNew' sectionSig.cb = pFixupHead->cbNew; ^~~~~ bsign.cxx:865:13: error: expected ';' before 'ib' unsigned32 ib = 0; ^~~ ; bsign.cxx:866:13: error: expected ';' before 'ibFile' unsigned32 ibFile = 0; ^~~~~~~ ; bsign.cxx:867:10: error: 'ib' was not declared in this scope while (ib < cbNew) { ^~ bsign.cxx:867:10: note: suggested alternative: 'pb' while (ib < cbNew) { ^~ pb bsign.cxx:867:15: error: 'cbNew' was not declared in this scope while (ib < cbNew) { ^~~~~ bsign.cxx:870:19: error: 'FIXUP32' {aka 'struct _FIXUP'} has no member named 'ibNew' if (pFixup->ibNew >= ib ^~~~~ bsign.cxx:871:38: error: 'FIXUP32' {aka 'struct _FIXUP'} has no member named 'ibNew' && (pFixupNext == NULL || pFixup->ibNew < pFixupNext->ibNew)) ^~~~~ bsign.cxx:871:58: error: 'FIXUP32' {aka 'struct _FIXUP'} has no member named 'ibNew' && (pFixupNext == NULL || pFixup->ibNew < pFixupNext->ibNew)) ^~~~~ bsign.cxx:874:15: error: expected ';' before 'cbWrite' unsigned32 cbWrite; ^~~~~~~~ ; bsign.cxx:875:35: error: 'FIXUP32' {aka 'struct _FIXUP'} has no member named 'ibNew' if (pFixupNext && pFixupNext->ibNew == ib) { ^~~~~ bsign.cxx:877:7: error: 'cbWrite' was not declared in this scope cbWrite = write (fh, pFixupNext->pv, pFixupNext->cbNew); ^~~~~~~ bsign.cxx:877:7: note: suggested alternative: 'cbWritten' cbWrite = write (fh, pFixupNext->pv, pFixupNext->cbNew); ^~~~~~~ cbWritten bsign.cxx:877:56: error: 'FIXUP32' {aka 'struct _FIXUP'} has no member named 'cbNew' cbWrite = write (fh, pFixupNext->pv, pFixupNext->cbNew); ^~~~~ bsign.cxx:878:34: error: 'FIXUP32' {aka 'struct _FIXUP'} has no member named 'cbNew' if (cbWrite != pFixupNext->cbNew) { ^~~~~ bsign.cxx:882:7: error: 'ibFile' was not declared in this scope ibFile += pFixupNext->cb; ^~~~~~ bsign.cxx:882:29: error: 'FIXUP32' {aka 'struct _FIXUP'} has no member named 'cb' ibFile += pFixupNext->cb; ^~ bsign.cxx:885:45: error: 'FIXUP32' {aka 'struct _FIXUP'} has no member named 'ibNew' size_t cb = (pFixupNext ? pFixupNext->ibNew : cbNew) - ib; ^~~~~ bsign.cxx:887:7: error: 'cbWrite' was not declared in this scope cbWrite = write (fh, pb + ibFile, cb); ^~~~~~~ bsign.cxx:887:7: note: suggested alternative: 'cbWritten' cbWrite = write (fh, pb + ibFile, cb); ^~~~~~~ cbWritten bsign.cxx:887:33: error: 'ibFile' was not declared in this scope cbWrite = write (fh, pb + ibFile, cb); ^~~~~~ bsign.cxx:894:18: error: 'cbWrite' was not declared in this scope cbWritten += cbWrite; ^~~~~~~ bsign.cxx:894:18: note: suggested alternative: 'cbWritten' cbWritten += cbWrite; ^~~~~~~ cbWritten make: *** [Makefile:105: bsign.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/bsign-0.4.5' make: Entering directory '/usr/src/RPM/BUILD/bsign-0.4.5' c++ -c -g -DHAVE_CONFIG_H -o o/conversion.o conversion.cxx conversion.cxx:46:1: error: 'unsigned32' does not name a type; did you mean 'unsigned16'? unsigned32 _v (unsigned32 l) ^~~~~~~~~~ unsigned16 conversion.cxx:56:1: error: 'unsigned32' does not name a type; did you mean 'unsigned16'? unsigned32 _vl (unsigned32 l) ^~~~~~~~~~ unsigned16 conversion.cxx:68:1: error: 'unsigned32' does not name a type; did you mean 'unsigned16'? unsigned32 _vm (unsigned32 l) ^~~~~~~~~~ unsigned16 conversion.cxx:105:1: error: 'int32' does not name a type; did you mean 'int16'? int32 _v (int32 l) ^~~~~ int16 conversion.cxx:115:1: error: 'int32' does not name a type; did you mean 'int16'? int32 _vl (int32 l) ^~~~~ int16 conversion.cxx:127:1: error: 'int32' does not name a type; did you mean 'int16'? int32 _vm (int32 l) ^~~~~ int16 make: *** [Makefile:105: conversion.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/bsign-0.4.5' make: Entering directory '/usr/src/RPM/BUILD/bsign-0.4.5' gcc -c -g -DHAVE_CONFIG_H -o o/sha1.o sha1.c sha1.c:48:13: error: unknown type name 'unsigned32' #define u32 unsigned32 ^~~~~~~~~~ sha1.c:53:5: note: in expansion of macro 'u32' u32 h0,h1,h2,h3,h4; ^~~ sha1.c:48:13: error: unknown type name 'unsigned32' #define u32 unsigned32 ^~~~~~~~~~ sha1.c:54:5: note: in expansion of macro 'u32' u32 nblocks; ^~~ sha1.c:48:13: error: unknown type name 'unsigned32' #define u32 unsigned32 ^~~~~~~~~~ sha1.c:61:15: note: in expansion of macro 'u32' static inline u32 ^~~ sha1.c:48:13: error: unknown type name 'unsigned32'; did you mean 'unsigned16'? #define u32 unsigned32 ^~~~~~~~~~ sha1.c:62:12: note: in expansion of macro 'u32' rol(int n, u32 x) ^~~ sha1.c: In function 'transform': sha1.c:48:13: error: unknown type name 'unsigned32'; did you mean 'unsigned16'? #define u32 unsigned32 ^~~~~~~~~~ sha1.c:95:5: note: in expansion of macro 'u32' u32 a,b,c,d,e,tm; ^~~ sha1.c:48:13: error: unknown type name 'unsigned32'; did you mean 'unsigned16'? #define u32 unsigned32 ^~~~~~~~~~ sha1.c:96:5: note: in expansion of macro 'u32' u32 x[16]; ^~~ sha1.c:134:39: warning: implicit declaration of function 'rol'; did you mean 'atol'? [-Wimplicit-function-declaration] #define R(a,b,c,d,e,f,k,m) do { e += rol( 5, a ) \ ^~~ sha1.c:140:5: note: in expansion of macro 'R' R( a, b, c, d, e, F1, K1, x[ 0] ); ^ sha1.c: In function 'sha1_final': sha1.c:48:13: error: unknown type name 'unsigned32'; did you mean 'unsigned16'? #define u32 unsigned32 ^~~~~~~~~~ sha1.c:273:5: note: in expansion of macro 'u32' u32 t, msb, lsb; ^~~ make: *** [Makefile:97: sha1.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/bsign-0.4.5' make: Entering directory '/usr/src/RPM/BUILD/bsign-0.4.5' c++ -c -g -DHAVE_CONFIG_H -o o/ds.o ds.cxx make: Leaving directory '/usr/src/RPM/BUILD/bsign-0.4.5' make: Entering directory '/usr/src/RPM/BUILD/bsign-0.4.5' c++ -c -g -DHAVE_CONFIG_H -o o/files.o files.cxx make: Leaving directory '/usr/src/RPM/BUILD/bsign-0.4.5' error: Bad exit status from /usr/src/tmp/rpm-tmp.70234 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.70234 (%build) Command exited with non-zero status 1 3.54user 1.38system 0:04.74elapsed 103%CPU (0avgtext+0avgdata 20684maxresident)k 0inputs+0outputs (0major+240903minor)pagefaults 0swaps hsh-rebuild: rebuild of `bsign-0.4.5-alt1.src.rpm' failed. Command exited with non-zero status 1 16.05user 3.95system 0:20.83elapsed 96%CPU (0avgtext+0avgdata 121784maxresident)k 18896inputs+0outputs (0major+606265minor)pagefaults 0swaps