Ticket #12415: libssh.log

File libssh.log, 22.0 KB (added by bakvis_68@…, 17 years ago)

Debug output for libssh-2.0

Line 
1DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/libssh
2DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/libssh
3DEBUG: Requested variant darwin is not provided by port libssh.
4DEBUG: Requested variant i386 is not provided by port libssh.
5DEBUG: Requested variant macosx is not provided by port libssh.
6DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/openssl
7DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/openssl
8DEBUG: Requested variant i386 is not provided by port openssl.
9DEBUG: Requested variant macosx is not provided by port openssl.
10DEBUG: Executing variant darwin provides darwin
11DEBUG: Executing variant darwin_8 provides darwin_8
12DEBUG: Searching for dependency: openssl
13DEBUG: Found Dependency: receipt exists for openssl
14DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/zlib
15DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/zlib
16DEBUG: Requested variant darwin is not provided by port zlib.
17DEBUG: Requested variant i386 is not provided by port zlib.
18DEBUG: Requested variant macosx is not provided by port zlib.
19DEBUG: Searching for dependency: zlib
20DEBUG: Found Dependency: receipt exists for zlib
21DEBUG: Executing org.macports.main (libssh)
22--->  Fetching libssh
23DEBUG: Executing org.macports.fetch (libssh)
24--->  libssh-0.2.tgz doesn't seem to exist in /opt/local/var/macports/distfiles/libssh
25--->  Attempting to fetch libssh-0.2.tgz from http://www.0xbadc0de.be/libssh
26  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
27                                 Dload  Upload   Total   Spent    Left  Speed
28
29  0  321k    0  1105    0     0   6921      0  0:00:47 --:--:--  0:00:47  6921
30  9  321k    9 30295    0     0   100k      0  0:00:03 --:--:--  0:00:03  209k
31100  321k  100  321k    0     0   368k      0 --:--:-- --:--:-- --:--:--  448k
32--->  Verifying checksum(s) for libssh
33DEBUG: Executing org.macports.checksum (libssh)
34--->  Checksumming libssh-0.2.tgz
35DEBUG: Correct (md5) checksum for libssh-0.2.tgz
36DEBUG: Correct (sha1) checksum for libssh-0.2.tgz
37DEBUG: Correct (rmd160) checksum for libssh-0.2.tgz
38--->  Extracting libssh
39DEBUG: Executing org.macports.extract (libssh)
40--->  Extracting libssh-0.2.tgz
41DEBUG: setting option extract.args to /opt/local/var/macports/distfiles/libssh/libssh-0.2.tgz
42DEBUG: Environment:
43DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libssh/work" && gzip -dc /opt/local/var/macports/distfiles/libssh/libssh-0.2.tgz | /usr/bin/gnutar --no-same-owner -xf -'
44DEBUG: Executing org.macports.patch (libssh)
45--->  Configuring libssh
46DEBUG: Executing org.macports.configure (libssh)
47DEBUG: No compiler collection selected explicitly
48DEBUG: Environment: CXXFLAGS='-O2' CPPFLAGS='-I/opt/local/include' CFLAGS='-O2' LDFLAGS='-L/opt/local/lib'
49DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libssh/work/libssh-0.2" && ./configure --prefix=/opt/local'
50checking build system type... i386-apple-darwin8.10.1
51checking host system type... i386-apple-darwin8.10.1
52checking version script options... checking for SSH1 support... no
53checking for gcc... gcc
54checking for C compiler default output file name... a.out
55checking whether the C compiler works... yes
56checking whether we are cross compiling... no
57checking for suffix of executables...
58checking for suffix of object files... o
59checking whether we are using the GNU C compiler... yes
60checking whether gcc accepts -g... yes
61checking for gcc option to accept ISO C89... none needed
62checking for a BSD-compatible install... /usr/bin/install -c
63checking whether ln -s works... yes
64checking whether make sets $(MAKE)... yes
65checking for a sed that does not truncate output... /usr/bin/sed
66checking for grep that handles long lines and -e... /usr/bin/grep
67checking for egrep... /usr/bin/grep -E
68checking for ld used by gcc... /usr/bin/ld
69checking if the linker (/usr/bin/ld) is GNU ld... no
70checking for /usr/bin/ld option to reload object files... -r
71checking for BSD-compatible nm... /usr/bin/nm -p
72checking how to recognise dependent libraries... pass_all
73checking how to run the C preprocessor... gcc -E
74checking for ANSI C header files... yes
75checking for sys/types.h... yes
76checking for sys/stat.h... yes
77checking for stdlib.h... yes
78checking for string.h... yes
79checking for memory.h... yes
80checking for strings.h... yes
81checking for inttypes.h... yes
82checking for stdint.h... yes
83checking for unistd.h... yes
84checking dlfcn.h usability... yes
85checking dlfcn.h presence... yes
86checking for dlfcn.h... yes
87checking for g++... g++
88checking whether we are using the GNU C++ compiler... yes
89checking whether g++ accepts -g... yes
90checking how to run the C++ preprocessor... g++ -E
91checking for g77... no
92checking for f77... no
93checking for xlf... no
94checking for frt... no
95checking for pgf77... no
96checking for cf77... no
97checking for fort77... no
98checking for fl32... no
99checking for af77... no
100checking for f90... no
101checking for xlf90... no
102checking for pgf90... no
103checking for pghpf... no
104checking for epcf90... no
105checking for gfortran... no
106checking for g95... no
107checking for f95... no
108checking for fort... no
109checking for xlf95... no
110checking for ifort... no
111checking for ifc... no
112checking for efc... no
113checking for pgf95... no
114checking for lf95... no
115checking for ftn... no
116checking whether we are using the GNU Fortran 77 compiler... no
117checking whether  accepts -g... no
118checking the maximum length of command line arguments... 196608
119checking command to parse /usr/bin/nm -p output from gcc object... ok
120checking for objdir... .libs
121checking for ar... ar
122checking for ranlib... ranlib
123checking for strip... strip
124checking if gcc supports -fno-rtti -fno-exceptions... no
125checking for gcc option to produce PIC... -fno-common
126checking if gcc PIC flag -fno-common works... yes
127checking if gcc static flag -static works... no
128checking if gcc supports -c -o file.o... yes
129checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
130checking dynamic linker characteristics... darwin8.10.1 dyld
131checking how to hardcode library paths into programs... immediate
132checking whether stripping libraries is possible... yes
133checking if libtool supports shared libraries... yes
134checking whether to build shared libraries... yes
135checking whether to build static libraries... yes
136configure: creating libtool
137appending configuration tag "CXX" to libtool
138checking for ld used by g++... /usr/bin/ld
139checking if the linker (/usr/bin/ld) is GNU ld... no
140checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
141checking for g++ option to produce PIC... -fno-common
142checking if g++ PIC flag -fno-common works... yes
143checking if g++ static flag -static works... no
144checking if g++ supports -c -o file.o... yes
145checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
146checking dynamic linker characteristics... darwin8.10.1 dyld
147checking how to hardcode library paths into programs... immediate
148appending configuration tag "F77" to libtool
149checking whether byte ordering is bigendian... no
150checking for BN_init in -lcrypto... yes
151checking for deflateInit_ in -lz... yes
152checking for library containing hstrerror... none required
153checking for library containing getaddrinfo... none required
154checking for library containing gethostbyname... none required
155checking for ANSI C header files... (cached) yes
156checking fcntl.h usability... yes
157checking fcntl.h presence... yes
158checking for fcntl.h... yes
159checking netdb.h usability... yes
160checking netdb.h presence... yes
161checking for netdb.h... yes
162checking netinet/in.h usability... yes
163checking netinet/in.h presence... yes
164checking for netinet/in.h... yes
165checking for stdlib.h... (cached) yes
166checking for string.h... (cached) yes
167checking sys/socket.h usability... yes
168checking sys/socket.h presence... yes
169checking for sys/socket.h... yes
170checking sys/time.h usability... yes
171checking sys/time.h presence... yes
172checking for sys/time.h... yes
173checking termios.h usability... yes
174checking termios.h presence... yes
175checking for termios.h... yes
176checking for unistd.h... (cached) yes
177checking openssl/aes.h usability... yes
178checking openssl/aes.h presence... yes
179checking for openssl/aes.h... yes
180checking openssl/blowfish.h usability... yes
181checking openssl/blowfish.h presence... yes
182checking for openssl/blowfish.h... yes
183checking openssl/des.h usability... yes
184checking openssl/des.h presence... yes
185checking for openssl/des.h... yes
186checking zlib.h usability... yes
187checking zlib.h presence... yes
188checking for zlib.h... yes
189checking sys/poll.h usability... yes
190checking sys/poll.h presence... yes
191checking for sys/poll.h... yes
192checking for stdint.h... (cached) yes
193checking pty.h usability... no
194checking pty.h presence... no
195checking for pty.h... no
196checking gcrypt.h usability... no
197checking gcrypt.h presence... no
198checking for gcrypt.h... no
199checking for an ANSI C-conforming const... yes
200checking whether time.h and sys/time.h may both be included... yes
201checking for stdlib.h... (cached) yes
202checking for GNU libc compatible malloc... yes
203checking for working memcmp... yes
204checking for stdlib.h... (cached) yes
205checking for GNU libc compatible realloc... yes
206checking sys/select.h usability... yes
207checking sys/select.h presence... yes
208checking for sys/select.h... yes
209checking for sys/socket.h... (cached) yes
210checking types of arguments for select... int,fd_set *,struct timeval *
211checking return type of signal handlers... void
212checking for vprintf... yes
213checking for _doprnt... no
214checking for endpwent... yes
215checking for getaddrinfo... yes
216checking for gethostbyname... yes
217checking for getpass... yes
218checking for memmove... yes
219checking for memset... yes
220checking for cfmakeraw... yes
221checking for select... yes
222checking for socket... yes
223checking for strchr... yes
224checking for strdup... yes
225checking for strerror... yes
226checking for strstr... yes
227checking for poll... yes
228configure: creating ./config.status
229config.status: creating Makefile
230config.status: creating libssh/Makefile
231config.status: creating config.h
232--->  Building libssh with target all
233DEBUG: Executing org.macports.build (libssh)
234DEBUG: Environment:
235DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libssh/work/libssh-0.2" && make all'
236ln -s -f ../../config.h include/libssh/config.h
237/bin/sh ../libtool --mode=compile gcc -O2 -Wall -g -I../include/ -c client.c
238mkdir .libs
239 gcc -O2 -Wall -g -I../include/ -c client.c  -fno-common -DPIC -o .libs/client.o
240 gcc -O2 -Wall -g -I../include/ -c client.c -o client.o >/dev/null 2>&1
241/bin/sh ../libtool --mode=compile gcc -O2 -Wall -g -I../include/ -c packet.c
242 gcc -O2 -Wall -g -I../include/ -c packet.c  -fno-common -DPIC -o .libs/packet.o
243 gcc -O2 -Wall -g -I../include/ -c packet.c -o packet.o >/dev/null 2>&1
244/bin/sh ../libtool --mode=compile gcc -O2 -Wall -g -I../include/ -c dh.c
245 gcc -O2 -Wall -g -I../include/ -c dh.c  -fno-common -DPIC -o .libs/dh.o
246 gcc -O2 -Wall -g -I../include/ -c dh.c -o dh.o >/dev/null 2>&1
247/bin/sh ../libtool --mode=compile gcc -O2 -Wall -g -I../include/ -c crypt.c
248 gcc -O2 -Wall -g -I../include/ -c crypt.c  -fno-common -DPIC -o .libs/crypt.o
249 gcc -O2 -Wall -g -I../include/ -c crypt.c -o crypt.o >/dev/null 2>&1
250/bin/sh ../libtool --mode=compile gcc -O2 -Wall -g -I../include/ -c connect.c
251 gcc -O2 -Wall -g -I../include/ -c connect.c  -fno-common -DPIC -o .libs/connect.o
252 gcc -O2 -Wall -g -I../include/ -c connect.c -o connect.o >/dev/null 2>&1
253/bin/sh ../libtool --mode=compile gcc -O2 -Wall -g -I../include/ -c error.c
254 gcc -O2 -Wall -g -I../include/ -c error.c  -fno-common -DPIC -o .libs/error.o
255 gcc -O2 -Wall -g -I../include/ -c error.c -o error.o >/dev/null 2>&1
256/bin/sh ../libtool --mode=compile gcc -O2 -Wall -g -I../include/ -c buffer.c
257 gcc -O2 -Wall -g -I../include/ -c buffer.c  -fno-common -DPIC -o .libs/buffer.o
258 gcc -O2 -Wall -g -I../include/ -c buffer.c -o buffer.o >/dev/null 2>&1
259/bin/sh ../libtool --mode=compile gcc -O2 -Wall -g -I../include/ -c string.c
260 gcc -O2 -Wall -g -I../include/ -c string.c  -fno-common -DPIC -o .libs/string.o
261 gcc -O2 -Wall -g -I../include/ -c string.c -o string.o >/dev/null 2>&1
262/bin/sh ../libtool --mode=compile gcc -O2 -Wall -g -I../include/ -c kex.c
263 gcc -O2 -Wall -g -I../include/ -c kex.c  -fno-common -DPIC -o .libs/kex.o
264 gcc -O2 -Wall -g -I../include/ -c kex.c -o kex.o >/dev/null 2>&1
265/bin/sh ../libtool --mode=compile gcc -O2 -Wall -g -I../include/ -c channels.c
266 gcc -O2 -Wall -g -I../include/ -c channels.c  -fno-common -DPIC -o .libs/channels.o
267 gcc -O2 -Wall -g -I../include/ -c channels.c -o channels.o >/dev/null 2>&1
268/bin/sh ../libtool --mode=compile gcc -O2 -Wall -g -I../include/ -c options.c
269 gcc -O2 -Wall -g -I../include/ -c options.c  -fno-common -DPIC -o .libs/options.o
270 gcc -O2 -Wall -g -I../include/ -c options.c -o options.o >/dev/null 2>&1
271/bin/sh ../libtool --mode=compile gcc -O2 -Wall -g -I../include/ -c keys.c
272 gcc -O2 -Wall -g -I../include/ -c keys.c  -fno-common -DPIC -o .libs/keys.o
273 gcc -O2 -Wall -g -I../include/ -c keys.c -o keys.o >/dev/null 2>&1
274/bin/sh ../libtool --mode=compile gcc -O2 -Wall -g -I../include/ -c auth.c
275 gcc -O2 -Wall -g -I../include/ -c auth.c  -fno-common -DPIC -o .libs/auth.o
276 gcc -O2 -Wall -g -I../include/ -c auth.c -o auth.o >/dev/null 2>&1
277/bin/sh ../libtool --mode=compile gcc -O2 -Wall -g -I../include/ -c base64.c
278 gcc -O2 -Wall -g -I../include/ -c base64.c  -fno-common -DPIC -o .libs/base64.o
279 gcc -O2 -Wall -g -I../include/ -c base64.c -o base64.o >/dev/null 2>&1
280/bin/sh ../libtool --mode=compile gcc -O2 -Wall -g -I../include/ -c keyfiles.c
281 gcc -O2 -Wall -g -I../include/ -c keyfiles.c  -fno-common -DPIC -o .libs/keyfiles.o
282 gcc -O2 -Wall -g -I../include/ -c keyfiles.c -o keyfiles.o >/dev/null 2>&1
283/bin/sh ../libtool --mode=compile gcc -O2 -Wall -g -I../include/ -c misc.c
284 gcc -O2 -Wall -g -I../include/ -c misc.c  -fno-common -DPIC -o .libs/misc.o
285 gcc -O2 -Wall -g -I../include/ -c misc.c -o misc.o >/dev/null 2>&1
286/bin/sh ../libtool --mode=compile gcc -O2 -Wall -g -I../include/ -c gzip.c
287 gcc -O2 -Wall -g -I../include/ -c gzip.c  -fno-common -DPIC -o .libs/gzip.o
288 gcc -O2 -Wall -g -I../include/ -c gzip.c -o gzip.o >/dev/null 2>&1
289/bin/sh ../libtool --mode=compile gcc -O2 -Wall -g -I../include/ -c wrapper.c
290 gcc -O2 -Wall -g -I../include/ -c wrapper.c  -fno-common -DPIC -o .libs/wrapper.o
291 gcc -O2 -Wall -g -I../include/ -c wrapper.c -o wrapper.o >/dev/null 2>&1
292/bin/sh ../libtool --mode=compile gcc -O2 -Wall -g -I../include/ -c sftp.c
293 gcc -O2 -Wall -g -I../include/ -c sftp.c  -fno-common -DPIC -o .libs/sftp.o
294 gcc -O2 -Wall -g -I../include/ -c sftp.c -o sftp.o >/dev/null 2>&1
295/bin/sh ../libtool --mode=compile gcc -O2 -Wall -g -I../include/ -c server.c
296 gcc -O2 -Wall -g -I../include/ -c server.c  -fno-common -DPIC -o .libs/server.o
297 gcc -O2 -Wall -g -I../include/ -c server.c -o server.o >/dev/null 2>&1
298/bin/sh ../libtool --mode=compile gcc -O2 -Wall -g -I../include/ -c crc32.c
299 gcc -O2 -Wall -g -I../include/ -c crc32.c  -fno-common -DPIC -o .libs/crc32.o
300 gcc -O2 -Wall -g -I../include/ -c crc32.c -o crc32.o >/dev/null 2>&1
301/bin/sh ../libtool --mode=compile gcc -O2 -Wall -g -I../include/ -c session.c
302 gcc -O2 -Wall -g -I../include/ -c session.c  -fno-common -DPIC -o .libs/session.o
303 gcc -O2 -Wall -g -I../include/ -c session.c -o session.o >/dev/null 2>&1
304/bin/sh ../libtool --mode=compile gcc -O2 -Wall -g -I../include/ -c messages.c
305 gcc -O2 -Wall -g -I../include/ -c messages.c  -fno-common -DPIC -o .libs/messages.o
306 gcc -O2 -Wall -g -I../include/ -c messages.c -o messages.o >/dev/null 2>&1
307/bin/sh ../libtool --mode=compile gcc -O2 -Wall -g -I../include/ -c channels1.c
308 gcc -O2 -Wall -g -I../include/ -c channels1.c  -fno-common -DPIC -o .libs/channels1.o
309 gcc -O2 -Wall -g -I../include/ -c channels1.c -o channels1.o >/dev/null 2>&1
310/bin/sh ../libtool --mode=compile gcc -O2 -Wall -g -I../include/ -c auth1.c
311 gcc -O2 -Wall -g -I../include/ -c auth1.c  -fno-common -DPIC -o .libs/auth1.o
312 gcc -O2 -Wall -g -I../include/ -c auth1.c -o auth1.o >/dev/null 2>&1
313/bin/sh ../libtool --mode=compile gcc -O2 -Wall -g -I../include/ -c sftpserver.c
314 gcc -O2 -Wall -g -I../include/ -c sftpserver.c  -fno-common -DPIC -o .libs/sftpserver.o
315 gcc -O2 -Wall -g -I../include/ -c sftpserver.c -o sftpserver.o >/dev/null 2>&1
316/bin/sh ../libtool --mode=compile gcc -O2 -Wall -g -I../include/ -c gcrypt_missing.c
317 gcc -O2 -Wall -g -I../include/ -c gcrypt_missing.c  -fno-common -DPIC -o .libs/gcrypt_missing.o
318 gcc -O2 -Wall -g -I../include/ -c gcrypt_missing.c -o gcrypt_missing.o >/dev/null 2>&1
319/bin/sh ../libtool --mode=compile gcc -O2 -Wall -g -I../include/ -c init.c
320 gcc -O2 -Wall -g -I../include/ -c init.c  -fno-common -DPIC -o .libs/init.o
321 gcc -O2 -Wall -g -I../include/ -c init.c -o init.o >/dev/null 2>&1
322/bin/sh ../libtool --mode=link gcc -o libssh.la -export-dynamic -version-info 2:0:0 -rpath /opt/local/lib/ client.lo packet.lo dh.lo crypt.lo connect.lo error.lo buffer.lo string.lo kex.lo channels.lo options.lo keys.lo auth.lo base64.lo keyfiles.lo misc.lo gzip.lo wrapper.lo sftp.lo server.lo crc32.lo session.lo messages.lo channels1.lo auth1.lo sftpserver.lo gcrypt_missing.lo init.lo -lz -lcrypto  -prebind -seg1addr 0x3a000000 -headerpad_max_install_names  -L/opt/local/lib
323gcc -dynamiclib ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/libssh.2.0.0.dylib  .libs/client.o .libs/packet.o .libs/dh.o .libs/crypt.o .libs/connect.o .libs/error.o .libs/buffer.o .libs/string.o .libs/kex.o .libs/channels.o .libs/options.o .libs/keys.o .libs/auth.o .libs/base64.o .libs/keyfiles.o .libs/misc.o .libs/gzip.o .libs/wrapper.o .libs/sftp.o .libs/server.o .libs/crc32.o .libs/session.o .libs/messages.o .libs/channels1.o .libs/auth1.o .libs/sftpserver.o .libs/gcrypt_missing.o .libs/init.o  -lz -lcrypto -L/opt/local/lib  -install_name  /opt/local/lib//libssh.2.dylib -Wl,-compatibility_version -Wl,3 -Wl,-current_version -Wl,3.0
324(cd .libs && rm -f libssh.2.dylib && ln -s libssh.2.0.0.dylib libssh.2.dylib)
325(cd .libs && rm -f libssh.dylib && ln -s libssh.2.0.0.dylib libssh.dylib)
326ar cru .libs/libssh.a  client.o packet.o dh.o crypt.o connect.o error.o buffer.o string.o kex.o channels.o options.o keys.o auth.o base64.o keyfiles.o misc.o gzip.o wrapper.o sftp.o server.o crc32.o session.o messages.o channels1.o auth1.o sftpserver.o gcrypt_missing.o init.o
327ranlib .libs/libssh.a
328creating libssh.la
329(cd .libs && rm -f libssh.la && ln -s ../libssh.la libssh.la)
330gcc -O2 -Iinclude -Wall    -c -o sample.o sample.c
331gcc -O2 -Iinclude -Wall    -c -o samplesshd.o samplesshd.c
332/bin/sh ./libtool --mode=link gcc -o samplessh sample.o -L/opt/local/lib  -lssh -Llibssh
333mkdir .libs
334gcc -o samplessh sample.o  -L/opt/local/lib -lssh -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libssh/work/libssh-0.2/libssh
335/usr/bin/ld: Undefined symbols:
336_channel_is_closed
337_channel_new
338_channel_select
339_ssh_finalize
340_ssh_get_fd
341_ssh_new
342_ssh_options_getopt
343_ssh_options_new
344_ssh_options_set_host
345_ssh_options_set_username
346_ssh_set_fd_toread
347_ssh_set_options
348collect2: ld returned 1 exit status
349make: *** [samplessh] Error 1
350Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libssh/work/libssh-0.2" && make all " returned error 2
351Command output:  gcc -O2 -Wall -g -I../include/ -c init.c  -fno-common -DPIC -o .libs/init.o
352 gcc -O2 -Wall -g -I../include/ -c init.c -o init.o >/dev/null 2>&1
353/bin/sh ../libtool --mode=link gcc -o libssh.la -export-dynamic -version-info 2:0:0 -rpath /opt/local/lib/ client.lo packet.lo dh.lo crypt.lo connect.lo error.lo buffer.lo string.lo kex.lo channels.lo options.lo keys.lo auth.lo base64.lo keyfiles.lo misc.lo gzip.lo wrapper.lo sftp.lo server.lo crc32.lo session.lo messages.lo channels1.lo auth1.lo sftpserver.lo gcrypt_missing.lo init.lo -lz -lcrypto  -prebind -seg1addr 0x3a000000 -headerpad_max_install_names  -L/opt/local/lib
354gcc -dynamiclib ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/libssh.2.0.0.dylib  .libs/client.o .libs/packet.o .libs/dh.o .libs/crypt.o .libs/connect.o .libs/error.o .libs/buffer.o .libs/string.o .libs/kex.o .libs/channels.o .libs/options.o .libs/keys.o .libs/auth.o .libs/base64.o .libs/keyfiles.o .libs/misc.o .libs/gzip.o .libs/wrapper.o .libs/sftp.o .libs/server.o .libs/crc32.o .libs/session.o .libs/messages.o .libs/channels1.o .libs/auth1.o .libs/sftpserver.o .libs/gcrypt_missing.o .libs/init.o  -lz -lcrypto -L/opt/local/lib  -install_name  /opt/local/lib//libssh.2.dylib -Wl,-compatibility_version -Wl,3 -Wl,-current_version -Wl,3.0
355(cd .libs && rm -f libssh.2.dylib && ln -s libssh.2.0.0.dylib libssh.2.dylib)
356(cd .libs && rm -f libssh.dylib && ln -s libssh.2.0.0.dylib libssh.dylib)
357ar cru .libs/libssh.a  client.o packet.o dh.o crypt.o connect.o error.o buffer.o string.o kex.o channels.o options.o keys.o auth.o base64.o keyfiles.o misc.o gzip.o wrapper.o sftp.o server.o crc32.o session.o messages.o channels1.o auth1.o sftpserver.o gcrypt_missing.o init.o
358ranlib .libs/libssh.a
359creating libssh.la
360(cd .libs && rm -f libssh.la && ln -s ../libssh.la libssh.la)
361gcc -O2 -Iinclude -Wall    -c -o sample.o sample.c
362gcc -O2 -Iinclude -Wall    -c -o samplesshd.o samplesshd.c
363/bin/sh ./libtool --mode=link gcc -o samplessh sample.o -L/opt/local/lib  -lssh -Llibssh
364mkdir .libs
365gcc -o samplessh sample.o  -L/opt/local/lib -lssh -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libssh/work/libssh-0.2/libssh
366/usr/bin/ld: Undefined symbols:
367_channel_is_closed
368_channel_new
369_channel_select
370_ssh_finalize
371_ssh_get_fd
372_ssh_new
373_ssh_options_getopt
374_ssh_options_new
375_ssh_options_set_host
376_ssh_options_set_username
377_ssh_set_fd_toread
378_ssh_set_options
379collect2: ld returned 1 exit status
380make: *** [samplessh] Error 1
381
382Warning: the following items did not execute (for libssh): org.macports.activate org.macports.build org.macports.destroot org.macports.install
383Error: Status 1 encountered during processing.