[CM] Linker error while running Snd 19.7 on Cygwin/Windows

David O'Toole deeteeoh1138 at gmail.com
Sun Nov 17 09:49:53 PST 2019


Configuring without GUI or audio support, I successfully compiled Snd on
Cygwin. However, the binary fails to start due to linker errors (transcript
below)

I've actually seen this happen on Linux back when first getting Snd built,
but I forget what caused the error that time.

Sandy at LAPTOP-EF0KJKUO ~/snd-19.7
$ snd
writing libc_s7.c
libc_s7.o:libc_s7.c:(.text+0x1e): undefined reference to `s7_cadr'
libc_s7.o:libc_s7.c:(.text+0x1e): relocation truncated to fit:
R_X86_64_PC32 against undefined symbol `s7_cadr'
libc_s7.o:libc_s7.c:(.text+0x26): undefined reference to `s7_integer'
libc_s7.o:libc_s7.c:(.text+0x26): relocation truncated to fit:
R_X86_64_PC32 against undefined symbol `s7_integer'
libc_s7.o:libc_s7.c:(.text+0x35): undefined reference to `s7_car'
libc_s7.o:libc_s7.c:(.text+0x35): relocation truncated to fit:
R_X86_64_PC32 against undefined symbol `s7_car'
libc_s7.o:libc_s7.c:(.text+0x3d): undefined reference to `s7_c_pointer'
libc_s7.o:libc_s7.c:(.text+0x3d): relocation truncated to fit:
R_X86_64_PC32 against undefined symbol `s7_c_pointer'
libc_s7.o:libc_s7.c:(.text+0x4c): undefined reference to
`s7_make_string_with_length'
libc_s7.o:libc_s7.c:(.text+0x4c): relocation truncated to fit:
R_X86_64_PC32 against undefined symbol `s7_make_string_with_length'
libc_s7.o:libc_s7.c:(.text+0x71): undefined reference to `s7_car'
libc_s7.o:libc_s7.c:(.text+0x71): relocation truncated to fit:
R_X86_64_PC32 against undefined symbol `s7_car'
libc_s7.o:libc_s7.c:(.text+0x79): undefined reference to `s7_is_string'
libc_s7.o:libc_s7.c:(.text+0x79): relocation truncated to fit:
R_X86_64_PC32 against undefined symbol `s7_is_string'
libc_s7.o:libc_s7.c:(.text+0x86): undefined reference to `s7_f'
libc_s7.o:libc_s7.c:(.text+0x86): relocation truncated to fit:
R_X86_64_PC32 against undefined symbol `s7_f'
libc_s7.o:libc_s7.c:(.text+0x99): undefined reference to `s7_make_symbol'
libc_s7.o:libc_s7.c:(.text+0x99): relocation truncated to fit:
R_X86_64_PC32 against undefined symbol `s7_make_symbol'
libc_s7.o:libc_s7.c:(.text+0xa8): undefined reference to `s7_car'
libc_s7.o:libc_s7.c:(.text+0xa8): relocation truncated to fit:
R_X86_64_PC32 against undefined symbol `s7_car'
libc_s7.o:libc_s7.c:(.text+0xb0): undefined reference to `s7_string'
libc_s7.o:libc_s7.c:(.text+0xb0): additional relocation overflows omitted
from the output
libc_s7.o:libc_s7.c:(.text+0xc2): undefined reference to
`s7_make_c_pointer_with_type'



----- large number of similar entries omitted ----

libc_s7.o:libc_s7.c:(.text+0x2a961): undefined reference to
`s7_name_to_value'
libc_s7.o:libc_s7.c:(.text+0x2a970): undefined reference to
`s7_set_i_i_function'
libc_s7.o:libc_s7.c:(.text+0x2a983): undefined reference to
`s7_name_to_value'
libc_s7.o:libc_s7.c:(.text+0x2a992): undefined reference to
`s7_set_i_i_function'
libc_s7.o:libc_s7.c:(.text+0x2a9a5): undefined reference to
`s7_name_to_value'
libc_s7.o:libc_s7.c:(.text+0x2a9b4): undefined reference to
`s7_set_i_i_function'
libc_s7.o:libc_s7.c:(.text+0x2a9c7): undefined reference to
`s7_name_to_value'
libc_s7.o:libc_s7.c:(.text+0x2a9d6): undefined reference to
`s7_set_i_i_function'
libc_s7.o:libc_s7.c:(.text+0x2a9e9): undefined reference to
`s7_name_to_value'
libc_s7.o:libc_s7.c:(.text+0x2a9f8): undefined reference to
`s7_set_i_i_function'
libc_s7.o:libc_s7.c:(.text+0x2aa0b): undefined reference to
`s7_name_to_value'
libc_s7.o:libc_s7.c:(.text+0x2aa1a): undefined reference to
`s7_set_i_i_function'
collect2: error: ld returned 1 exit status
loading libc_s7.so
load /home/Sandy/snd-19.7/libc_s7.so failed: No such file or directory

;load: can't open "libc_s7.so"
;    (load so-file-name cur-env)
;    cload.scm, line 682
; (load so-file-name cur-env)
; ((curlet))
; (lst)


;*libc*: unbound variable
;    (with-let (sublet *libc*) (define...
;    repl.scm, line 21
; (with-let (sublet *libc*) (define (symbol...
; ((define (symbol-completion text) (let ((...
; ((signatures sig) 'NULL)
; (*repl* 'run)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cm-mail.stanford.edu/mailman/private/cmdist/attachments/20191117/152fe133/attachment.html>


More information about the Cmdist mailing list