This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

cpp error using g++ and make


I get the following error when I use a Makefile and issue make at the command line. The first block is the g++ command as issued by make. The second block shows the error indication.
 

g++ -o build/bld_obj/sdcmd.o -O      -I/usr/local/include   -DUSL -DSVR4 -Di386   -DNARROWPROTO   -I/users/fortenbm/ccm_wa/hostsw/hdunix_dlgcdev_distr_unixware7-fortenbm/hdunix_dlgcdev_distr_unixware7/uses/hdunix_include_source/products -I/users/fortenbm/ccm_wa/hostsw/hdunix_dlgcdev_distr_unixware7-fortenbm/hdunix_dlgcdev_distr_unixware7/uses/unix_boardwatch_include/source -DUNIX  -DDCB -D_ISDN -DSVR4  -DSVR5 -DISA_SPAN  -DPCI_SPAN -DPCI_SUPPORT -DBRI_SUPPORT -DDDI8 -D_DDI=8   -DPKGVER="\"Version 3.0 \"" -DOSTYPEVER=\""Unixware 7.x\"" -DCOPYRIGHT=\""Copyright (c) 1999 Dialogic Corp.\"" -c  build/bld_tmp/sdcmd.cpp
 
cpp: installation problem, cannot exec `cpp': Arg list too long
cpp: Internal compiler error: program cpp got fatal signal 11
make: *** [build/bld_obj/sdcmd.o] Error 1
 

I've tried taking out some of the length of the g++ command and executing it from a script, but I still get the same error indications. I checked that ulimit is set to either 1024 or 2048. Both make no difference as I get the same error condition. I don't think the size of the g++ line is really the problem. Here is an example of the script I used to shorten the g++ command which feeds cpp.
 

g++ -E -o build/bld_obj/sdcmd.o -O -I/usr/local/include -DUSL -Di386 -DNARROWPROTO -I$XINC/products -DUNIX -DDCB -D_ISDN -DSVR4 -DSVR5 -DISA_SPAN -DPCI_SPAN -DPCI_SUPPORT -DBRI_SUPPORT -DDDI8 -D_DDI=8 -DPKGVER="\"Version 3.0 \"" -DOSTYPEVER=\""Unixware 7.x\"" -DCOPYRIGHT=\""Copyright (c) 1999 Dialogic Corp.\"" -c build/bld_tmp/sdcmd.cpp
 
 
 
 
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]