Coder Social home page Coder Social logo

Solaris Build Fails about iperf HOT 5 CLOSED

esnet avatar esnet commented on July 30, 2024
Solaris Build Fails

from iperf.

Comments (5)

bmah888 avatar bmah888 commented on July 30, 2024

From jdugan.esnet on September 08, 2010 15:12:51

Should be fixed in r299 but I'm awaiting confirmation

Owner: jdugan.esnet

from iperf.

bmah888 avatar bmah888 commented on July 30, 2024

From novickivan on September 08, 2010 17:23:46

there were a couple more compile issues:

tcp_info.c still references sys/queue.h

net.c and timer.c needed to #include <errno.h>

from iperf.

bmah888 avatar bmah888 commented on July 30, 2024

From novickivan on September 08, 2010 17:24:45

The compile works with those changes but the link is not working:

Sep 08 17:23 build@build0 > make
Making all in src
make[1]: Entering directory /home/build/inovick/iperf3/src' make all-am make[2]: Entering directory/home/build/inovick/iperf3/src'
/bin/bash ../libtool --tag=CC --mode=link gcc -g -Wall -g -O2 -luuid -o iperf3 iperf3-main.o libiperf.a -luuid
libtool: link: gcc -g -Wall -g -O2 -o iperf3 iperf3-main.o libiperf.a -luuid
Undefined first referenced
symbol in file
bind libiperf.a(iperf_tcp.o) (symbol belongs to implicit dependency /lib/amd64/libsocket.so.1)
nanosleep libiperf.a(timer.o)
getsockname libiperf.a(iperf_api.o) (symbol belongs to implicit dependency /lib/amd64/libsocket.so.1)
accept libiperf.a(iperf_server_api.o) (symbol belongs to implicit dependency /lib/amd64/libsocket.so.1)
listen libiperf.a(iperf_tcp.o) (symbol belongs to implicit dependency /lib/amd64/libsocket.so.1)
socket libiperf.a(iperf_tcp.o) (symbol belongs to implicit dependency /lib/amd64/libsocket.so.1)
setsockopt libiperf.a(iperf_api.o) (symbol belongs to implicit dependency /lib/amd64/libsocket.so.1)
getsockopt libiperf.a(iperf_api.o) (symbol belongs to implicit dependency /lib/amd64/libsocket.so.1)
connect libiperf.a(iperf_tcp.o) (symbol belongs to implicit dependency /lib/amd64/libsocket.so.1)
getaddrinfo libiperf.a(iperf_tcp.o) (symbol belongs to implicit dependency /lib/amd64/libsocket.so.1)
hstrerror libiperf.a(iperf_error.o)
getpeername libiperf.a(iperf_api.o) (symbol belongs to implicit dependency /lib/amd64/libsocket.so.1)
recvfrom libiperf.a(iperf_udp.o) (symbol belongs to implicit dependency /lib/amd64/libsocket.so.1)
freeaddrinfo libiperf.a(iperf_tcp.o) (symbol belongs to implicit dependency /lib/amd64/libsocket.so.1)
inet_ntop libiperf.a(iperf_api.o) (symbol belongs to implicit dependency /lib/amd64/libnsl.so.1)
h_errno libiperf.a(iperf_error.o) (symbol belongs to implicit dependency /lib/amd64/libnsl.so.1)
ld: fatal: Symbol referencing errors. No output written to iperf3
collect2: ld returned 1 exit status
make[2]: *** [iperf3] Error 1
make[2]: Leaving directory /home/build/inovick/iperf3/src' make[1]: *** [all] Error 2 make[1]: Leaving directory/home/build/inovick/iperf3/src'
make: *** [all-recursive] Error 1

from iperf.

bmah888 avatar bmah888 commented on July 30, 2024

From novickivan on September 08, 2010 17:31:01

Hi Jon,

It needs -lsocket -lnsl -lrt -lresolv on Solaris

Not sure how to change the auto conf stuff to do that.

If you can commit a new version with the compile and link fixes I can try it on Solaris?

Thanks!

Ivan

from iperf.

bmah888 avatar bmah888 commented on July 30, 2024

From jdugan.esnet on September 20, 2010 14:51:38

Hi Ivan,

This should be fixed as of r300 which I committed moments ago. Can you please test and let me know?

Thanks!

Jon

Status: Fixed

from iperf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.