Giter Site home page Giter Site logo

Comments (2)

JalexChen avatar JalexChen commented on July 18, 2024

Hi @neutrinoceros - there are a couple of factors here:

  • RPC functionality was dropped in favor of TIRPC
  • io_nchilada.c and io_tipsy.c are referencing /usr/include/rpc/types.h in their include headers, not /usr/include/tirpc/rpc/types.h, which is what your ls | grep is showing
  • python 3.11 is built off ubuntu 22.04, which uses tirpc rather than rpc.

If you were to change the include references to point to the correct path like above, you won't encounter the error. However, the types.h file has an internal include reference to netconfig.h. this does not exist in /usr/include/tirpc/rpc, but in usr/include/tirpc - you can reference this to edit and git apply the correct CFLAGS, e.g -I/usr/include/tirpc to address the above.

Additionally, i initially tried running your original code with git apply ../rockstar-patches/cflags.patch and it wasn't working. if you add the --whitespace=fix flag, you would be able to do so without using sed.

Lastly, even with those fixes, it seems there are multiple definition errors that are preventing compilation. I would assume those are coming from the rockstar-galaxies repo, though. Please note: the python versions that were passing tests were built using a cimg/base image using Ubuntu 20.04.

Python 3.11 does not have such an image at the moment. If you would like to make one for yourself in the meantime, you can edit the dockerfile to be FROM cimg/base:2022.01-20.04

from cimg-base.

neutrinoceros avatar neutrinoceros commented on July 18, 2024

Thank you so much for your help and this detailed answer. I confirm that adding -I/usr/include/tirpc to CFLAGS fixes Rockstar's compilation. The remaining issues with my build are unrelated.

from cimg-base.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.