Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bits/libc-header-start.h: No such file or directory #21

Closed
cprn opened this issue Oct 11, 2018 · 2 comments
Closed

bits/libc-header-start.h: No such file or directory #21

cprn opened this issue Oct 11, 2018 · 2 comments

Comments

@cprn
Copy link

cprn commented Oct 11, 2018

System:

$ lsb_release -d
Description:    Ubuntu 18.04.1 LTS

Steps to reproduce

  1. clone this repository
  2. cd fsqlf directory
  3. run make, output:
$ make
mkdir -p builds/make-linux/lib_fsqlf/conf_file/
mkdir -p builds/make-linux/lib_fsqlf/formatter/
mkdir -p builds/make-linux/lib_fsqlf/kw/
mkdir -p builds/make-linux/lib_fsqlf/lex/
mkdir -p builds/make-linux/utils/queue/
mkdir -p builds/make-linux/utils/stack/
mkdir -p builds/make-linux/utils/string/
mkdir -p builds/make-linux/cli/
gcc -o builds/make-linux/cli/main.o -c cli/main.c -std=c99 -Wall -pedantic-errors -g -Iinclude -m32
In file included from include/lib_fsqlf.h:5:0,
                 from cli/main.c:1:
/usr/include/stdio.h:27:10: fatal error: bits/libc-header-start.h: No such file or directory
 #include <bits/libc-header-start.h>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
makefile:118: recipe for target 'builds/make-linux/cli/main.o' failed
make: *** [builds/make-linux/cli/main.o] Error 1

Following the README.md (i.e. installing wx and setting up the link) doesn't help.

@cprn
Copy link
Author

cprn commented Oct 11, 2018

My bad, I didn't notice it's CMake-ready! Sorry!

@cprn cprn closed this as completed Oct 11, 2018
@cprn
Copy link
Author

cprn commented Oct 11, 2018

LOL, nope, sorry. Still an issue. Can you reopen this?

$ rm -rf fsqlf/
$ git clone https://github.com/dnsmkl/fsqlf
Cloning into 'fsqlf'...
remote: Enumerating objects: 3147, done.
remote: Total 3147 (delta 0), reused 0 (delta 0), pack-reused 3147
Receiving objects: 100% (3147/3147), 568.80 KiB | 951.00 KiB/s, done.
Resolving deltas: 100% (2009/2009), done.
$ cd fsqlf/
fsqlf$ cmake .
-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is GNU 7.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found FLEX: /usr/bin/flex (found version "2.6.4") 
-- Found wxWidgets: -L/usr/lib/x86_64-linux-gnu;-pthread;;;-lwx_gtk2u_adv-3.0;-lwx_gtk2u_core-3.0;-lwx_baseu-3.0;-lwx_gtk2u_aui-3.0 (found version "3.0.4") 
-- git describe master: v1-pre-alpha-75-g6ab8ec2 (not portable)
-- Configuring done
-- Generating done
-- Build files have been written to: /home/mg/Projects/fsqlf
fsqlf$ make
mkdir -p builds/make-linux/lib_fsqlf/conf_file/
mkdir -p builds/make-linux/lib_fsqlf/formatter/
mkdir -p builds/make-linux/lib_fsqlf/kw/
mkdir -p builds/make-linux/lib_fsqlf/lex/
mkdir -p builds/make-linux/utils/queue/
mkdir -p builds/make-linux/utils/stack/
mkdir -p builds/make-linux/utils/string/
mkdir -p builds/make-linux/cli/
gcc -o builds/make-linux/cli/main.o -c cli/main.c -std=c99 -Wall -pedantic-errors -g -Iinclude -m32   
In file included from include/lib_fsqlf.h:5:0,
                 from cli/main.c:1:
/usr/include/stdio.h:27:10: fatal error: bits/libc-header-start.h: No such file or directory
 #include <bits/libc-header-start.h>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
makefile:118: recipe for target 'builds/make-linux/cli/main.o' failed
make: *** [builds/make-linux/cli/main.o] Error 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant