07-24-2008
c++ compilation errors
Hello every one,
while compiling c++ modules.
i am getting the following 2 errors.
1)
/root/cc/unix-ce/root/subsys/cb/cdbh/include/cdbh_TransferFileHeader.h:111: error: âulong_tâ does not name a type
/root/cc/unix-ce/root/subsys/cb/cdbh/include/cdbh_TransferFileHeader.h:118: error: âulong_tâ does not name a type
cdbh_InfoFile.C: In static member function âstatic bool cdbh_InfoFile::checkIFReadable()â:
cdbh_InfoFile.C:97: error: âerrnoâ was not declared in this scope
cdbh_InfoFile.C:98: error: âENOENTâ was not declared in this scope
cdbh_InfoFile.C: In member function âvoid cdbh_InfoFile::updateOldestTFDate(const cdbh_TransferFileHeader*)â:
cdbh_InfoFile.C:172: error: âconst class cdbh_TransferFileHeaderâ has no member named âgetNumberOfRecordsâ
cdbh_InfoFile.C:182: error: âconst class cdbh_TransferFileHeaderâ has no member named âgetNumberOfRecordsâ
cdbh_InfoFile.C: In member function âvoid cdbh_InfoFile::updateYoungestTFDate(const cdbh_TransferFileHeader*)â:
cdbh_InfoFile.C:209: error: âconst class cdbh_TransferFileHeaderâ has no member named âgetNumberOfRecordsâ
cdbh_InfoFile.C: In constructor âcdbh_InfoFile::cdbh_InfoFile(const std::list<cdbh_TransferFileHeader*, std::allocator<cdbh_TransferFileHeader*> >*, std::string&)â:
cdbh_InfoFile.C:269: error: âulong_tâ was not declared in this scope
cdbh_InfoFile.C:269: error: expected `;' before âhourâ
cdbh_InfoFile.C:271: error: âhourâ was not declared in this scope
cdbh_InfoFile.C:272: error: âminuteâ was not declared in this scope
cdbh_InfoFile.C: In member function âvoid cdbh_InfoFile::updateEntryList(const cdbh_TransferFileHeader&)â:
cdbh_InfoFile.C:338: error: âconst class cdbh_TransferFileHeaderâ has no member named âgetNumberOfRecordsâ
cdbh_InfoFile.C:358: error: âconst class cdbh_TransferFileHeaderâ has no member named âgetNumberOfRecordsâ
cdbh_InfoFile.C: In member function âstd::string cdbh_InfoFile::removeTFData(const cdbh_TransferFileHeader*)â:
cdbh_InfoFile.C:428: error: âconst class cdbh_TransferFileHeaderâ has no member named âgetNumberOfRecordsâ
cdbh_InfoFile.C:437: error: âconst class cdbh_TransferFileHeaderâ has no member named âgetNumberOfRecordsâ
*** Error code 1
clearmake: Error: Build script failed for "/root/cc/unix-ce/root/subsys/cb/cdbh/obj_0000/Linux//cdbh_InfoFile.o"
2)
Warning: Semantic checking prevented by other reported errors
/opt/dce/bin/idl: File /root/cc/unix-ce/root/subsys/cb/cdbm/idl/cdbm_0000.idl, line 36: [out] cdbm_t_cdbOccupancy**o1_occupancy,
Name not found: cdbm_t_cdbOccupancy
/opt/dce/bin/idl: File /root/cc/unix-ce/root/subsys/cb/cdbm/idl/cdbm_0000.idl, line 42: [out] cdbm_t_diskQuota** o1_occupancy,
Name not found: cdbm_t_diskQuota
make: *** [/root/cc/unix-ce/root/subsys/cb/cdbm/obj_0000/Linux//cdbm_0000.h] Error 3
for the second error i checked cdbm_t_cdbOccupancy & cdbm_t_diskQuota are available in the specified path.
can some of u suggest a way to solve these 2 errors.
kind regards,
Srinu.M
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
$ errpt | more
IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION
3074FEB7 0802050205 T H fscsi1 ADAPTER ERROR
B8113DD1 0802050205 T H fcs1 LINK ERROR
B8113DD1 0802050205 T H fcs1 LINK ERROR
3074FEB7 0802050205 T H fscsi0 ADAPTER ERROR
B8113DD1 ... (0 Replies)
Discussion started by: mcastill66
0 Replies
2. AIX
$ errpt | more
IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION
3074FEB7 0802050205 T H fscsi1 ADAPTER ERROR
B8113DD1 0802050205 T H fcs1 LINK ERROR
B8113DD1 0802050205 T H fcs1 LINK ERROR
3074FEB7 0802050205 T H fscsi0 ADAPTER ERROR
B8113DD1 ... (2 Replies)
Discussion started by: mcastill66
2 Replies
3. Shell Programming and Scripting
Hello
I have big compilation project when I run the top make file
I have problem to find the errors that acres in the sub directories because the make file keeps
Running the compilation. is there any way to perform summry of the errors when the Top
makefile done running ?
thanks (2 Replies)
Discussion started by: umen
2 Replies
4. AIX
Hi,
I'm in the process of compiling gnu gettext on a rs/6000 43p-260 running AIX 5.1 in 64bit-mode. The compilation itself runs fine as I understand it, however the installation itself fails like so:
I'm pretty much clueless about this relink stuff, so if anyone has suggestions, I'll try... (0 Replies)
Discussion started by: töfte
0 Replies
5. UNIX for Dummies Questions & Answers
Hi all, dummy here.... I have major errors on entering the shell. On login I get:
-bash: dircolors: command not found
-bash: tr: command not found
-bash: fgrep: command not found
-bash: grep: command not found
-bash: grep: command not found
-bash: id: command not found
-bash: [: =: unary... (12 Replies)
Discussion started by: wcmmlynn
12 Replies
6. Programming
Hello,
Trying to compile xtrlock from source on a RHEL system. It has an Imakefile but not being familiar enough with that system getting errors running imake:
#! Imakefile for xtrlock - X Transparent Lock
#!
#! Copyright (C)1993,1994 Ian Jackson
#!
#! This is free software; you can... (1 Reply)
Discussion started by: mgb
1 Replies
7. Shell Programming and Scripting
Hi all,
I tried to cross compile Ghostscript-8.54 source. I am getting some errors during cross compilation. I have pasted the errors below.
CC=arm-unknown-linux-gnu-gcc LD=arm-unknown-linux-gnu-ld ./configure --host=i686-pc-linux-gnu --target=arm-unknown-linux-gnu --without-x && make
... (2 Replies)
Discussion started by: siva4ever
2 Replies
8. Shell Programming and Scripting
Hi All,
Do we have a way to compile a shell program?
I am using ksh/bash/sh and not CSH.
Cheers
Ravi (12 Replies)
Discussion started by: panyam
12 Replies
9. UNIX for Dummies Questions & Answers
Hi all! I am new to this forum. I have recently installed Cygwin and XEmacs on my
laptop running Windows Vista. I am studing at the moment and the code I am creating is mainly for that purpose.
I am trying to create the algorithm of Insertion sort. When I compile my code in XEmacs i get some... (1 Reply)
Discussion started by: BlueTower
1 Replies
10. Shell Programming and Scripting
I am compiling a fortran program using gfortran and the result looks as below
I want to write a bash or awk script that will scan the information and output
only problems within a range of line numbers
Example: If I specify the file createmodl.f08, start line 1000 and end line 1100, I will... (8 Replies)
Discussion started by: kristinu
8 Replies
LEARN ABOUT DEBIAN
pivot_root
PIVOT_ROOT(8) System Administration PIVOT_ROOT(8)
NAME
pivot_root - change the root filesystem
SYNOPSIS
pivot_root new_root put_old
DESCRIPTION
pivot_root moves the root file system of the current process to the directory put_old and makes new_root the new root file system. Since
pivot_root(8) simply calls pivot_root(2), we refer to the man page of the latter for further details.
Note that, depending on the implementation of pivot_root, root and cwd of the caller may or may not change. The following is a sequence for
invoking pivot_root that works in either case, assuming that pivot_root and chroot are in the current PATH:
cd new_root
pivot_root . put_old
exec chroot . command
Note that chroot must be available under the old root and under the new root, because pivot_root may or may not have implicitly changed the
root directory of the shell.
Note that exec chroot changes the running executable, which is necessary if the old root directory should be unmounted afterwards. Also
note that standard input, output, and error may still point to a device on the old root file system, keeping it busy. They can easily be
changed when invoking chroot (see below; note the absence of leading slashes to make it work whether pivot_root has changed the shell's
root or not).
EXAMPLES
Change the root file system to /dev/hda1 from an interactive shell:
mount /dev/hda1 /new-root
cd /new-root
pivot_root . old-root
exec chroot . sh <dev/console >dev/console 2>&1
umount /old-root
Mount the new root file system over NFS from 10.0.0.1:/my_root and run init:
ifconfig lo 127.0.0.1 up # for portmap
# configure Ethernet or such
portmap # for lockd (implicitly started by mount)
mount -o ro 10.0.0.1:/my_root /mnt
killall portmap # portmap keeps old root busy
cd /mnt
pivot_root . old_root
exec chroot . sh -c 'umount /old_root; exec /sbin/init'
<dev/console >dev/console 2>&1
SEE ALSO
chroot(1), mount(8), pivot_root(2), umount(8)
AVAILABILITY
The pivot_root command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
util-linux February 2000 PIVOT_ROOT(8)