Advertisement
Guest User

sudo make

a guest
Sep 19th, 2022
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 1.62 KB | None | 0 0
  1. gcc -fPIC -g -Wall -o libcyusb.o -c cyusb.c -I ../../common/header
  2. cyusb.c: In function ‘CyOpen’:
  3. cyusb.c:556:1: warning: ‘rStatus’ may be used uninitialized [-Wmaybe-uninitialized]
  4.   556 | printf("rstatus6 %d", rStatus);
  5.       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6. gcc -fPIC -g -Wall -o libcyuart.o -c cyuart.c -I ../../common/header
  7. gcc -fPIC -g -Wall -o libcyi2c.o -c cyi2c.c -I ../../common/header
  8. gcc -fPIC -g -Wall -o libcyspi.o -c cyspi.c -I ../../common/header
  9. gcc -fPIC -g -Wall -o libcyphdc.o -c cyphdc.c -I ../../common/header
  10. gcc -fPIC -g -Wall -o libcyjtag.o -c cyjtag.c -I ../../common/header
  11. gcc -fPIC -g -Wall -o libcymisc.o -c cymisc.c -I ../../common/header
  12. gcc -fPIC -g -Wall -o libcyboot.o -c cyboot.c -I ../../common/header
  13. cyboot.c:72: warning: "CY_USB_SERIAL_TIMEOUT" redefined
  14.    72 | #define CY_USB_SERIAL_TIMEOUT 0
  15.       |
  16. In file included from cyboot.c:1:
  17. CyUSBCommon.h:74: note: this is the location of the previous definition
  18.    74 | #define CY_USB_SERIAL_TIMEOUT 5000
  19.       |
  20. cyboot.c: In function ‘CyFlashConfigEnable’:
  21. cyboot.c:634:21: warning: unused variable ‘ioTimeout’ [-Wunused-variable]
  22.   634 |     UINT32 rStatus, ioTimeout = CY_USB_SERIAL_TIMEOUT;
  23.       |                     ^~~~~~~~~
  24. gcc -shared -g -Wl,-soname,libcyusbserial.so -o libcyusbserial.so.1 libcyusb.o libcyuart.o libcyi2c.o libcyspi.o libcyphdc.o libcyjtag.o libcymisc.o libcyboot.o -l usb-1.0
  25. cp libcyusbserial.so.1 /usr/local/lib
  26. ln -sf /usr/local/lib/libcyusbserial.so.1 /usr/local/lib/libcyusbserial.so
  27. ldconfig
  28. rm -f libcyusb.o libcyuart.o libcyspi.o libcyi2c.o libcyphdc.o libcyjtag.o libcymisc.o libcyboot.o
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement