Hy,
I used to work with Wiregl 1.2.1 and know I'm trying to install the cr project on a RedHat 7.1 distro.
When I try to compile the cr project (after compiling Python 2.1.1), I see an error message :
-------------------------------------------------------------------------------
Building libcrapp.so for Linux (DEBUG)
-------------------------------------------------------------------------------
Compiling appstub.c
appstub.c:68:9: pasting "." and "glBarrierCreate" does not give a valid
preprocessing token
appstub.c:69:9: pasting "." and "glBarrierExec" does not give a valid
preprocessing token
appstub.c:70:9: pasting "." and "glSemaphoreCreate" does not give a
valid preprocessing token
appstub.c:71:9: pasting "." and "glSemaphoreV" does not give a valid
preprocessing token
appstub.c:72:9: pasting "." and "glSemaphoreP" does not give a valid
preprocessing token
appstub.c:73:9: pasting "." and "crCreateContext" does not give a valid
preprocessing token
appstub.c:74:9: pasting "." and "crMakeCurrent" does not give a valid
preprocessing token
appstub.c:75:9: pasting "." and "crSwapBuffers" does not give a valid
preprocessing token
gmake[2]: *** [../built/crapp/Linux/appstub.o] Erreur 1
gmake[1]: *** [dep] Erreur 2
make: *** [app_stub.subdir] Erreur 2
I'm quit a newby in compiling, so can somebody tell me what is happening ?
As I'm not using Myrinet, I commented this lines in the Makefile
(/usr/cr/util/Makefile):
ifeq ($(ARCH),Linux)
#CFLAGS += -DGM_SUPPORT
#FILES += gm
#LDFLAGS += -lgm
endif
Is it enough?
Thanks in advance!
Jean-Claude DA SILVA
Institut Image
Chalon sur saone
France
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2002-01-15
Hi,
I've just found the same problem trying to build Chromium on RedHat 7.1, but have no problem building on Suse 7.2.
From what I can see the ## preprocessor (pasting) operator doesn't work here so I have just manually expanded the templated lines (i.e. replace:
Hy,
I used to work with Wiregl 1.2.1 and know I'm trying to install the cr project on a RedHat 7.1 distro.
When I try to compile the cr project (after compiling Python 2.1.1), I see an error message :
-------------------------------------------------------------------------------
Building libcrapp.so for Linux (DEBUG)
-------------------------------------------------------------------------------
Compiling appstub.c
appstub.c:68:9: pasting "." and "glBarrierCreate" does not give a valid
preprocessing token
appstub.c:69:9: pasting "." and "glBarrierExec" does not give a valid
preprocessing token
appstub.c:70:9: pasting "." and "glSemaphoreCreate" does not give a
valid preprocessing token
appstub.c:71:9: pasting "." and "glSemaphoreV" does not give a valid
preprocessing token
appstub.c:72:9: pasting "." and "glSemaphoreP" does not give a valid
preprocessing token
appstub.c:73:9: pasting "." and "crCreateContext" does not give a valid
preprocessing token
appstub.c:74:9: pasting "." and "crMakeCurrent" does not give a valid
preprocessing token
appstub.c:75:9: pasting "." and "crSwapBuffers" does not give a valid
preprocessing token
gmake[2]: *** [../built/crapp/Linux/appstub.o] Erreur 1
gmake[1]: *** [dep] Erreur 2
make: *** [app_stub.subdir] Erreur 2
I'm quit a newby in compiling, so can somebody tell me what is happening ?
As I'm not using Myrinet, I commented this lines in the Makefile
(/usr/cr/util/Makefile):
ifeq ($(ARCH),Linux)
#CFLAGS += -DGM_SUPPORT
#FILES += gm
#LDFLAGS += -lgm
endif
Is it enough?
Thanks in advance!
Jean-Claude DA SILVA
Institut Image
Chalon sur saone
France
Hi,
I've just found the same problem trying to build Chromium on RedHat 7.1, but have no problem building on Suse 7.2.
From what I can see the ## preprocessor (pasting) operator doesn't work here so I have just manually expanded the templated lines (i.e. replace:
X(glBarrierCreate),
with:
{ "glBarrierCreate", (void** ) &fptable.glBarrierCreate },
etc...
If you found the elegant solution to this though I'd be interested to hear it.
Kind regards
Jim Stanton