From: Brian P. <br...@va...> - 2001-06-26 22:20:39
|
"Mike H. Miller" wrote: > > I just began using Chromium today (CVS as of about 7:30ET), and had a few > notes on the installation "instructions". At PPPL, we're currently running > WireGL with Myrinet, so I thought I'd give Chromium a try... right now, > I'm still figuring things out, but to get GM support, I just noticed one > small change that had to be made. > > 3. cd $TOP > > 4. make > It gives: > gm.c:822: warning: implicit declaration of function `ntohl' > gm.c:825: warning: implicit declaration of function `ntohs' > 5. Add #include <netinet/in.h> to gm.c > (It's already in tcpip.c) > > 6. make > Compiles just fine > > The numbers are just from my personal notes. Right now, Chromium appears > to work over TCP/IP, and I'm working on trying out GM. Just my $.02. > > --Mike Miller > mm...@pp... I'm trying to build Chromium without GM. I'm assuming that if I don't have Myrinet hardware then I should compile without the GM software. Is that correct? Anyway, I modified util/Makefile as follows: < CFLAGS += -DGM_SUPPORT < FILES += gm < LDFLAGS += -lgm --- > CFLAGS -= -DGM_SUPPORT > FILES -= gm > LDFLAGS -= -lgm I upgraded to Python 2.0.1 as well. Compilation stops here: % make ------------------------------------------------------------------------------- Just parsing the OpenGL header file! ------------------------------------------------------------------------------- Done! ------------------------------------------------------------------------------- Building libcrutil.so for Linux (DEBUG) ------------------------------------------------------------------------------- Done! ------------------------------------------------------------------------------- Building libcrmothership.so for Linux (DEBUG) ------------------------------------------------------------------------------- Done! ------------------------------------------------------------------------------- Building resetms for Linux (DEBUG) ------------------------------------------------------------------------------- Done! ------------------------------------------------------------------------------- Building libcrpacker.so for Linux (DEBUG) ------------------------------------------------------------------------------- Compiling packer.c In file included from packer.h:11, from packer.c:3: ../include/cr_pack.h:26: parse error before `void' ../include/cr_pack.h:65: parse error before `op' packer.c:253: parse error before `crPackAccum' cc1: warnings being treated as errors packer.c:254: warning: return-type defaults to `int' packer.c: In function `crPackAccum': packer.c:259: `CR_ACCUM_OPCODE' undeclared (first use in this function) [...] Line 26 of cr_pack.h is: typedef void (*CRPackSendHugeFunc)(CROpcode, void *); I can't find where the CROpcode datatype is defined. -Brian |