Hello everyone,

I did an emerge ftpd ([ebuild N]ftpd-0.17-r3) on a K6
PC and after it started compiling it stalled for a few
hours on the same line so I ctrl-c'd outta there and
ran emerge again. Now it spits out a couple pages of
code then segfaults. I tried catting it into another
file but that causes the PC to crash. But the word
PREEMPT appears on it's own line. Other interesting
lines include:

Kernel Bug at fs/reiserfs/file.c:620!
invalid operand:0000 [#1]
Badness in do_exit at kernel/exit.c:797
Segmentation Fault

Here's the log for the original install:

>>> Unpacking source...
>>> Unpacking linux-ftpd-0.17.tar.gz to
/var/tmp/portage/ftpd-0.17-r3/work
>>> Unpacking linux-ftpd-0.17-ssl.patch to
/var/tmp/portage/ftpd-0.17-r3/work
unpack linux-ftpd-0.17-ssl.patch: file format not
recognized. Ignoring.
 * Applying linux-ftpd-0.17-ssl.patch ...
  [ ok ]
 * Applying ftpd-0.17-shadowfix.patch ...
  [ ok ]
>>> Source unpacked.
Directories: /usr/sbin /usr/man 
Looking for a C compiler... gcc
Checking if gcc accepts gcc warnings... yes
Checking if gcc accepts -O2... yes
Checking for yacc... bison -y
Checking for BSD signal semantics... yes
Checking for shadow... yes
Checking for crypt... -lcrypt
Checking for socklen_t... yes
Checking for snprintf declaration... ok
Checking for snprintf implementation... ok
Generating MCONFIG...
(cd  support && make)
(cd  ftpd && make)
make[1]: Entering directory
`/var/tmp/portage/ftpd-0.17-r3/work/linux-ftpd-0.17/support'
gcc -O2 -march=i586 -O2 -march=i586 -pipe -Wall -W
-Wpointer-arith -Wbad-function-cast -Wcast-qual
-Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -Winline 
-DUSE_SHADOW -DHASSETPROCTITLE daemon.c -c
make[1]: Entering directory
`/var/tmp/portage/ftpd-0.17-r3/work/linux-ftpd-0.17/ftpd'
gcc -O2 -march=i586 -O2 -march=i586 -pipe -Wall -W
-Wpointer-arith -Wbad-function-cast -Wcast-qual
-Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -Winline 
-I../support -DUSE_SSL -g -DUSE_SHADOW
-DHASSETPROCTITLE ftpd.c -c
In file included from ftpd.c:74:
/usr/include/sys/mman.h:20:1: unterminated #ifndef
In file included from /usr/include/netinet/in.h:23,
                 from ftpd.c:76:
/usr/include/stdint.h:49: error: parse error before
"typedef"
In file included from ftpd.c:76:
/usr/include/netinet/in.h:236: error: parse error
before "in_port_t"
/usr/include/netinet/in.h:239: error: parse error
before "sin6_scope_id"
/usr/include/netinet/in.h:247: error: field
`imr_multiaddr' has incomplete type
/usr/include/netinet/in.h:250: error: field
`imr_interface' has incomplete type
/usr/include/netinet/in.h:256: error: field
`imr_multiaddr' has incomplete type
/usr/include/netinet/in.h:259: error: field
`imr_interface' has incomplete type
/usr/include/netinet/in.h:262: error: field
`imr_sourceaddr' has incomplete type
/usr/include/netinet/in.h:269: error: field
`ipv6mr_multiaddr' has incomplete type
/usr/include/netinet/in.h:280: error: parse error
before "uint32_t"
/usr/include/netinet/in.h:284: error: parse error
before '}' token
/usr/include/netinet/in.h:289: error: parse error
before "uint32_t"
/usr/include/netinet/in.h:296: error: parse error
before '}' token
/usr/include/netinet/in.h:303: error: field
`imsf_multiaddr' has incomplete type
/usr/include/netinet/in.h:306: error: field
`imsf_interface' has incomplete type
/usr/include/netinet/in.h:309: error: parse error
before "uint32_t"
/usr/include/netinet/in.h:315: error: parse error
before '}' token
/usr/include/netinet/in.h:324: error: parse error
before "uint32_t"
/usr/include/netinet/in.h:330: error: parse error
before "gf_fmode"
/usr/include/netinet/in.h:333: error: parse error
before "gf_numsrc"
/usr/include/netinet/in.h:336: error: parse error
before '}' token
In file included from /usr/include/netinet/in.h:345,
                 from ftpd.c:76:
/usr/include/bits/in.h:84: error: field `ip_dst' has
incomplete type
/usr/include/bits/in.h:91: error: field
`imr_multiaddr' has incomplete type
/usr/include/bits/in.h:92: error: field `imr_address'
has incomplete type
/usr/include/bits/in.h:100: error: field
`ipi_spec_dst' has incomplete type
/usr/include/bits/in.h:101: error: field `ipi_addr'
has incomplete type
In file included from ftpd.c:76:
/usr/include/netinet/in.h:354: error: parse error
before "ntohl"
/usr/include/netinet/in.h:354: error: parse error
before "__netlong"
/usr/include/netinet/in.h:355: error: parse error
before "ntohs"
/usr/include/netinet/in.h:355: error: parse error
before "__netshort"
/usr/include/netinet/in.h:357: error: parse error
before "htonl"
/usr/include/netinet/in.h:357: error: parse error
before "__hostlong"
/usr/include/netinet/in.h:359: error: parse error
before "htons"
/usr/include/netinet/in.h:359: error: parse error
before "__hostshort"
In file included from ftpd.c:76:
/usr/include/netinet/in.h:458: error: field
`ipi6_addr' has incomplete type
/usr/include/netinet/in.h:469: error: parse error
before '*' token
/usr/include/netinet/in.h:471: error: parse error
before '*' token
/usr/include/netinet/in.h:474: error: parse error
before "uint8_t"
/usr/include/netinet/in.h:476: error: parse error
before "uint8_t"
/usr/include/netinet/in.h:483: error: parse error
before "uint32_t"
/usr/include/netinet/in.h:489: error: parse error
before "uint32_t"
/usr/include/netinet/in.h:496: error: parse error
before "uint32_t"
/usr/include/netinet/in.h:503: error: parse error
before "uint32_t"
gcc -O2 -march=i586 -O2 -march=i586 -pipe -Wall -W
-Wpointer-arith -Wbad-function-cast -Wcast-qual
-Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -Winline 
-DUSE_SHADOW -DHASSETPROCTITLE setproctitle.c -c
In file included from ftpd.c:77:
/usr/include/netinet/ip.h:129: error: field `ip_src'
has incomplete type
/usr/include/netinet/ip.h:129: error: field `ip_dst'
has incomplete type
In file included from ftpd.c:82:
/usr/include/arpa/inet.h:35: error: parse error before
"inet_addr"
/usr/include/arpa/inet.h:38: error: parse error before
"inet_lnaof"
/usr/include/arpa/inet.h:42: error: parse error before
"__net"
/usr/include/arpa/inet.h:46: error: parse error before
"inet_netof"
/usr/include/arpa/inet.h:50: error: parse error before
"inet_network"
/usr/include/arpa/inet.h:78: error: parse error before
"__net"
In file included from /usr/include/netdb.h:43,
                 from ftpd.c:91:
/usr/include/bits/netdb.h:32: error: parse error
before "uint32_t"
In file included from ftpd.c:91:
/usr/include/netdb.h:212: error: parse error before
"__net"
/usr/include/netdb.h:236: error: parse error before
"__net"
In file included from ftpd.c:101:
/usr/include/unistd.h:942: error: parse error before
"__delta"
gcc -O2 -march=i586 -O2 -march=i586 -pipe -Wall -W
-Wpointer-arith -Wbad-function-cast -Wcast-qual
-Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -Winline 
-DUSE_SHADOW -DHASSETPROCTITLE isexpired.c -c
gcc -O2 -march=i586 -O2 -march=i586 -pipe -Wall -W
-Wpointer-arith -Wbad-function-cast -Wcast-qual
-Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -Winline 
-DUSE_SHADOW -DHASSETPROCTITLE vis.c -c
In file included from ftpd.c:143:
sslapp.c: In function `do_ssleay_init':
sslapp.c:114: warning: assignment from incompatible
pointer type
In file included from ftpd.c:165:
ssl_port.h:22:1: warning: "NOPROTO" redefined
In file included from sslapp.c:17,
                 from ftpd.c:143:
sslapp.h:28:1: warning: this is the location of the
previous definition
ftpd.c: In function `main':
ftpd.c:555: error: invalid use of undefined type
`struct sockaddr_in'
ftpd.c:556: error: invalid use of undefined type
`struct sockaddr_in'
ftpd.c:556: error: `in_addr_t' undeclared (first use
in this function)
ftpd.c:556: error: (Each undeclared identifier is
reported only once
ftpd.c:556: error: for each function it appears in.)
ftpd.c:556: error: parse error before numeric constant
ftpd.c:557: error: invalid use of undefined type
`struct sockaddr_in'
ftpd.c:559: error: invalid application of `sizeof' to
incomplete type `sockaddr_in' 
ftpd.c:572: error: invalid application of `sizeof' to
incomplete type `sockaddr_in' 
ftpd.c:591: error: invalid application of `sizeof' to
incomplete type `sockaddr_in' 
ftpd.c:608: error: invalid application of `sizeof' to
incomplete type `sockaddr_in' 
ftpd.c:615: error: `IPPROTO_IP' undeclared (first use
in this function)
ftpd.c:618: error: invalid use of undefined type
`struct sockaddr_in'
ftpd.c:618: error: invalid use of undefined type
`struct sockaddr_in'
ftpd.c:671: error: invalid use of undefined type
`struct sockaddr_in'
ftpd.c:672: error: invalid application of `sizeof' to
incomplete type `in_addr' 
ftpd.c:677: error: invalid use of undefined type
`struct sockaddr_in'
ftpd.c:677: error: type of formal parameter 1 is
incomplete
ftpd.c: In function `getdatasock':
ftpd.c:1315: error: invalid use of undefined type
`struct sockaddr_in'
ftpd.c:1316: error: invalid use of undefined type
`struct sockaddr_in'
ftpd.c:1316: error: invalid use of undefined type
`struct sockaddr_in'
ftpd.c:1319: error: invalid application of `sizeof' to
incomplete type `sockaddr_in' 
ftpd.c:1331: error: `IPPROTO_IP' undeclared (first use
in this function)
ftpd.c: In function `dataconn':
ftpd.c:1379: error: storage size of 'from' isn't known
ftpd.c:1400: error: invalid use of undefined type
`struct sockaddr_in'
ftpd.c:1411: error: `IPPROTO_IP' undeclared (first use
in this function)
ftpd.c:1379: warning: unused variable `from'
ftpd.c:1489: error: `data_dest' has an incomplete type
ftpd.c:1494: error: invalid use of undefined type
`struct sockaddr_in'
ftpd.c:1494: error: type of formal parameter 1 is
incomplete
ftpd.c:1495: error: invalid use of undefined type
`struct sockaddr_in'
ftpd.c:1504: error: invalid use of undefined type
`struct sockaddr_in'
ftpd.c:1505: error: invalid use of undefined type
`struct sockaddr_in'
ftpd.c:1511: error: invalid use of undefined type
`struct sockaddr_in'
ftpd.c:1511: error: invalid use of undefined type
`struct sockaddr_in'
ftpd.c:1518: error: invalid application of `sizeof' to
incomplete type `sockaddr_in' 
ftpd.c: In function `statcmd':
ftpd.c:1872: error: invalid use of undefined type
`struct sockaddr_in'
ftpd.c:1872: error: type of formal parameter 1 is
incomplete
ftpd.c:1904: error: dereferencing pointer to
incomplete type
ftpd.c:1905: error: dereferencing pointer to
incomplete type
ftpd.c: In function `dolog':
ftpd.c:2157: error: dereferencing pointer to
incomplete type
ftpd.c:2158: error: invalid application of `sizeof' to
incomplete type `in_addr' 
ftpd.c:2163: error: dereferencing pointer to
incomplete type
ftpd.c:2163: error: type of formal parameter 1 is
incomplete
ftpd.c: In function `passive':
ftpd.c:2272: error: `pasv_addr' has an incomplete type
ftpd.c:2273: error: invalid use of undefined type
`struct sockaddr_in'
ftpd.c:2275: error: invalid application of `sizeof' to
incomplete type `sockaddr_in' 
ftpd.c:2286: error: `pasv_addr' has an incomplete type
ftpd.c:2287: error: invalid use of undefined type
`struct sockaddr_in'
ftpd.c:2289: error: invalid application of `sizeof' to
incomplete type `sockaddr_in' 
ftpd.c:2293: error: invalid application of `sizeof' to
incomplete type `sockaddr_in' 
ftpd.c:2298: error: invalid use of undefined type
`struct sockaddr_in'
ftpd.c:2299: error: invalid use of undefined type
`struct sockaddr_in'
ftpd.c: At top level:
ftpd.c:2615: warning: no previous prototype for
'do_ssl_start'
/usr/include/netinet/in.h:238: error: storage size of
`sin6_addr' isn't known
/usr/include/netinet/in.h:314: error: storage size of
`imsf_slist' isn't known
ftpd.c:189: error: storage size of `server_addr' isn't
known
ftpd.c:190: error: storage size of `ctrl_addr' isn't
known
ftpd.c:191: error: storage size of `data_source' isn't
known
ftpd.c:192: error: storage size of `data_dest' isn't
known
ftpd.c:193: error: storage size of `his_addr' isn't
known
ftpd.c:194: error: storage size of `pasv_addr' isn't
known
make[1]: *** [ftpd.o] Error 1
make[1]: Leaving directory
`/var/tmp/portage/ftpd-0.17-r3/work/linux-ftpd-0.17/ftpd'
make: *** [ftpd.build] Error 2
make: *** Waiting for unfinished jobs....



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list

Reply via email to