[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: trouble building ncftp-3.0.2 from source



(This belongs on debian-user...)

On Mon, Apr 09, 2001 at 11:35:57PM +0200, Cristian Ionescu-Idbohrn wrote:

> I'm having a hell of a time :( building ncftp-3.0.2 from the source
> package. I get these errors and can't figure out the error source.
> 
> Many of these "undefined references" are in spool.[ch] and cmds.c
> includes spool.h. At least some of them should not make my life
> miserable.
> 
> All this started because I'm trying to build ncftp with libsocksd
> (SOCKS library for dante-client), but that may be a dead end too.

I can say that 3.0.2-3 compiles with no problems on my unstable system.  If you
can give more information about your installation, compiler, etc., we might be
able to help.  If you have been trying to build the package in several
different configurations, have you tried deleting your build directory and
starting from scratch?

> Can anyone please point me in the right direction?
> 
> gcc -DHAVE_LIBREADLINE \
>     -D_LARGEFILE64_SOURCE \
>     -O2 \
>     -Wall \
>     -Dncftp \
>     -DBINDIR=\"/usr/bin\" \
>     -DHAVE_CONFIG_H \
>     -I/home/cii/DEBIAN/WORK/ncftp-3.0.2-3/ncftp-3.0.2 \
>     -I/usr/local/include \
>     -I. \
>     -I../libncftp \
>     -I../Strn \
>     -I../sio \
>     cmds.o cmdlist.o getopt.o ls.o main.o version.o shell.o util.o \
>     readln.o progress.o bookmark.o pref.o preffw.o trace.o spool.o \
>     log.o getline.o \
>     -o ../bin/ncftp \
>     -L../libncftp \
>     -L../Strn \
>     -L../sio \
>     -L/usr/local/lib \
>     -lncftp \
>     -lStrn \
>     -lsio \
>     -lreadline \
>     -s
> cmds.o: In function `JobsCmd':
> cmds.o(.text+0x1e87): undefined reference to `Jobs'
> cmds.o: In function `SpoolCheck':
> cmds.o(.text+0x4e17): undefined reference to `CanSpool'
> cmds.o(.text+0x4e31): undefined reference to `HaveSpool'
> cmds.o: In function `BGStartCmd':
> cmds.o(.text+0x4eb5): undefined reference to `RunBatch'
> cmds.o(.text+0x4ef1): undefined reference to `RunBatch'
> cmds.o: In function `SpoolGetCmd':
> cmds.o(.text+0x516b): undefined reference to `SpoolX'
> cmds.o(.text+0x52cd): undefined reference to `SpoolX'
> cmds.o: In function `SpoolPutCmd':
> cmds.o(.text+0x555b): undefined reference to `SpoolX'
> cmds.o(.text+0x56bd): undefined reference to `SpoolX'
> main.o: In function `InitConnectionInfo':
> main.o(.text+0x19e): undefined reference to `gUnprocessedJobs'
> main.o: In function `CloseHost':
> main.o(.text+0x1f6): undefined reference to `RunBatchIfNeeded'
> main.o: In function `PreInit':
> main.o(.text+0x5f3): undefined reference to `TruncBatchLog'
> 
> Cheers,
> /Cristian
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

-- 
 - mdz



Reply to: