Advertisement
silver2row

bash for /usr/bin/ld on comp. in GCC

Mar 21st, 2022
1,183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.49 KB | None | 0 0
  1. /usr/bin/ld: /tmp/ccvzV3Cs.o: in function `main':
  2. MySecond.c:(.text+0x12): undefined reference to `gpiod_chip_open_by_name'
  3. /usr/bin/ld: MySecond.c:(.text+0x30): undefined reference to `gpiod_chip_get_line'
  4. /usr/bin/ld: MySecond.c:(.text+0x54): undefined reference to `gpiod_line_request_output'
  5. /usr/bin/ld: MySecond.c:(.text+0x86): undefined reference to `gpiod_line_set_value'
  6. collect2: error: ld returned 1 exit status
  7.  
  8. # This is with a Native Compilation instead of using cmake and build dir.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement