- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NEED help with compling in 64
Operating System - HP-UX
1748165
Members
3790
Online
108758
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2008 01:59 PM
тАО12-03-2008 01:59 PM
Hi I am very new at C++ and HP_UX and I am trying to compile a application thats currently running in 32bit. Now I am trying to compile it in the new setup in 64.
here is the makefile.cflags
CFLAGS_BASE=+DD64 -AA -z -g -mt +x -DSTD_AA +Z
After a lot of fixing paths and stuff i am stumped in this error.
"trans_error.cpp", line 373: error #2065: expected a ";"
flock fl;
^
"trans_error.cpp", line 374: error #2020: identifier "fl" is undefined
memset (&fl, 0, sizeof(fl)); // Initialize the flock structure
we have a .cpp and .h file which has flock declared and I bet since its running in the old system declaration or adding the .h file is not the problem here. so please some one help me or direct me what to do.
thanks in advance
here is the makefile.cflags
CFLAGS_BASE=+DD64 -AA -z -g -mt +x -DSTD_AA +Z
After a lot of fixing paths and stuff i am stumped in this error.
"trans_error.cpp", line 373: error #2065: expected a ";"
flock fl;
^
"trans_error.cpp", line 374: error #2020: identifier "fl" is undefined
memset (&fl, 0, sizeof(fl)); // Initialize the flock structure
we have a .cpp and .h file which has flock declared and I bet since its running in the old system declaration or adding the .h file is not the problem here. so please some one help me or direct me what to do.
thanks in advance
Solved! Go to Solution.
- Tags:
- +DD64
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2008 02:33 PM
тАО12-03-2008 02:33 PM
Solution
I know nothing, but does this look useful?
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1289006
> [...] application thats currently running
> in 32bit.
_Where_ is it running?
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1289006
> [...] application thats currently running
> in 32bit.
_Where_ is it running?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2008 02:39 PM
тАО12-03-2008 02:39 PM
Re: NEED help with compling in 64
I got your email just second after i found the solution. your link states exactly what I needed. New system had an entry for flock which the old system didn't. so i guess the compiler got confiused. I had to declare my flock as struct and it worked.
Thanks for your answer and I tried to give points but the website didn't gave me any option! it says it gave the points... i am not sure how the website figured out whom to give the points...
anyhow. thanks
Thanks for your answer and I tried to give points but the website didn't gave me any option! it says it gave the points... i am not sure how the website figured out whom to give the points...
anyhow. thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2008 02:40 PM
тАО12-03-2008 02:40 PM
Re: NEED help with compling in 64
need to declare my flock as struct
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP