Skip to content

0.6.1 release linux build failed #36

@chenrui333

Description

@chenrui333

👋 trying to build the latest release, but run into some build issue. The error log is as below:

error build log
  cc -g -Wall -Wmissing-prototypes -Wno-unused -DOS_MAC -o glulxe main.o files.o vm.o exec.o funcs.o operand.o string.o glkop.o heap.o serial.o search.o accel.o float.o gestalt.o osdepend.o profile.o debugger.o unixstrt.o unixautosave.o -L/home/linuxbrew/.linuxbrew/opt/glktermw/lib -lglktermw -lncurses -lm 
  /usr/bin/ld: /home/linuxbrew/.linuxbrew/opt/glktermw/lib/libglktermw.a(gtfref.o): in function `glk_fileref_create_temp':
  gtfref.c:(.text+0x283): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
  /usr/bin/ld: osdepend.o: in function `glulx_random':
  osdepend.c:(.text+0xb1): undefined reference to `arc4random'
  collect2: error: ld returned 1 exit status
  make: *** [Makefile:63: glulxe] Error 1

full build log, https://github.com/Homebrew/homebrew-core/actions/runs/6464229920/job/17549786395?pr=150379
relates to Homebrew/homebrew-core#150379

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions