[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-mit-scheme] [bug #40148] Error during compilation mit-scheme-c-9.1.
From: |
anonymous |
Subject: |
[Bug-mit-scheme] [bug #40148] Error during compilation mit-scheme-c-9.1.1 with musl libc |
Date: |
Mon, 30 Sep 2013 16:07:19 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0 |
URL:
<http://savannah.gnu.org/bugs/?40148>
Summary: Error during compilation mit-scheme-c-9.1.1 with
musl libc
Project: MIT/GNU Scheme
Submitted by: None
Submitted on: Mon 30 Sep 2013 04:07:18 PM UTC
Category: compiler
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect behavior
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
Keywords:
_______________________________________________________
Details:
The following error occurs while I'm trying to compile mit-scheme-c-9.1.1 with
musl-gcc wrapper.
/home/rooster/pkg/musl-0.9.13/include/sys/poll.h:1:2: warning: #warning
redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp]
uxenv.c:185:1: error: conflicting types for ‘OS_nanotime_since_utc_epoch’
In file included from uxenv.c:30:0:
osenv.h:61:13: note: previous declaration of ‘OS_nanotime_since_utc_epoch’
was here
uxenv.c: In function ‘OS_nanotime_since_utc_epoch’:
uxenv.c:190:5: error: invalid type argument of ‘->’ (have ‘struct
scheme_nanotime’)
uxenv.c:191:5: error: invalid type argument of ‘->’ (have ‘struct
scheme_nanotime’)
make[1]: *** [uxenv.o] Error 1
make[1]: Leaving directory
`/home/rooster/src/mit-scheme-c-9.1.1/src/microcode'
make: *** [compile-microcode] Error 2
roost0 ~/src/mit-scheme-c-9.1.1/src $
After the patch (in attached files) applied.
It fails to link.
/home/rooster/local/lib/libX11.a(OpenDis.o): In function `XOpenDisplay':
OpenDis.c:(.text+0x81e): undefined reference to `xcb_get_setup'
OpenDis.c:(.text+0xa33): undefined reference to
`xcb_get_maximum_request_length'
/home/rooster/local/lib/libX11.a(xcb_disp.o): In function `_XConnectXCB':
xcb_disp.c:(.text+0x187): undefined reference to `xcb_parse_display'
xcb_disp.c:(.text+0x1e8): undefined reference to
`xcb_connect_to_display_with_auth_info'
xcb_disp.c:(.text+0x206): undefined reference to `xcb_get_file_descriptor'
xcb_disp.c:(.text+0x221): undefined reference to `xcb_generate_id'
xcb_disp.c:(.text+0x29b): undefined reference to `xcb_connection_has_error'
xcb_disp.c:(.text+0x2bc): undefined reference to `xcb_connect'
collect2: error: ld returned 1 exit status
make[1]: *** [prx11.so] Error 1
make[1]: Leaving directory
`/home/rooster/src/mit-scheme-c-9.1.1/src/microcode'
make: *** [compile-microcode] Error 2
roost0 ~/src/mit-scheme-c-9.1.1/src $
Also, it's impossible to pass CFLAGS to the scripts and only single-thread
compiling is supported.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Mon 30 Sep 2013 04:07:18 PM UTC Name: mit-scheme-fail1.log Size: 60kB
By: None
<http://savannah.gnu.org/bugs/download.php?file_id=29268>
-------------------------------------------------------
Date: Mon 30 Sep 2013 04:07:18 PM UTC Name: mit-scheme_musl_comp.patch Size:
580B By: None
<http://savannah.gnu.org/bugs/download.php?file_id=29269>
-------------------------------------------------------
Date: Mon 30 Sep 2013 04:07:18 PM UTC Name: mit-scheme-fail2.log Size: 148kB
By: None
<http://savannah.gnu.org/bugs/download.php?file_id=29270>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?40148>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-mit-scheme] [bug #40148] Error during compilation mit-scheme-c-9.1.1 with musl libc,
anonymous <=