Ticket #260 (closed defect: fixed)

Opened 2 years ago

Last modified 15 months ago

Unable to configure for compile on Solaris2.10 - inet_aton issue...again

Reported by: Jim_West@… Owned by: aturner
Priority: low Milestone: 3.2.1
Component: tcpreplay Version: 3.2.0
Keywords: Cc:
Operating System: Solaris2.10 Add to FAQ?: no
Hardware: All
Output of tcpreplay -V:

Description

Downloaded tcpreplay kit 3.2.0.

Executed configure script ./configure --with-libpcap=/libpcap-0.9.7 --enable-debug

The configure script exits with:

checking for vsnprintf... yes checking for strlcpy... yes checking whether byte ordering is bigendian... yes configure: Using u_int64_t for packet counters checking for inet_aton... no checking for inet_pton... yes checking for inet_ntop... yes configure: error: We need inet_aton

Cononical name: sparc-sun-solaris2.10

uname -a: SunOS myservername 5.10 Generic_118833-36 sun4u sparc SUNW,Sun-Fire-V440

gcc -v: Using built-in specs. Target: sparc-sun-solaris2.10 Configured with: /net/tibia/export/bldmstr/nightly/20061019_mars_gcc.s10.opt.tarbuild/src/configure --prefix=/opt/gcc --enable-shared --with-system-zlib --enable-checking=release --disable-libmudflap --enable-languages=c,c++ --enable-version-specific-runtime-libs --with-gxx-include-dir=/opt/gcc/include/c++/4.0.3 --with-cpu=v9 Thread model: posix gcc version 4.0.3 (gccfss)

I've seen previous tickets stating that this has been resolved but does not appear to be for me. I've also not found anything relevant in the documentation.

Thank you for your assistance.

Attachments

config.log Download (74.4 KB) - added by Jim@… 2 years ago.
config output from Solaris

Change History

Changed 2 years ago by aturner

  • status changed from new to assigned

Changed 2 years ago by aturner

  • add_to_faq set
  • priority changed from medium to low
  • milestone set to 3.3

Hi Jim,

Unfortunately, I don't have a Solaris box available to me where I can do any debugging. I've done some research into this issue, and I'm frankly confused why inet_pton() is available, but inet_aton() is not. If you could provide the full config.log that might help.

Unfortunately, without access to a Solaris box, I can only guess at the cause to your problem. I'll tag this for 3.3, but it may get postponed unless I can get more info.

Changed 2 years ago by aturner

  • milestone changed from 3.3 to 3.2.1

Changed 2 years ago by aturner

Hey Jim, can you please attach the config.log to this ticket? Otherwise this ticket is going to get closed 'wontfix'.

Thanks, Aaron

Changed 2 years ago by aturner

(In [1913]) custom inet_aton() code for OS's like Solaris which are missing it apparently refs #260

Changed 2 years ago by aturner

  • status changed from assigned to closed
  • resolution set to fixed

Unable to test fix. Marking closed. Hopefully someone will complain if I failed.

Changed 2 years ago by Jim@…

config output from Solaris

Changed 2 years ago by aturner

  • add_to_faq unset
Note: See TracTickets for help on using tickets.