- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Too many command lines for `./bin/pindpurge'
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
Discussions
Discussions
Forums
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
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
тАО05-19-2011 10:33 PM
тАО05-19-2011 10:33 PM
Too many command lines for `./bin/pindpurge'
Too many command lines for `./bin/pindpurge'
+----> Building exe ./bin/pindpurge ...
/usr/ccs/bin/cc -I./include -D_REENTRANT -g -c -Aa -mt -z D_HPUX_SOURCE +DD64 -DHAVE_CONFIG_H -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_INCLUDE_AES_SOURCE -D_INCLUDE_POSIX_SOURCE -D_INCLUDE_XOPEN_SOURCE -o ./bin/pindpurge ./src/indpurge_main.o ./src/indpurge_about.o ./src/indpurge_env.o ./src/indpurge_options.o ./src/indpurge_log.o ./src/indpurge_init.o ./src/indpurge_shutdown.o ./src/indpurge_process.o ./src/indpurge_func.o -L../../../../shared/lib -L/logiciel/oracle/client_10204/lib -latk -lutil -lind -lweibull -lgmf -lgmfi -lgmr -lpp -lgsttv -ltctp -l6pc -llog -loratk -lclntsh -lc
(Bundled) cc: warning 922: "-g" is unsupported in the bundled compiler, ignored.
(Bundled) cc: warning 922: "-Aa" is unsupported in the bundled compiler, ignored.
(Bundled) cc: warning 1913: `D_HPUX_SOURCE' does not exist or cannot be read
+----> .................... OK
and the target binary is not created.
Note: We are migrating the app from SunOS 5.8 to HP-UX 11.31 and it was working fine on sun os.
Kindly suggest a solution/idea on the above issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-20-2011 12:57 AM
тАО05-20-2011 12:57 AM
Re: Too many command lines for `./bin/pindpurge'
You seem to be using the bundled C compiler... I seriously doubt you will be able to build a whole application with this - it's really only there to support compilation/linking of kernel modules when the kernel changes.
You should really have the full C/C++ developers bundle installed:
http://www.hp.com/go/ansic
I'm hoping this is a minor installation oversight on your part, as the compiler is not free - it's a chargeable piece of software.
Of course you could try and build with gcc which is free, but that may throw up a whole new set of issues:
Try:
http://www.hp.com/go/gcc
-or-
http://hpux.connect.org.uk/hppd/hpux/Gnu/gcc-4.2.3/
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-20-2011 04:32 AM
тАО05-20-2011 04:32 AM
Re: Too many command lines for `./bin/pindpurge'
When I tried with ansic also, am getting the same message and no binary is created:
Too many command lines for `./bin/pindpurge'
+----> Building exe ./bin/pindpurge ...
/opt/ansic/bin/cc -I./include -D_REENTRANT -g -c -Aa -mt -z D_HPUX_SOURCE +DD64 -DHAVE_CONFIG_H -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_INCLUDE_AES_SOURCE -D_INCLUDE_POSIX_SOURCE -D_INCLUDE_XOPEN_SOURCE -o ./bin/pindpurge ./src/indpurge_main.o ./src/indpurge_about.o ./src/indpurge_env.o ./src/indpurge_options.o ./src/indpurge_log.o ./src/indpurge_init.o ./src/indpurge_shutdown.o ./src/indpurge_process.o ./src/indpurge_func.o -L../../../../shared/lib -L/logiciel/oracle/client_10204/lib -latk -lutil -lind -lweibull -lgmf -lgmfi -lgmr -lpp -lgsttv -ltctp -l6pc -llog -loratk -lclntsh -lc
cc: warning 1913: `D_HPUX_SOURCE' does not exist or cannot be read
+----> .................... OK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-20-2011 05:21 AM
тАО05-20-2011 05:21 AM
Re: Too many command lines for `./bin/pindpurge'
> +----> Building exe ./bin/pindpurge ...
"Too many command lines" does not seem like a compiler error. Perhaps it is produced by the "make" utility?
The Makefile you attached seems to be just a small part of a rather complex system of Makefiles used by your project. Since you did not attach all the included Makefiles, it's not possible to analyze it any further.
> include ${DEF_RELATIVE_PATH}/Makefile.def
> include ../../Makefile.local.def
> include ${DEF_RELATIVE_PATH}/Makefile.target
Earlier, I can see DEF_RELATIVE_PATH defined:
> # Profondeur du fichier Makefile
> # par rapport au fichier global Makefile.def
> DEF_RELATIVE_PATH=../../../..
There might be an error somewhere in your system of Makefiles (causing some build rule to get stuck in a loop, generating extra command lines), or the number of command lines required to create ./bin/pindpurge might be too big for the HP-UX make utility.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-20-2011 05:34 AM
тАО05-20-2011 05:34 AM
Re: Too many command lines for `./bin/pindpurge'
Yes, I too guessed that to be an issue of make. But couldn't see the exact issue.
Attaching the further makefiles used in the system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-20-2011 05:42 AM
тАО05-20-2011 05:42 AM
Re: Too many command lines for `./bin/pindpurge'
D_HPUX_SOURCE
or:
-D_HPUX_SOURCE
?
> Too many command lines for `./bin/pindpurge'
> [...] Perhaps it is produced by the "make"
> utility?
A quick Google search -- You should try it
sometime -- for:
"Too many command lines for"
led pretty directly to a plausible
explanation (for a "make"-related program):
https://www-304.ibm.com/support/docview.wss?uid=swg21264244
Cause
This is caused by a makefile containing two
definitions for the same target name which
are identical in their dependency and build
scripts.
> +----> Building exe ./bin/pindpurge ...
You actually build straight into "/bin"?
Yow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2011 03:42 AM
тАО05-22-2011 03:42 AM
Re: Too many command lines for `./bin/pindpurge'
This is the bundled C compiler.
You should NOT be using any of the -D_INCLUDE_* defines. Use the ones in stdsyms(5) instead.
Also no need to have -lc since it is supplied by the driver and will give a warning.
>(Bundled) cc: warning 1913: `D_HPUX_SOURCE' does not exist or cannot be read
As mentioned, you need to fix this. This is trying to tell you that you may have link errors.
>no binary is created:
That's because you have -c, to compile only.
>Steven: You actually build straight into "/bin"?
I see ./bin/.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2011 11:45 AM
тАО05-22-2011 11:45 AM
Re: Too many command lines for `./bin/pindpurge'
So do I, today. Old age is Hell. Sigh.