LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (http://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   lfs:/mnt/lfs/sources/util-linux-2.12r$ cp -v mount/{,u}mount text-utils/more /tools/b (http://www.linuxquestions.org/questions/linux-from-scratch-13/lfs-mnt-lfs-sources-util-linux-2-12r%24-cp-v-mount-%7B-u%7Dmount-text-utils-more-tools-b-628376/)

arougen02 03-16-2008 02:07 AM

lfs:/mnt/lfs/sources/util-linux-2.12r$ cp -v mount/{,u}mount text-utils/more /tools/b
 
HI i'm getting that error in chapter 5...



of '__builtin_strcmp' differ in signedness
mount_guess_fstype.c:297: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
mount_guess_fstype.c:297: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
mount_guess_fstype.c:297: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness
mount_guess_fstype.c:392: warning: pointer targets in passing argument 1 of 'reiserfs_magic_version' differ in signedness
mount_guess_fstype.c:442: warning: pointer targets in passing argument 1 of 'reiserfs_magic_version' differ in signedness
mount_guess_fstype.c:456: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
mount_guess_fstype.c:456: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
mount_guess_fstype.c:456: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
mount_guess_fstype.c:456: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
mount_guess_fstype.c:456: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
mount_guess_fstype.c:456: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
mount_guess_fstype.c:456: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
mount_guess_fstype.c:456: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness
cc -c -pipe -O2 -mtune=i486 -fomit-frame-pointer -I../lib -Wall -Wmissing-prototypes -Wstrict-prototypes -DNCH=1 -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -O2 -DHAVE_NFS getusername.c
cc -c -pipe -O2 -mtune=i486 -fomit-frame-pointer -I../lib -Wall -Wmissing-prototypes -Wstrict-prototypes -DNCH=1 -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -O2 -DHAVE_NFS ../lib/setproctitle.c
cc -c -pipe -O2 -mtune=i486 -fomit-frame-pointer -I../lib -Wall -Wmissing-prototypes -Wstrict-prototypes -DNCH=1 -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -O2 -DHAVE_NFS ../lib/env.c
cc -c -pipe -O2 -mtune=i486 -fomit-frame-pointer -I../lib -Wall -Wmissing-prototypes -Wstrict-prototypes -DNCH=1 -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -O2 -DHAVE_NFS nfsmount.c
rm -f nfsmount_xdr.c
rpcgen -c -o nfsmount_xdr.c nfsmount.x
cc -c -pipe -O2 -mtune=i486 -fomit-frame-pointer -I../lib -Wall -Wmissing-prototypes -Wstrict-prototypes -DNCH=1 -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -O2 -DHAVE_NFS -Wno-unused nfsmount_xdr.c
nfsmount_xdr.c: In function 'xdr_mountres3_ok':
nfsmount_xdr.c:98: warning: dereferencing type-punned pointer will break strict-aliasing rules
rm -f nfsmount_clnt.c
rpcgen -l -o nfsmount_clnt.c nfsmount.x
cc -c -pipe -O2 -mtune=i486 -fomit-frame-pointer -I../lib -Wall -Wmissing-prototypes -Wstrict-prototypes -DNCH=1 -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -O2 -DHAVE_NFS -Wno-unused nfsmount_clnt.c
cc -c -pipe -O2 -mtune=i486 -fomit-frame-pointer -I../lib -Wall -Wmissing-prototypes -Wstrict-prototypes -DNCH=1 -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -O2 -DHAVE_NFS lomount.c
lomount.c: In function 'set_loop':
lomount.c:265: warning: pointer targets in passing argument 1 of 'xstrncpy' differ in signedness
lomount.c:273: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness
lomount.c:303: warning: pointer targets in passing argument 1 of 'xstrncpy' differ in signedness
cc -c -pipe -O2 -mtune=i486 -fomit-frame-pointer -I../lib -Wall -Wmissing-prototypes -Wstrict-prototypes -DNCH=1 -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -O2 -DHAVE_NFS ../lib/xstrncpy.c
cc -s mount.o fstab.o sundries.o xmalloc.o realpath.o mntent.o version.o get_label_uuid.o mount_by_label.o mount_blkid.o mount_guess_fstype.o getusername.o ../lib/setproctitle.o ../lib/env.o nfsmount.o nfsmount_xdr.o nfsmount_clnt.o lomount.o ../lib/xstrncpy.o -o mount
cc: ../lib/setproctitle.o: No such file or directory
cc: ../lib/env.o: No such file or directory
cc: ../lib/xstrncpy.o: No such file or directory
make: *** [mount] Error 1
make: Leaving directory `/mnt/lfs/sources/util-linux-2.12r/mount'
lfs:/mnt/lfs/sources/util-linux-2.12r$ make -C text-utils more
make: Entering directory `/mnt/lfs/sources/util-linux-2.12r/text-utils'
cc -c -pipe -O2 -mtune=i486 -fomit-frame-pointer -I../lib -Wall -Wmissing-prototypes -Wstrict-prototypes -DNCH=1 -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -O2 more.c -o more.o
more.c: In function 'my_setupterm':
more.c:188: warning: passing argument 1 of 'setupterm' discards qualifiers from pointer target type
more.c: In function 'my_tgoto':
more.c:208: warning: passing argument 1 of 'tparm' discards qualifiers from pointer target type
more.c: In function 'get_line':
more.c:814: warning: pointer targets in passing argument 2 of 'mbrtowc' differ in signedness
more.c:933: warning: pointer targets in passing argument 2 of 'mbrtowc' differ in signedness
more.c: In function 'command':
more.c:1271: warning: pointer targets in passing argument 1 of 'ttyin' differ in signedness
more.c: In function 'do_shell':
more.c:1472: warning: pointer targets in passing argument 1 of 'ttyin' differ in signedness
more.c: In function 'ttyin':
more.c:1865: warning: pointer targets in passing argument 2 of 'mbrtowc' differ in signedness
cc -c -pipe -O2 -mtune=i486 -fomit-frame-pointer -I../lib -Wall -Wmissing-prototypes -Wstrict-prototypes -DNCH=1 -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -O2 ../lib/xstrncpy.c -o ../lib/xstrncpy.o
cc -pipe -O2 -mtune=i486 -fomit-frame-pointer -I../lib -Wall -Wmissing-prototypes -Wstrict-prototypes -DNCH=1 -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -O2 -s more.o ../lib/xstrncpy.o -o more -lncurses
make: Leaving directory `/mnt/lfs/sources/util-linux-2.12r/text-utils'
lfs:/mnt/lfs/sources/util-linux-2.12r$ cp -v mount/{,u}mount text-utils/more /tools/bin
cp: cannot stat `mount/mount': No such file or directory
cp: cannot stat `mount/umount': No such file or directory
`text-utils/more' -> `/tools/bin/more'
lfs:/mnt/lfs/sources/util-linux-2.12r$ cp -v mount/{,u}mount text-utils/more /tools/bin


can anyone help me plz....i'm doing it for my final project of my degree

thanks in advance .....

arougen02 03-16-2008 12:37 PM

thaks anyway i have already my error
i'm going to restart the LFS from the beginning....
but there is something that is worring me...it the ld installer that need to be done in chapter 5...

can anyone tell me wat to do and were to do it..

konsolebox 03-16-2008 11:42 PM

Quote:

but there is something that is worring me...it the ld installer that need to be done in chapter 5...
can you tell us what book version you're using?

arougen02 03-18-2008 02:04 PM

i'm using 6.3 version

konsolebox 03-19-2008 12:58 AM

ld is in binutils.. so what's the problem with installing?..

arougen02 03-19-2008 01:15 PM

there is no problem for now but i just wanted to be sure of it...

thanks dear....


All times are GMT -5. The time now is 12:11 PM.