Hello.

Short question: What shall we use to link libraries/programs: gcc or ld?
Why?

A bit longer story: I have a problem during linking of wepattack on
amd64 systems. Linking stage issues warning:

$ x86_64-pc-linux-gnu-ld  -o wepattack wepattack.o rc4.o wepfilter.o
log.o modes.o misc.o verify.o keygen.o -lpcap -lz -lcrypto
ld: warning: cannot find entry symbol _start; defaulting to
0000000000400e10

And resulted file is not executable. In google I found the most of
tutorials/howtos suggest to link with gcc but some programs still use
LD. From ld man page it's clear that it should link the program but this
is not working. So what is the right way to do that? Why?

Thank you for your time,
Peter.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to