Opened 2 years ago

Closed 2 years ago

#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


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: for port aircrack-ng returned: command execution failed
Please see the log file for port aircrack-ng for details:

Attachments (1)

main.log (20.5 KB) - added by stefan-prechtl@… 2 years ago.

Download all attachments as: .zip

Change History (3)

Changed 2 years ago by stefan-prechtl@…

Attachment: main.log added


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

Keywords: snowleopard leopard tiger added
Owner: changed from macports-tickets@… to ryandesign@…
Summary: Error: 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 2 years ago by ryandesign (Ryan Schmidt)

Resolution: duplicate
Status: newclosed

Duplicate of #47301.

Note: See TracTickets for help on using tickets.