Opened 12 years ago

Last modified 12 years ago

#3187 closed Bug report

miss in6addr_loopback and in6addr_any cause link error

Reported by: nonsea Owned by:
Priority: normal Component: Other
Keywords: Cc: nonsea, Tim Kosse
Component version: Operating system type:
Operating system version:

Description

On solaris,

/ws/onnv-tools-prc/SUNWspro/SS11/bin/cc -g -o fzsftp fzsftp-ssh.o fzsftp-sshcrc.o fzsftp-sshdes.o fzsftp-sshmd5.o fzsftp-sshrsa.o fzsftp-sshrand.o fzsftp-sshsha.o fzsftp-sshblowf.o fzsftp-sshdh.o fzsftp-sshcrcda.o fzsftp-sshpubk.o fzsftp-sshzlib.o fzsftp-sshdss.o fzsftp-x11fwd.o fzsftp-portfwd.o fzsftp-sshaes.o fzsftp-sshsh256.o fzsftp-sshsh512.o fzsftp-sshbn.o fzsftp-wildcard.o fzsftp-pinger.o fzsftp-ssharcf.o fzsftp-sftp.o fzsftp-int64.o fzsftp-logging.o fzsftp-be_none.o fzsftp-cproxy.o fzsftp-psftp.o fzsftp-cmdline.o fzsftp-timing.o fzsftp-misc.o fzsftp-version.o fzsftp-settings.o fzsftp-tree234.o fzsftp-proxy.o fzsftp-fzsftp.o fzsftp-time.o unix/libfzsftp_ux.a -lxnet
Undefined first referenced

symbol in file

in6addr_loopback unix/libfzsftp_ux.a(uxnet.o)
in6addr_any unix/libfzsftp_ux.a(uxnet.o)
ld: fatal: Symbol referencing errors. No output written to fzsftp

Attachments (1)

filezilla-04-socket.diff (604 bytes) - added by nonsea 12 years ago.
rework on patch with checking the library in configure

Download all attachments as: .zip

Change History (5)

comment:1 Changed 12 years ago by nonsea

File Added: filezilla-04-socket.diff

comment:2 Changed 12 years ago by Tim Kosse

Please write a proper configure check, you can't just add -lsocket unconditionally, it doesn't exist everywhere.

Changed 12 years ago by nonsea

Attachment: filezilla-04-socket.diff added

rework on patch with checking the library in configure

comment:3 Changed 12 years ago by nonsea

File Added: filezilla-04-socket.diff

comment:4 Changed 12 years ago by Tim Kosse

Thanks for the patch.

Remark: Makes me wonder why these are exported symbols and not just constants declared in some header.

Note: See TracTickets for help on using tickets.