On Feb 20, 2008, at 2:52 AM, Denny Yin wrote:
Hi all,
Really thanks for your help.
I tried:
debianGrid002:/home/ade/counter# globus-makefile-header --
flavor=gcc32dbg globus_c_wsrf_sample_counter_bindings |sed -e 's:\
\::g' >makefile_header
and makefile_header is created without error
then:
debianGrid002:/home/ade/counter# make -f Makefile
GLOBUS_FLAVOR_NAME=gcc32dbg (I renamed Makefile.example to Makefile)
errors:
/usr/bin/gcc -I/sandbox/bacon/globus-4.0.1/include/gcc32dbg/wsrf/
services -I/sandbox/bacon/globus-4.0.1/include/gcc32dbg/ -
ILOBUS_LOCATION/include/gcc32dbg/wsrf/services -g -Wall -I/usr/
local/globus-4.0.1/include/gcc32dbg \
-o create-count create_count.c \
-L/usr/local/globus-4.0.1/lib -L/usr/local/globus-4.0.1/lib -
...
create_count.c:4:35: CounterService_client.h: No such file or
directory
In file included from create_count.c:5:
/usr/local/globus-4.0.1/include/gcc32dbg/globus_wsrf_core_tools.h:
21:39: wsa_EndpointReferenceType.h: No such file or directory
/usr/local/globus-4.0.1/include/gcc32dbg/globus_wsrf_core_tools.h:
26:32: wsbf_BaseFaultType.h: No such file or directory
In file included from create_count.c:5:
/usr/local/globus-4.0.1/include/gcc32dbg/globus_wsrf_core_tools.h:
46: error: syntax error before "wsa_EndpointReferenceType"
It looks like you're hitting this bug: http://bugzilla.globus.org/
bugzilla/show_bug.cgi?id=4659. In brief, that bug causes the
packaging system to omit generated headers from the binary installers.
Some possible solutions:
- Upgrade to 4.0.4 or higher which contain a workaround for this bug
(4.0.6 is the current): http://www.globus.org/ftppub/gt4/4.0/4.0.6/
installers/bin/
- Build GT 4.0.x from a source installer
Joe