AF_ISO, AF_NS, AF_IMPLINK not portable

Bug #178993 reported by Derick Eddington on 2007-12-28
2
Affects Status Importance Assigned to Milestone
Ikarus Scheme
Medium
Abdulaziz Ghuloum

Bug Description

On my x86 Ubuntu 7.04:

gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -DNDEBUG -O3 -Wall -MT ikarus-io.o -MD -MP -MF .deps/ikarus-io.Tpo -c -o ikarus-io.o ikarus-io.c
ikarus-io.c: In function ‘get_family’:
ikarus-io.c:120: error: ‘AF_ISO’ undeclared (first use in this function)
ikarus-io.c:120: error: (Each undeclared identifier is reported only once
ikarus-io.c:120: error: for each function it appears in.)
ikarus-io.c:121: error: ‘AF_NS’ undeclared (first use in this function)
ikarus-io.c:122: error: ‘AF_IMPLINK’ undeclared (first use in this function)

These are nowhere to be found in my system's include files.

I found:
http://docs.huihoo.com/gnu/linux/syscalls_54.html
Which says:
"As of version 1.0 of Linux: AF_ISO, AF_IMPLINK and AF_NS are not supported."

It looks like other projects do:
#ifdef AF_XXX
  use_it;
#endif

Abdulaziz Ghuloum (aghuloum) wrote :

Removed in revision 1296. They were not even used. I just had them for debugging. Thanks.

Changed in ikarus:
assignee: nobody → aghuloum
importance: Undecided → Medium
status: New → Fix Committed
Michael D. Adams (mdmkolbe) wrote :

The function in which these reside (i.e. get_family) doesn't seem to be used in the current repository (r1293), so these might be able to just go away (unless Aziz has a surprise for us).

Michael D. Adams (mdmkolbe) wrote :

Bah! Aziz posted to fast for me. ;-)

Abdulaziz Ghuloum (aghuloum) wrote :

r1293! That's sooooo a few hour ago :-)

Abdulaziz Ghuloum (aghuloum) wrote :

This bug report is about to be closed as the fix comitted
previously will be incorporated in the next 0.0.3 release of
Ikarus Scheme, scheduled for January 31, 2008. A release
candidate tarball is available for download from:
http://www.cs.indiana.edu/~aghuloum/ikarus/ikarus-0.0.3-rc1.tar.gz
Please do test it if you have the time and report any issues
you might encounter. Thank you very much for your support.
(Sorry for the duplicates; I'm updating every open bug.)

Changed in ikarus:
milestone: none → 0.0.3
Changed in ikarus:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers