[uClinux-dev] FTP Server Compiling Problems (Arcturus 5272)

Napoletano Daniel napo at napo.ch
Mon Mar 10 11:53:37 EST 2003


Try to add the -lcryp or $(LIBCRYPT) directive to your Makefile.
Like $(CC) $(LDFLAGS) -o XXXX  $(LIBCRYPT) $(LDLIBS)
Regards Daniel

----- Original Message -----
From: "Rene Gegusch" <rgegusch at mf.tu-berlin.de>
To: <uclinux-dev at uclinux.org>
Sent: Monday, March 10, 2003 2:17 PM
Subject: [uClinux-dev] FTP Server Compiling Problems (Arcturus 5272)


> I tried it on...
>
> because of my troubles with compiling the new distribution, I decided to
add
> the FTPD directory to my "old" distribution and add there the new
> application.
> Should work, don't? It doesn't work better at all.
>
> Here the error message:
> In file included from auth.c:10:
> crypt.h:33: conflicting types for `crypt'
> /home/rgegusch/development/uClinux-coldfire/lib/libc/include/unistd.h:26:
> previous declaration of `crypt'
> In file included from auth.c:12:
>
/usr/local/lib/gcc-lib/m68k-elf/2.95.3/../../../../m68k-elf/sys-include/shad
ow.h:58:
> parse error before `__THROW'
> [...]
>  parse error before `__THROW'
>
/usr/local/lib/gcc-lib/m68k-elf/2.95.3/../../../../m68k-elf/sys-include/shad
ow.h:101:
> warning: data definition has no type or storage class
> auth.c: In function `auth_user':
> auth.c:105: warning: assignment makes pointer from integer without a cast
> auth.c: In function `auth_pass':
> auth.c:156: warning: passing arg 1 of `crypt' discards qualifiers from
pointer
> target type
> auth.c: In function `sgetcred':
> auth.c:189: warning: assignment makes pointer from integer without a cast
>
> Does anyone have any help for me or a "stand-alone" Makefile?
>
> Thank you
>
> _______________________________________________
> uClinux-dev mailing list
> uClinux-dev at uclinux.org
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by uclinux-dev at uclinux.org




More information about the uClinux-dev mailing list