- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: 64 bit lsof compiling
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
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
Community
Resources
Forums
Blogs
- 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
03-19-2002 02:04 PM
03-19-2002 02:04 PM
I have installed the 64 bit version of gcc
I have installed gmake and binutils
When I try to gmake for lsof, I get the following:
/usr/local/pa20_64/bin/gcc -DHAS_CONST -DHPUXV=1111 -D_PSTAT64 +DD32 -DLSOF_ARC
H="9000/800" -DLSOF_VSTR="B.11.11" -O -c -o dvch.o dvch.c
gcc: cannot specify -o with -c or -S and multiple compilations
gmake[1]: *** [dvch.o] Error 1
Unfortunately, I am not a "c guy"
Any ideas?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2002 02:16 PM
03-19-2002 02:16 PM
Re: 64 bit lsof compiling
If your really having problems and get it sorted, why try and just get an already compiled version from the porting centre. Here is the link
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.61/
Michael
(Not a C person either)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2002 02:18 PM
03-19-2002 02:18 PM
Re: 64 bit lsof compiling
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2002 11:35 PM
03-19-2002 11:35 PM
Re: 64 bit lsof compiling
gcc -mpa-risc-2-0 might help (check that option with gcc --help -v)
-mpa-risc-2-0 Generate PA2.0 code. This option requires binutils 2.10 or later
Should I make my 64bit build available to you?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2002 04:26 AM
03-20-2002 04:26 AM
Re: 64 bit lsof compiling
built a binary for 64 bit 11i, but i dont
remember where it is. However if you search this site(how?) for old articles you will find it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2002 04:36 AM
03-20-2002 04:36 AM
Re: 64 bit lsof compiling
I would appreciate it if you made them available to me.
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2002 04:41 AM
03-20-2002 04:41 AM
Re: 64 bit lsof compiling
I have binutils 2.11.2 with the bin directory in my path.
I have 64 bit gcc installed
I can't figure out what I am doing wrong.
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2002 04:55 AM
03-20-2002 04:55 AM
Re: 64 bit lsof compiling
Unfortuantly they're all at lunch so not able to ask why the problems building it from scratch .....
looks like I can't post it do you have an email I can send it to .....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2002 05:08 AM
03-20-2002 05:08 AM
Re: 64 bit lsof compiling
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2002 05:13 AM
03-20-2002 05:13 AM
Re: 64 bit lsof compiling
email: rmertz@cityofevanston.org
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2002 06:52 AM
03-20-2002 06:52 AM
Re: 64 bit lsof compiling
All that you want from the official channels :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2002 07:13 AM
03-20-2002 07:13 AM
SolutionHere's the version info:
# /usr/local/bin/lsof -v
lsof version information:
revision: 4.57
latest revision: ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/
latest FAQ: ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/FAQ
latest man page: ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/lsof_man
configuration info: PSTAT-based
constructed: Tue Jul 17 08:28:49 PDT 2001
constructed by and on: abe@hpux
compiler: /bin/cc
compiler flags: -DHPUXV=1111 -D_PSTAT64 -Ae +DD32 -DLSOF_VSTR="B.11.11" -O
loader flags: -L./lib -llsof -lnsl
system info: HP-UX hpux B.11.11 U 9000/893 807805111 unlimited-user license
#
Here's a download site:
http://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/lsof/binaries/hpux/B.11.11/
README file:
All lsof support for HP-UX 11.11 is PSTAT-based. (See the 00FAQ file in the lsof distribution for an explanation.) The lsof binary
mode is 32 bits, and it uses -D_PSTAT64 to acquire kernel information via pstat(2) in 64 bit mode.
Vic Abell
November 5, 2000