Skip to content

"undefined reference to `strlcpy" make error #921

Description

@gnaomo

How to reproduce

  • build-all.sh on latest ps2dev commit
  • run make all on this
❯ make all
make -C iop/atad_emu      all DEBUG=0
make[1]: Entering directory '/home/yogas1/github_cloned_repos/neutrino/iop/atad_emu'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/yogas1/github_cloned_repos/neutrino/iop/atad_emu'
make -C iop/bdfs          all DEBUG=0
make[1]: Entering directory '/home/yogas1/github_cloned_repos/neutrino/iop/bdfs'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/yogas1/github_cloned_repos/neutrino/iop/bdfs'
make -C iop/cdvdfsv       all DEBUG=0
make[1]: Entering directory '/home/yogas1/github_cloned_repos/neutrino/iop/cdvdfsv'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/yogas1/github_cloned_repos/neutrino/iop/cdvdfsv'
make -C iop/cdvdman_emu   all DEBUG=0
make[1]: Entering directory '/home/yogas1/github_cloned_repos/neutrino/iop/cdvdman_emu'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/yogas1/github_cloned_repos/neutrino/iop/cdvdman_emu'
make -C iop/cdvdman_esr1  all DEBUG=0
make[1]: Entering directory '/home/yogas1/github_cloned_repos/neutrino/iop/cdvdman_esr1'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/yogas1/github_cloned_repos/neutrino/iop/cdvdman_esr1'
make -C iop/cdvdman_esr2  all DEBUG=0
make[1]: Entering directory '/home/yogas1/github_cloned_repos/neutrino/iop/cdvdman_esr2'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/yogas1/github_cloned_repos/neutrino/iop/cdvdman_esr2'
make -C iop/dev9          all DEBUG=0 DEV9_HIDDEN=1
make[1]: Entering directory '/home/yogas1/github_cloned_repos/neutrino/iop/dev9'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/yogas1/github_cloned_repos/neutrino/iop/dev9'
make -C iop/dev9          all DEBUG=0 DEV9_NO_SHUTDOWN=1
make[1]: Entering directory '/home/yogas1/github_cloned_repos/neutrino/iop/dev9'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/yogas1/github_cloned_repos/neutrino/iop/dev9'
make -C iop/fakemod       all DEBUG=0
make[1]: Entering directory '/home/yogas1/github_cloned_repos/neutrino/iop/fakemod'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/yogas1/github_cloned_repos/neutrino/iop/fakemod'
make -C iop/fhi_bd        all DEBUG=0
make[1]: Entering directory '/home/yogas1/github_cloned_repos/neutrino/iop/fhi_bd'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/yogas1/github_cloned_repos/neutrino/iop/fhi_bd'
make -C iop/gapfill       all DEBUG=0
make[1]: Entering directory '/home/yogas1/github_cloned_repos/neutrino/iop/gapfill'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/yogas1/github_cloned_repos/neutrino/iop/gapfill'
make -C iop/hdlfs         all DEBUG=0
make[1]: Entering directory '/home/yogas1/github_cloned_repos/neutrino/iop/hdlfs'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/yogas1/github_cloned_repos/neutrino/iop/hdlfs'
make -C iop/imgdrv        all DEBUG=0
make[1]: Entering directory '/home/yogas1/github_cloned_repos/neutrino/iop/imgdrv'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/yogas1/github_cloned_repos/neutrino/iop/imgdrv'
make -C iop/mc_emu        all DEBUG=0
make[1]: Entering directory '/home/yogas1/github_cloned_repos/neutrino/iop/mc_emu'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/yogas1/github_cloned_repos/neutrino/iop/mc_emu'
make -C iop/memcheck      all DEBUG=1
make[1]: Entering directory '/home/yogas1/github_cloned_repos/neutrino/iop/memcheck'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/yogas1/github_cloned_repos/neutrino/iop/memcheck'
make -C iop/patch_freemem all DEBUG=0
make[1]: Entering directory '/home/yogas1/github_cloned_repos/neutrino/iop/patch_freemem'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/yogas1/github_cloned_repos/neutrino/iop/patch_freemem'
make -C iop/patch_membo   all DEBUG=0
make[1]: Entering directory '/home/yogas1/github_cloned_repos/neutrino/iop/patch_membo'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/yogas1/github_cloned_repos/neutrino/iop/patch_membo'
make -C iop/patch_rc_uya  all DEBUG=0
make[1]: Entering directory '/home/yogas1/github_cloned_repos/neutrino/iop/patch_rc_uya'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/yogas1/github_cloned_repos/neutrino/iop/patch_rc_uya'
make -C iop/smap          all DEBUG=0
make[1]: Entering directory '/home/yogas1/github_cloned_repos/neutrino/iop/smap'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/yogas1/github_cloned_repos/neutrino/iop/smap'
make -C iop/ministack     all DEBUG=0
make[1]: Entering directory '/home/yogas1/github_cloned_repos/neutrino/iop/ministack'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/yogas1/github_cloned_repos/neutrino/iop/ministack'
make -C iop/udpbd         all DEBUG=0
make[1]: Entering directory '/home/yogas1/github_cloned_repos/neutrino/iop/udpbd'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/yogas1/github_cloned_repos/neutrino/iop/udpbd'
make -C iop/udpfs         all DEBUG=0 UDPFS_BD=1
make[1]: Entering directory '/home/yogas1/github_cloned_repos/neutrino/iop/udpfs'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/yogas1/github_cloned_repos/neutrino/iop/udpfs'
make -C iop/udpfs         all DEBUG=0 UDPFS_IOMAN=1
make[1]: Entering directory '/home/yogas1/github_cloned_repos/neutrino/iop/udpfs'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/yogas1/github_cloned_repos/neutrino/iop/udpfs'
make -C iop/udpfs         all DEBUG=0 UDPFS_FHI=1
make[1]: Entering directory '/home/yogas1/github_cloned_repos/neutrino/iop/udpfs'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/yogas1/github_cloned_repos/neutrino/iop/udpfs'
make -C iop/usbd_null     all DEBUG=0
make[1]: Entering directory '/home/yogas1/github_cloned_repos/neutrino/iop/usbd_null'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/yogas1/github_cloned_repos/neutrino/iop/usbd_null'
make -C ee/ee_core        all EESIO_DEBUG=0
make[1]: Entering directory '/home/yogas1/github_cloned_repos/neutrino/ee/ee_core'
mips64r5900el-ps2-elf-gcc -D_EE -Os -G0 -Wall -Werror -fdata-sections -ffunction-sections -I. -Iinclude -I../../common/include -I/usr/local/ps2dev/ps2sdk/ee/include -I/usr/local/ps2dev/ps2sdk/common/include -I/usr/local/ps2dev/gsKit/include -nostartfiles -nostdlib -Tlinkfile -L/usr/local/ps2dev/ps2sdk/ee/lib -s -Wl,-Map,ee_core.map -Wl,-zmax-page-size=128 -Wl,--gc-sections -o ee_core.elf obj/main.o obj/iopmgr.o obj/loadfile.o obj/util.o obj/patches.o obj/patches_asm.o obj/asm.o obj/crt0.o obj/ps2logo.o obj/gsm_api.o obj/ee_exception_l2.o obj/cheat_engine.o obj/cheat_api.o -lpatches -lkernel -lgcc
/usr/local/ps2dev/ee/lib/gcc/mips64r5900el-ps2-elf/15.2.0/../../../../mips64r5900el-ps2-elf/bin/ld: /usr/local/ps2dev/ps2sdk/ee/lib/libkernel.a(_SifLoadElfPart.o): in function `_SifLoadElfPart':
/home/yogas1/github_cloned_repos/ps2dev/build/ps2sdk/ee/kernel/src/loadfile.c:202:(.text+0x3c): undefined reference to `strlcpy'
/usr/local/ps2dev/ee/lib/gcc/mips64r5900el-ps2-elf/15.2.0/../../../../mips64r5900el-ps2-elf/bin/ld: /home/yogas1/github_cloned_repos/ps2dev/build/ps2sdk/ee/kernel/src/loadfile.c:203:(.text+0x4c): undefined reference to `strlcpy'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:61: ee_core.elf] Error 1
make[1]: Leaving directory '/home/yogas1/github_cloned_repos/neutrino/ee/ee_core'
make: *** [Makefile:59: all] Error 2
    ~/github_cloned_repos/neutrino    master !1                                                                                                                   2 ✘  system  

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