You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
Using update from code.google.com from this morning
Try compiling/linking the "Console and File system driver initialization"
listed in the documentation at
https://sites.google.com/site/propellergcc/documentation/libraries#TOC-Stdio-Dev
ices-Library
It fails to link with undefined reference to __enable_spi_locking_ret. It
looks like it need to be defined
as global in crt0_xmm.s
propeller-elf-gcc -Wall -I../include -mno-fcache -Os -mxmmc -Wall -I../include
-mno-fcache -Os -mxmmc -c -o file.o file.c
file.c:25:6: warning: return type of 'main' is not 'int' [-Wmain]
propeller-elf-gcc -o fopentest2 file.o -mxmmc
/opt/parallax/lib/gcc/propeller-elf/4.6.1/../../../../propeller-elf/lib/xmmc/lib
c.a(file_io.o): In function `_dfs_use_lock':
(.text+0x14): undefined reference to `__enable_spi_locking_ret'
collect2: ld returned 1 exit status
make: *** [fopentest2] Error 1
Likewise, compilation under lmm fails with both `__enable_spi_locking_ret' and
`__enable_spi_locking'
being undefined. Maybe null definitions need to be made for the other crt0s.
Original issue reported on code.google.com by [email protected] on 23 Jan 2014 at 6:11
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 23 Jan 2014 at 6:11The text was updated successfully, but these errors were encountered: