Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#928 - net-tools does not build

Attached to Project: Arch Linux
Opened by Dennis Herbrich (gyroplast) - Saturday, 22 May 2004, 16:59 GMT
Last edited by Judd Vinet (judd) - Thursday, 27 May 2004, 06:47 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To Judd Vinet (judd)
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

[...]
cc -D_GNU_SOURCE -O2 -Wall -g -I. -idirafter ./include/ -Ilib -I/var/abs/base/net-tools/src/net-tools-1.60 -idirafter /var/abs/base/net-tools/src/net-tools-1.60/include -c -o x25_sr.o x25_sr.c
x25_sr.c: In function `X25_setroute':
x25_sr.c:80: error: invalid application of `sizeof' to an incomplete type
make[1]: *** [x25_sr.o] Error 1
make[1]: Leaving directory `/home/abs/base/net-tools/src/net-tools-1.60/lib'
make: *** [subdirs] Error 2
==> ERROR: Build Failed. Aborting...

I'm building this on the stock 2.4.26 kernel with gcc340, didn't test the 2.6 kernel. However, source of the problem is the enclosed gcc340.patch file; Removing the last patch block solves the problem.

Attached you find the modified and tested gcc340.patch file, with an md5sum of b52d899cba9956bb0055150506f41ac1.
(application/octet-stream)    gcc340.patch (1.1 KiB)
This task depends upon

Closed by  Judd Vinet (judd)
Saturday, 29 May 2004, 03:19 GMT
Reason for closing:  Fixed

Loading...