1846907 Members
4158 Online
110256 Solutions
New Discussion

compilation error

 
Praveen Sharma
New Member

compilation error

Dear friends,
I am encounter a very sever problem while compling the code. The comiplation just hangs up and a error log file generated through my code Which suggest that the problem is
ERROR:nostructure pointer parameter.
Although the code was compiled earlier successfully but now it is giving this error. I am using the C++ SoftBench 6.X LTU, Workstation.
the output of
$what /usr/bin/CC is
/usr/bin/CC:
HP C++ HPCPLUSPLUS A.10.45 (990416)
Can anybody suggest me why this problem is occuring and any possible solution in this regard.

Kapil Jain
3 REPLIES 3
harry d brown jr
Honored Contributor

Re: compilation error

Between the time that it last compiled successfully and this time, where it fails, what changed? Did you modify the code? Where any patches installed?

live free or die
harry
Live Free or Die
Joaquin Gil de Vergara
Respected Contributor

Re: compilation error

see man pages from chatr command

it show search in library paths and be sure that it's correct
Teach is the best way to learn
Praveen Sharma_3
Occasional Contributor

Re: compilation error

I have completed the build on HP-UX10.20 D390/800 series machine but when I am trying to run this build on HP 180L/700 series workstation then it is getting stuck in some template library and there is no updation in the build log file from last couple of hours and nothing was displayed after the
following line.

CC: "/builds/ba_01_3_10_2_dest.cc/inc/ProcessCollection.H", line 70:
warning: The friend declaration is not in the correct form for either
a function or a class. Perhaps you meant "friend class AutoDestructTimer". (anachronism) (1862)

and getting stuck in the execution of
/opt/CC/lbin/c++ptcomp -ptd
./ptrepository /var/tmp/EAAa2145
Above specified ouput was the command of ps -ef.

I think it seems to be a some C++ linking or library problem.

Patches and configurations are same on both the machines but compilers are different.
The 800 series machine having a cfront compiler and C++ SoftBench 6.X LTU compiler is on 700 series workstation.
But when i am doing "what /usr/bin/CC" on both the machines then i am getting similar output : HP C++ HPCPLUSPLUS A.10.45.

Can anybody suggest me some patch regarding this problem.

Your suggestions will be highly appreciated.

Thanks,
Praveen