Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- gcc -fPIC -g -Wall -o libcyusb.o -c cyusb.c -I ../../common/header
- cyusb.c: In function ‘CyOpen’:
- cyusb.c:556:1: warning: ‘rStatus’ may be used uninitialized [-Wmaybe-uninitialized]
- 556 | printf("rstatus6 %d", rStatus);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- gcc -fPIC -g -Wall -o libcyuart.o -c cyuart.c -I ../../common/header
- gcc -fPIC -g -Wall -o libcyi2c.o -c cyi2c.c -I ../../common/header
- gcc -fPIC -g -Wall -o libcyspi.o -c cyspi.c -I ../../common/header
- gcc -fPIC -g -Wall -o libcyphdc.o -c cyphdc.c -I ../../common/header
- gcc -fPIC -g -Wall -o libcyjtag.o -c cyjtag.c -I ../../common/header
- gcc -fPIC -g -Wall -o libcymisc.o -c cymisc.c -I ../../common/header
- gcc -fPIC -g -Wall -o libcyboot.o -c cyboot.c -I ../../common/header
- cyboot.c:72: warning: "CY_USB_SERIAL_TIMEOUT" redefined
- 72 | #define CY_USB_SERIAL_TIMEOUT 0
- |
- In file included from cyboot.c:1:
- CyUSBCommon.h:74: note: this is the location of the previous definition
- 74 | #define CY_USB_SERIAL_TIMEOUT 5000
- |
- cyboot.c: In function ‘CyFlashConfigEnable’:
- cyboot.c:634:21: warning: unused variable ‘ioTimeout’ [-Wunused-variable]
- 634 | UINT32 rStatus, ioTimeout = CY_USB_SERIAL_TIMEOUT;
- | ^~~~~~~~~
- 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
- cp libcyusbserial.so.1 /usr/local/lib
- ln -sf /usr/local/lib/libcyusbserial.so.1 /usr/local/lib/libcyusbserial.so
- ldconfig
- 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