Welcome, Guest
Username: Password: Remember me

TOPIC: Help with Redhat build

Help with Redhat build 7 years 1 month ago #8829

Hello Claes and All,
This is related specifically to the 5.4.0-1 tarball.

After a good weeks efforts, I have all the redhat libraries in order.
I will get the modified pwre_configure.sh to the proview team as soon as I am done tweaking it.

After performing pwre build_all_modules, I still have several failures.
It seems the executable files are not being compiled, prior to accessing them.

Specifically, this occurs:
/home/matt/Documents/Reactor/Projects/Proview_Software/pwrsrc_5.4.0-1/src/tools/pwre/src/os_linux/pwre_merge.sh: line 100: co_merge: command not found

I think I have correctly tracked down where co_merge should have been in the tree, but I don't see it or any other executables, any where.
find ./ -name "co_merge*"
only finds the original C code file, and the directory of the same name (in either the source root or the build root).

I've looked through the build process and it looks like build_all_modules calls the "build" system, which in turn calls the make system, I think?
I've tried to perform some of those builds atomically, via the build system, but with the same failures.

Does anyone have a good guess as to where I might next look?

I feel like I'm close, but I could use just a little more help.

Thanks,
Matt
The administrator has disabled public write access.

Help with Redhat build 7 years 1 month ago #8830

I included the modified pwre_configure.sh and resultant cnf file, just in case they are causing trouble.
-Matt
Attachments:
Last Edit: 7 years 1 month ago by MattBerglund. Reason: File types....grrrr
The administrator has disabled public write access.

Help with Redhat build 7 years 1 month ago #8831

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3179
  • Thank you received: 502
  • Karma: 133
Hi Matt,

co_merge should be created on $pwre_broot/os_linux/hw_x86_64/rt/exe so you can check if this directory exist. If it doesn't 'pwre create_all_modules' should create it (but it might have problems with finding out if it's 32 or 64 bit). The command 'pwre build exe co_merge src' should create the co_merge file so try it and look for any error messages.

/Claes
The administrator has disabled public write access.

Help with Redhat build 7 years 1 month ago #8832

Claes,
This directory structure looks right (my familiarity is limited, so I'm not 100 percent certain).
The header file co_cdh.h can't be found, so the compile is failing.
This seems to be true for all of the executables, so, there is a path problem somehow.
If you have any ideas, I'd love to hear them.

Thanks!
-Matt
Last Edit: 7 years 1 month ago by MattBerglund.
The administrator has disabled public write access.

Help with Redhat build 7 years 1 month ago #8834

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3179
  • Thank you received: 502
  • Karma: 133
Hi Matt,

co_cdh.h should be found on $pwr_inc or $pwre_broot/os_linux/hw_x86_64/rt/inc.
It should be copied there from $pwre_sroot/lib/co/src by the command

> pwre build lib co src copy

Try that command and see if you get any error messages.

/Claes
The administrator has disabled public write access.

Help with Redhat build 7 years 1 month ago #8836

Yes, it does.
Exporting ../../co_dbs.pdr to co_dbs.h
make: /home/matt/Documents/Reactor/Projects/Proview_Software/pwr_5.4.0-1_release_dbg/os_linux/hw_x86_64/exp/exe/tools_pdrgen: Command not found
make: *** [/home/matt/Documents/Reactor/Projects/Proview_Software/pwr_5.4.0-1_release_dbg/os_linux/hw_x86_64/rt/inc/co_dbs.h] Error 127
himBH

And
[matt@localhost Proview_Software]$ echo $pwr_inc
/home/matt/Documents/Reactor/Projects/Proview_Software/pwr_5.4.0-1_release_dbg/os_linux/hw_x86_64/rt/inc
[matt@localhost Proview_Software]$ echo $pwre_sroot/lib/co/src
/home/matt/Documents/Reactor/Projects/Proview_Software/pwrsrc_5.4.0-1/src/lib/co/src

To me, these seem fine. In the top error, I have found that tools_pdrgen doesn't exist (and presumably isn't being created).

I tried coming up with the pwre build command for it, but I'm not that advanced it would seem.
My initial attempt failed:
> pwre build exp exe src

Thanks,
Matt
The administrator has disabled public write access.
Time to create page: 7.586 seconds