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

 
 

bug #11525: compilation error under fedora fc3

Submitted by:  None
Submitted on:  Sat 08 Jan 2005 12:07:59 AM UTC  
 
Category: microcodeSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect behavior
Status: FixedPrivacy: Public
Assigned to: NoneOriginator Name: 
Originator Email: -unavailable-Open/Closed: Closed
Keywords: 

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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

Fixed in recent snapshots.

Chris Hanson <cph>
Project 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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 24 Oct 2005 01:42:07 AM UTCcphStatusNone=>Fixed
  Open/ClosedOpen=>Closed
Fri 13 May 2005 09:34:46 PM UTCpmayCarbon-Copy-=>Added -unavailable-

Back to the top


Powered by Savane 3.1-cleanup1