Skip to content

unclear how to build example #25

@mulderp

Description

@mulderp

hi,

i was wondering how to build the first example to test my libuv learnings. what i tried was this on MacOS:

$ gcc -I deps/libuv/test/ -I deps/libuv/include/ -I deps/log src/01_system_info.c
Undefined symbols for architecture x86_64:
  "_uv_err_name", referenced from:
      _main in 01_system_info-fe7cb9.o
  "_uv_strerror", referenced from:
      _main in 01_system_info-fe7cb9.o
  "_uv_uptime", referenced from:
      _main in 01_system_info-fe7cb9.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

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