Skip to content

CookBook/16 build error  #464

@ZJLi2013

Description

@ZJLi2013

Problem Description

NAME="Ubuntu"
VERSION="22.04.4 LTS (Jammy Jellyfish)"
ROCk module version 6.2.4 
Name:                    gfx1100

following: sample build

  • build error on 02_CookBook/16_xxx
ld.lld: error: undefined symbol: __hip_fatbin
>>> referenced by square.cpp
>>>               /workspace/samples/build/2_Cookbook/16_assembly_to_executable/square_host.o:(__hip_fatbin_wrapper)
>>> did you mean: __hip_fatbin_
>>> defined in: /workspace/samples/build/2_Cookbook/16_assembly_to_executable/square_device.o
clang: error: linker command failed with exit code 1 (use -v to see invocation)

looks the default cmake can't find a link lib ? or how should I setup ?

Thanks

Operating System

Ubuntu 22.04

CPU

Ryzen

GPU

AMD Radeon RX 7900 XTX

ROCm Version

ROCm 6.1.0

ROCm Component

No response

Steps to Reproduce

No response

(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support

No response

Additional Information

No response

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