Opened 9 years ago

Closed 9 years ago

#50932 closed defect (duplicate)

aircrack-ng @1.2-rc3: Undefined symbols _strnlen

Reported by: stefan-prechtl@… Owned by: ryandesign (Ryan Carsten 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@… 9 years ago.
main.log

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by stefan-prechtl@…

Attachment: main.log added

main.log

comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: snowleopard leopard tiger added
Owner: changed from macports-tickets@… to ryandesign@…
Summary: Error: org.macports.build for port aircrack-ng returned: command execution failedaircrack-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 9 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed

Duplicate of #47301.

Note: See TracTickets for help on using tickets.