Skip to content

Build error on Ubuntu 21.04 #1036

Description

@copyvar

I need some help to build heads. I installed all packages mentioned in line 13 https://github.com/osresearch/heads/blob/master/.circleci/config.yml

...
make[3]: Entering directory '/home/test/heads/build/make-4.2.1/doc'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/test/heads/build/make-4.2.1/doc'
make[3]: Entering directory '/home/test/heads/build/make-4.2.1'
gcc  -g -O2 -Wl,--export-dynamic  -o make ar.o arscan.o commands.o default.o dir.o expand.o file.o function.o getopt.o getopt1.o guile.o implicit.o job.o load.o loadapi.o main.o misc.o posixos.o output.o read.o remake.o rule.o signame.o strcache.o variable.o version.o vpath.o hash.o remote-stub.o glob/libglob.a   -ldl 
/usr/bin/ld: glob/libglob.a(glob.o): in function `glob_in_dir':
/home/test/heads/build/make-4.2.1/glob/glob.c:1269: undefined reference to `__stat'
/usr/bin/ld: glob/libglob.a(glob.o): in function `glob':
/home/test/heads/build/make-4.2.1/glob/glob.c:1036: undefined reference to `__stat'
/usr/bin/ld: /home/test/heads/build/make-4.2.1/glob/glob.c:814: undefined reference to `__stat'
/usr/bin/ld: /home/test/heads/build/make-4.2.1/glob/glob.c:960: undefined reference to `__stat'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:656: make] Error 1
make[3]: Leaving directory '/home/test/heads/build/make-4.2.1'
make[2]: *** [Makefile:798: all-recursive] Error 1
make[2]: Leaving directory '/home/test/heads/build/make-4.2.1'
make[1]: *** [Makefile:534: all] Error 2
make[1]: Leaving directory '/home/test/heads/build/make-4.2.1'
LANG=C MAKE=/home/test/heads/build/make-4.2.1/make /home/test/heads/build/make-4.2.1/make  all
/bin/sh: 1: /home/test/heads/build/make-4.2.1/make: not found
make: *** [Makefile:668: all] Error 127

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions