GithubHelp home page GithubHelp logo

Comments (4)

vonericsen avatar vonericsen commented on July 19, 2024

It looks like there was an issue with the opensea-operations submodule being at a different point and a feature was merged in after some work on the format code so something got messed up.
I updated the submodules and the utilities and was able to build them all.
Can you please try pulling the develop branch of openSeaChest and see if that fixes the issue?
The commit I pushed for this is bafb778c312aec0b3bf139d28f60df700ad00698

from openseachest.

edrozenberg avatar edrozenberg commented on July 19, 2024

I just ran into the same issue and I'm using develop (Your branch is up to date with 'origin/develop'.)

[openSeaChest.git/Make/gcc]# make release
mkdir -p openseachest_exes
cc -Wall -c -std=gnu99 -O3 -I../../opensea-common/include -I../../opensea-transport/include -I../../opensea-transport/include/vendor -I../../include -I../../opensea-operations/include -DDISABLE_TCG_SUPPORT ../../utils/C/openSeaChest/openSeaChest_Erase.c -o ../../utils/C/openSeaChest/openSeaChest_Erase.o
../../utils/C/openSeaChest/openSeaChest_Erase.c:45:10: fatal error: format.h: No such file or directory
   45 | #include "format.h"
      |          ^~~~~~~~~~
compilation terminated.
make: *** [Makefile:274: ../../utils/C/openSeaChest/openSeaChest_Erase.o] Error 1

None of the prebuilt openSeaChest binaries run on my Slackware systems (unknown issue that I can't figure out even with strace or gdb so far) and I'm not able to build from source either, so I'm using the prebuilt SeaChest binaries for now.

from openseachest.

vonericsen avatar vonericsen commented on July 19, 2024

Hi @edrozenberg,

I cannot repeat this issue using the latest develop branch code in Slackware 14.2.
Please make sure all the submodules were initialized and pulled when you cloned the source.
I typically use git clone <repo> --recursive to ensure all the submodules are properly pulled.
If you didn't clone the submodules at the same time, you can run git submodule update --init --recursive to pull all the submodules in.
Other methods of updating submodules are in this stack overflow link in case your version of git doesn't support these methods.

As for the openSeaChest binaries not working, that could be because the Linux they were build in is newer than the Slackware sources. When we build SeaChest for release, we use CentOS 6.x since it is older than most other Linux's and is usually able to run without issues in newer Linux systems. The openSeaChest binaries may have been built in something newer than CentOS 6.x and won't run in some systems. The "releases" posted to openSeaChest are generated and uploaded automatically by Travis CI today, so those come from whichever Linux Travis CI is using.

from openseachest.

edrozenberg avatar edrozenberg commented on July 19, 2024

@vonericsen Thanks! I was missing the submodules. Need to get in the --recursive habbit which I never normally do.

from openseachest.

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.