Menu

unable to compile

Help
grumble
2002-11-15
2003-08-04
  • grumble

    grumble - 2002-11-15

    ok, im trying to install chromium on winXP.
    i installed cygwin, perl and python. then i start bash and type make in the cr directory.

    it starts fine to compile but at the file tcpip.c i get the following error:

    tcpip.c(1059) : warning C4702: Unerreichbarer Code
    tcpip.c(1059) : error C2220: Warnung wird als Fehler interpretiert, es wurde keine Objektdatei angelegt
    make[2]: *** [../built/crutil/WIN_NT/tcpip.obj] Error 2
    make[1]: *** [dep] Error 2
    make: *** [util.subdir] Error 2

    are there any prebuilt binaries anywhere?
    thanks

     
    • Anonymous

      Anonymous - 2003-08-04

      There are several threads currently asking more or less the same question. Not sure how to tie them together, but:

      make: error 255
      two possible culprits
      can't find compiler (cl,gcc whatever CC= in Makefile) Is it in your PATH?
      lack of permissions to create output files

      make: error 128
      make found CC, CL, GCC, but it crashed
      in my case cl couldn't find mspdb60.dll,
      run vcvars32.bat to set MSDEVDIR, and MSVCDIR.

      unreachable code:
      is the result of a compiler flag to CL that when there is a warning treat it as an error (/WX). remove this option from CFLAGS and CXXFLAGS in cr*/config/WIN_NT.MK

      crutserver: can't find GL include
      if you want to use this you will need to install the OpenGL Utility Toolkit (glut) for Win32 found at http://www.xmission.com/~nate/glut.html. (Thanks Nate)

      progs/extensions/ARB:
      hmm, more difficult, haven't figured out yet why this compiles with 1.2 and not 1.3. Errors about redefinition of glMultiTexCoord2fARB. Traced this down to PFNGLMULTITEXCOORD2FARBPROC and glMultiTexCoord2fARB definitions in GL/glext.h. Not sure what to do with it to resolve conflicting definitions.

      Hope this helps others. Is there a better place to put this documentation?

      Thanks
      Matt

       

Log in to post a comment.