2001-12-05 19:18:16

by Paul Larson

[permalink] [raw]
Subject: compile fails on 2.4.17-pre3


Is everybody seeing this and it's obvious, or do I need to send my
.config?

ld -m elf_i386 -r -o ipv4.o utils.o route.o inetpeer.o proc.o
protocol.o ip_input.o ip_fragment.o ip_forward.o ip_options.o
ip_output.o ip_sockglue.o tcp.o tcp_input.o tcp_output.o tcp_timer.o
tcp_ipv4.o tcp_minisocks.o tcp_diag.o raw.o udp.o arp.o icmp.o devinet.o
af_inet.o igmp.o sysctl_net_ipv4.o fib_frontend.o fib_semantics.o
fib_hash.o
ld: cannot open tcp_diag.o: No such file or directory
make[3]: *** [ipv4.o] Error 1
make[3]: Leaving directory `/usr/src/linux/net/ipv4'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux/net/ipv4'
make[1]: *** [_subdir_ipv4] Error 2
make[1]: Leaving directory `/usr/src/linux/net'
make: *** [_dir_net] Error 2


2001-12-05 19:28:16

by Jeff Garzik

[permalink] [raw]
Subject: Re: compile fails on 2.4.17-pre3

Paul Larson wrote:
>
> Is everybody seeing this and it's obvious, or do I need to send my
> .config?
>
> ld -m elf_i386 -r -o ipv4.o utils.o route.o inetpeer.o proc.o
> protocol.o ip_input.o ip_fragment.o ip_forward.o ip_options.o
> ip_output.o ip_sockglue.o tcp.o tcp_input.o tcp_output.o tcp_timer.o
> tcp_ipv4.o tcp_minisocks.o tcp_diag.o raw.o udp.o arp.o icmp.o devinet.o
> af_inet.o igmp.o sysctl_net_ipv4.o fib_frontend.o fib_semantics.o
> fib_hash.o
> ld: cannot open tcp_diag.o: No such file or directory
> make[3]: *** [ipv4.o] Error 1
> make[3]: Leaving directory `/usr/src/linux/net/ipv4'
> make[2]: *** [first_rule] Error 2
> make[2]: Leaving directory `/usr/src/linux/net/ipv4'
> make[1]: *** [_subdir_ipv4] Error 2
> make[1]: Leaving directory `/usr/src/linux/net'
> make: *** [_dir_net] Error 2

fix:

1) remove "tcp_diag.o" from net/ipv4/Makefile
2) remove two lines from net/ipv4/tcp.c which reference tcpdiag_init

The file is in vger so I assume it's easily fixed by adding that file as
well. http://vger.kernel.org/

Jeff

--
Jeff Garzik | Only so many songs can be sung
Building 1024 | with two lips, two lungs, and one tongue.
MandrakeSoft | - nomeansno

2001-12-05 19:34:06

by Paul Larson

[permalink] [raw]
Subject: Re: compile fails on 2.4.17-pre3

Looks like there may be a tcp_diag.c with the tcpdiag_init function in
it that got left out. When I tried taking out tcpdiag.o from the
makefile, I get an undefined reference to tcpdiag_init.

Thanks,
Paul Larson

On Wed, 2001-12-05 at 13:23, Paul Larson wrote:
>
> Is everybody seeing this and it's obvious, or do I need to send my
> .config?
>
> ld -m elf_i386 -r -o ipv4.o utils.o route.o inetpeer.o proc.o
> protocol.o ip_input.o ip_fragment.o ip_forward.o ip_options.o
> ip_output.o ip_sockglue.o tcp.o tcp_input.o tcp_output.o tcp_timer.o
> tcp_ipv4.o tcp_minisocks.o tcp_diag.o raw.o udp.o arp.o icmp.o devinet.o
> af_inet.o igmp.o sysctl_net_ipv4.o fib_frontend.o fib_semantics.o
> fib_hash.o
> ld: cannot open tcp_diag.o: No such file or directory
> make[3]: *** [ipv4.o] Error 1
> make[3]: Leaving directory `/usr/src/linux/net/ipv4'
> make[2]: *** [first_rule] Error 2
> make[2]: Leaving directory `/usr/src/linux/net/ipv4'
> make[1]: *** [_subdir_ipv4] Error 2
> make[1]: Leaving directory `/usr/src/linux/net'
> make: *** [_dir_net] Error 2
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/


2001-12-05 19:49:46

by Marcelo Tosatti

[permalink] [raw]
Subject: Re: compile fails on 2.4.17-pre3



I'm going to release -pre4 with tcp_diag.c and tcp_diag.h now.

On Wed, 5 Dec 2001, Jeff Garzik wrote:

> Paul Larson wrote:
> >
> > Is everybody seeing this and it's obvious, or do I need to send my
> > .config?
> >
> > ld -m elf_i386 -r -o ipv4.o utils.o route.o inetpeer.o proc.o
> > protocol.o ip_input.o ip_fragment.o ip_forward.o ip_options.o
> > ip_output.o ip_sockglue.o tcp.o tcp_input.o tcp_output.o tcp_timer.o
> > tcp_ipv4.o tcp_minisocks.o tcp_diag.o raw.o udp.o arp.o icmp.o devinet.o
> > af_inet.o igmp.o sysctl_net_ipv4.o fib_frontend.o fib_semantics.o
> > fib_hash.o
> > ld: cannot open tcp_diag.o: No such file or directory
> > make[3]: *** [ipv4.o] Error 1
> > make[3]: Leaving directory `/usr/src/linux/net/ipv4'
> > make[2]: *** [first_rule] Error 2
> > make[2]: Leaving directory `/usr/src/linux/net/ipv4'
> > make[1]: *** [_subdir_ipv4] Error 2
> > make[1]: Leaving directory `/usr/src/linux/net'
> > make: *** [_dir_net] Error 2
>
> fix:
>
> 1) remove "tcp_diag.o" from net/ipv4/Makefile
> 2) remove two lines from net/ipv4/tcp.c which reference tcpdiag_init
>
> The file is in vger so I assume it's easily fixed by adding that file as
> well. http://vger.kernel.org/
>
> Jeff
>
> --
> Jeff Garzik | Only so many songs can be sung
> Building 1024 | with two lips, two lungs, and one tongue.
> MandrakeSoft | - nomeansno
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>