Skip to contentSkip to conversation

compile fails on 2.4.17-pre3

DISCUSSION Paul Larson 3 participants 4 messages Dec 5, 2001

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 4 lines · Paul Larson

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

Quoted 14 lines

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

Signature · 3 lines
Jeff Garzik      | Only so many songs can be sung
Building 1024    | with two lips, two lungs, and one tongue.
MandrakeSoft     |         - nomeansno
#2 lore raw

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

Quoted 41 lines · Jeff Garzik
Quoted 4 lines · Paul Larson

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

Quoted 14 lines

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

Signature · 9 lines
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/
#3 lore raw
In reply to Paul Larson

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

Quoted 24 lines · Paul Larson

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/