Git Product home page Git Product logo

acs's People

Contributors

kgold2 avatar kgoldman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

acs's Issues

commonjson.c:138:13: error: `FALSE' undeclared (first use in this function)

My building system and software details are listed below.

Build command:

# Install Required Dependencies (some might not be listed, and MySQL is replaced with MariaDB)
sudo apt install -y libjson-c-dev apache2 PHP php-dev php-mysql mariadb-server libmariadb-dev libmariadb-dev-compat
# Ignore DB and Webpage setup
# Set Env Var
export CPATH="${ibmtss_path}/utils:${ibmtss_path}/utils12"
export LIBRARY_PATH="${ibmtss_path}/utils:${ibmtss_path}/utils12"
# Build server (clean previous build)
make -f makefiletpmc clean
make -f makefiletpmc

The following issue appears when using 2023-05-03-raspios-bullseye-arm64.img.xz, but not in Ubuntu 18.04.6 VM.

commonjson.c: In function `JS_ObjectGetString`:
commonjson.c:138:13: error: `FALSE` undeclared (first use in this function)
  138 |  if (brc == FALSE) {
      |             ^~~~~
commonjson.c:138:13: note: each undeclared identifier is reported only once for each ...
commonjson.c:177:13: error: `FALSE` undeclared (first use in this function)
commonjson.c: In function `JS_ObjectGetStringNull`:
  177 |  if (brc == FALSE) {
      |             ^~~~~
make: *** [makefile-common:181: commonjson.o] Error 1

This issue can be solved with following commands:

# Add stdbool.h include
sed -i '39 i #include <stdbool.h>' "${path_ibmacs}/acs/commonjson.c"
# Replace FALSE with false
sed -i 's/FALSE/false/g' "${path_ibmacs}/acs/commonjson.c"

Hope this issue can help solving this issue.

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.