This is our old Q&A Site. Please post any new questions and answers at

I'm wanting to compile wireshark so I can use it on an ARM platform. I keep getting a configuration error "Function 'socket' not found."

I can do a ./configure with no options just fine and make and make install. But when I run the following command, it gives me that error:

CC=/opt/mv_pro_5.0.0/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t_le-gcc ./configure --host=armv5tl-montavista-linux-gnueabi --prefix=/home/user/workdir

Help would be greatly appreciated!

asked 05 Sep '13, 12:27

sariibunbun's gravatar image

accept rate: 0%

edited 21 Jan '14, 19:53

Guy%20Harris's gravatar image

Guy Harris ♦♦

What does the config.out file say? (You probably won't be able to paste its entire contents as an answer to the question, so you might have to upload it to a site such as pastebin and post a link here.)

(05 Sep '13, 17:02) Guy Harris ♦♦

Hi Guy,

Did you mean config.log? I have that, but not the config.out. I uploaded it to pastebin like you suggested. config.log

Some errors caught my eye as I've been skimming through the log to try to figure this out on my own:

/opt/mv_pro_5.0.0/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5tl-montavista-linux-gnueabi/4.2.0/../../../../armv5tl-montavista-linux-gnueabi/bin/ld: cannot find -lnl-route-3

I'm not sure if this is what is causing it to fail or if it's something else. I do know I have those libraries, but I'm unsure if it's just looking in the wrong spot? I'm also unsure how to change it to look in the right spot either(I'm a little new to this, so please bare with me).

Thanks again!

this is the third time trying to reply to you-it keeps getting blocked my Akismet

(06 Sep '13, 06:07) sariibunbun

Wireshark's configure script has some places where it needs to be fixed in order to support cross-compilation. We'd have to look more at the config.log file (yes, I meant config.log, not config.out) to see all the places where it's failing; the best thing to do here is probably to file a bug on the Wireshark Bugzilla, and attach config.log to the bug.

permanent link

answered 06 Sep '13, 11:53

Guy%20Harris's gravatar image

Guy Harris ♦♦
accept rate: 19%

Thank you for your quick response, Guy! I will add the bug :)

(10 Sep '13, 05:39) sariibunbun

I'm having this problem too... Was the bug filed? Was it fixed?

(21 Jan '14, 17:46) Andrew Knutsen

I never entered the bug unfortunately. Work got crazy hectic and I found a way to fix some issues without having to compile Wireshark. Pretty sure I lost all my info for this as apologies!

(22 Jan '14, 05:42) sariibunbun
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 05 Sep '13, 12:27

question was seen: 2,137 times

last updated: 22 Jan '14, 05:49

p​o​w​e​r​e​d by O​S​Q​A