bugMIT/GNU Scheme - Bugs: bug #11525, compilation error under fedora fc3

 
 

bug #11525: compilation error under fedora fc3

Submitter:  None
Submitted:  Sat 08 Jan 2005 12:07:59 AM UTC
   
 
Category:  microcode Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect behavior
Status:  Fixed Privacy:  Public
Assigned to:  None Originator Name: 
Originator Email:  -email is unavailable- Open/Closed:  Closed
Keywords: 
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 24 Oct 2005 01:42:07 AM UTC, comment #3: 

Fixed in recent snapshots.

Chris Hanson <cph>
Group administrator
Fri 13 May 2005 09:33:29 PM UTC, comment #2: 

I tried eliminating the ifdef around the offending line and leaving just the #include <string.h> directive.  That allowed the build to complete, but running the scheme executable resulted in a core dump:

MIT/GNU Scheme running under GNU/Linux
Type `^C' (control-C) followed by `H' to obtain information about interrupts.


>> A hardware fault has occurred within critical section "band load".
>> [signal 11 (SIGSEGV), code 1]

Segmentation fault (core dumped)

Patrick May <pmay>
Thu 03 Mar 2005 06:25:09 PM UTC, comment #1: 

I checked to see what type strlen was returning with 'man strlen' and then replaced the 'int' with 'size_t' on the offending line.  That got me further.

Edward Hatfield <edwardh>
Sat 08 Jan 2005 12:07:59 AM UTC, original submission:  

gcc -DMIT_SCHEME -DDEFAULT_LIBRARY_PATH=\"/usr/local/lib/mit-scheme\" -DHAVE_CONFIG_H -I. -I. -I.  -g -O2 -Wall -I/usr/X11R6/include -c uxio.c
uxio.c:246: error: conflicting types for 'strlen'
uxio.c:246: error: conflicting types for 'strlen'
make: * [uxio.o] Error 1

1041 # gcc --version
gcc (GCC) 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.



Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-10-24 cph StatusNone Fixed
    Open/ClosedOpen Closed
2005-05-13 pmay Carbon-Copy- Added -email is unavailable-

Back to the top

Powered by Savane 3.13-4448.
Corresponding source code