vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| uname -a HP-UX mingus B.11.00 U 9000/800 683319393 unlimited-user license 69[root@mingus /tmp/gdb-5.3]#./configure --prefix= /usr/sww/pkg/gdb-5.3/ Configuring for a hppa2.0w-hp-hpux11.00 host. Created "Makefile" in /tmp/gdb-5.3 using "mh-frag" Configuring intl... loading cache ../config.cache checking for a BSD compatible install... (cached) /usr/sww/bin/ginstall -c checking how to run the C preprocessor... (cached) /usr/sww/pkg/gcc/bin/gcc -E checking whether make sets ${MAKE}... (cached) yes checking for gcc... (cached) /usr/sww/pkg/gcc/bin/gcc checking whether the C compiler (/usr/sww/pkg/gcc/bin/gcc -g -O2 ) works... yes checking whether the C compiler (/usr/sww/pkg/gcc/bin/gcc -g -O2 ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether /usr/sww/pkg/gcc/bin/gcc accepts -g... (cached) yes .. .. .. creating ./config.status creating Makefile 170[root@mingus /tmp/gdb-5.3]#make Make: line 1192: syntax error. Stop. contents of /tmp/gdb-5.3/Makefile: 1189 # This rule is used to build the modules which are built with the 1190 # build machine's native compiler. 1191 .PHONY: $(ALL_BUILD_MODULES) 1192 $(ALL_BUILD_MODULES): 1193 dir=`echo $@ | sed -e 's/all-build-//'`; \ 1194 if [ -f ./$${dir}/Makefile ] ; then \ 1195 r=`${PWD}`; export r; \ 1196 s=`cd $(srcdir); ${PWD}`; export s; \ 1197 (cd $(BUILD_SUBDIR)/$${dir} && $(MAKE) all); \ 1198 else \ 1199 true; \ 1200 fi Any help is appreciated Thank you very much. If you have any questions, please don't hesitate to contact me. Thanks, Ghaouar Camij Toschian, (please remove KeinSpam from the email address ) KeinSpamgct@cory.eecs.berkeley.edu, EECS Instructional & Electronics Support Group / 386 Cory Hall / 510 643-6138 KeinSpamgct@domainmart.net, 510 5408013, 2500 Durant # 310, Bk, CA 94704 Visualize that the smoke of cigarettes is unpleasant to other people. Visualize that peoples' civic duties do NOT include having to breathe the smoke from cigarettes. Visualize that astrologers, fortune tellers, tarot card readers, psychics and palm readers are Crooks, Fools or Both. Visualize using the Metric System. |
| |||
| !!Tonnere de Brest (x@y.z.com) wrote: : Make: line 1192: syntax error. Stop. : contents of /tmp/gdb-5.3/Makefile: : 1191 .PHONY: $(ALL_BUILD_MODULES) : 1192 $(ALL_BUILD_MODULES): This error seems like the macro ALL_BUILD_MODULES hasn't been defined. |
| |||
| I don't see a solution here so I thought I'd follow up with what I've found thus far. The error is caused by the fact that ALL_BUILD_MODULES is empty. It IS explicitly set to empty. Yet, the syntax requirements do require it NOT to be empty. I hunted around at am in the process of testing a build with ALL_BUILD_MODULES to the same value as ALL_BUILD_MODULES_LIST. This latter Macro is never referenced within this Makefile, leading me to suspect that they really wanted to just set ALL_BUILD_MODULES all along. But, following the principal of least change, I've left that one as is and have only added the value for ALL_BUILD_MODULES. Unfortunately, my build is now failing on somsolib.c: gcc -c -g -O2 -D__HP_CURSES -Dvfork=fork -I. -I. -I./config -DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H -I./../include/ opcode -I./../readline/.. -I../bfd -I./../bfd -I./../include -I../intl -I./../intl -DMI_OUT=1 -DUI_OUT=1 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized somsolib.c In file included from defs.h:59, from somsolib.c:27: .../include/ansidecl.h:149:1: warning: "PARAMS" redefined In file included from gdb_locale.h:29, from defs.h:42, from somsolib.c:27: .../intl/libintl.h:48:1: warning: this is the location of the previous definition somsolib.c: In function `som_solib_have_load_event': somsolib.c:1126: error: `SHL_LOAD' undeclared (first use in this function) somsolib.c:1126: error: (Each undeclared identifier is reported only once somsolib.c:1126: error: for each function it appears in.) somsolib.c: In function `som_solib_have_unload_event': somsolib.c:1135: error: `SHL_UNLOAD' undeclared (first use in this function) *** Error exit code 1 Anyone have any ideas for this one? dhandly@cup.hp.com (Dennis Handly) wrote in message news:<3f13e797$1@usenet01.boi.hp.com>... > !!Tonnere de Brest (x@y.z.com) wrote: > : Make: line 1192: syntax error. Stop. > : contents of /tmp/gdb-5.3/Makefile: > : 1191 .PHONY: $(ALL_BUILD_MODULES) > : 1192 $(ALL_BUILD_MODULES): > > This error seems like the macro ALL_BUILD_MODULES hasn't been defined. |
| |||
| > somsolib.c:1126: error: `SHL_LOAD' undeclared (first use in this > function) > somsolib.c:1135: error: `SHL_UNLOAD' undeclared (first use in this > function) these are defined in /usr/include/dl.h |
| ||||
| I was able to fix this by editing som.h and inserting the following lines immediately after #ifdef R_DLT_REL: #ifdef R_DLT_REL #ifdef __LP64__ #undef __LP64__ #endif This causes gdb to compile. BUT, it does not work properly. When I tried to debug a program built with the experimental GCC 3.2 available in binary form from HP for HP-UX 11 64-bit, this gdb reported it did not understand the file format and exited. Sigh. Thus far I seem to be stuck using the WDB available from HP, but I have already caught that tool printing garbage values when doing my own printing demonstrated the actual values to be fine. Anyone have any suggestions on how I get a working debugger for this GCC on this HP-UX 11 64-bit platform? Thanks, Marc jignaasu@yahoo.com (jignaasu) wrote in message news:<1238ce7b.0307302316.492ba87c@posting.google. com>... > > somsolib.c:1126: error: `SHL_LOAD' undeclared (first use in this > > function) > > somsolib.c:1135: error: `SHL_UNLOAD' undeclared (first use in this > > function) > > these are defined in /usr/include/dl.h |