Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
03-16-2008, 03:07 AM
#1
LQ Newbie
Registered: Feb 2008
Posts: 10
Rep:
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 .....
03-16-2008, 01:37 PM
#2
LQ Newbie
Registered: Feb 2008
Posts: 10
Original Poster
Rep:
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..
03-17-2008, 12:42 AM
#3
Senior Member
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
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?
03-18-2008, 03:04 PM
#4
LQ Newbie
Registered: Feb 2008
Posts: 10
Original Poster
Rep:
i'm using 6.3 version
03-19-2008, 01:58 AM
#5
Senior Member
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
ld is in binutils.. so what's the problem with installing?..
03-19-2008, 02:15 PM
#6
LQ Newbie
Registered: Feb 2008
Posts: 10
Original Poster
Rep:
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 08:31 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News