#50932 closed defect (duplicate)

aircrack-ng @1.2-rc3: Undefined symbols _strnlen

Reported by: stefan-prechtl@… Owned by: ryandesign (Ryan Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: snowleopard leopard tiger Cc:
Port: aircrack-ng

Description

Hello, installing aircrack-ng with MacPorts-2.3.4-10.6-SnowLeopard.pkg and xcode 4.2 produces this error. Can anyone give me a hint?

sudo port install aircrack-ng

-->  Computing dependencies for aircrack-ng
--->  Building aircrack-ng
Error: org.macports.build for port aircrack-ng returned: command execution failed
Please see the log file for port aircrack-ng for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_aircrack-ng/aircrack-ng/main.log

Attachments (1)

main.log (20.5 KB) - added by stefan-prechtl@… 17 months ago.
main.log

Download all attachments as: .zip

Change History (3)

Changed 17 months ago by stefan-prechtl@…

main.log

comment:1 Changed 17 months ago by ryandesign (Ryan Schmidt)

  • Keywords snowleopard leopard tiger added
  • Owner changed from macports-tickets@… to ryandesign@…
  • Summary changed from Error: org.macports.build for port aircrack-ng returned: command execution failed to aircrack-ng @1.2-rc3: Undefined symbols _strnlen

It looks like the problem is that aircrack-ng uses the strnlen function, which does not exist in Snow Leopard. (It was added to OS X in a later version.) You should report this bug to the developers of aircrack-ng. If they want to use strnlen, they should provide a compatibility implementation of it for older operating systems like Snow Leopard that do not provide it.

comment:2 Changed 17 months ago by ryandesign (Ryan Schmidt)

  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate of #47301.

Note: See TracTickets for help on using tickets.