LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
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

Reply
 
Search this Thread
Old 03-16-2008, 03:07 AM   #1
arougen02
LQ Newbie
 
Registered: Feb 2008
Posts: 10

Rep: Reputation: 0
Unhappy 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 .....
 
Old 03-16-2008, 01:37 PM   #2
arougen02
LQ Newbie
 
Registered: Feb 2008
Posts: 10

Original Poster
Rep: Reputation: 0
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..
 
Old 03-17-2008, 12:42 AM   #3
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,245
Blog Entries: 16

Rep: Reputation: 233Reputation: 233Reputation: 233
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?
 
Old 03-18-2008, 03:04 PM   #4
arougen02
LQ Newbie
 
Registered: Feb 2008
Posts: 10

Original Poster
Rep: Reputation: 0
i'm using 6.3 version
 
Old 03-19-2008, 01:58 AM   #5
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,245
Blog Entries: 16

Rep: Reputation: 233Reputation: 233Reputation: 233
ld is in binutils.. so what's the problem with installing?..
 
Old 03-19-2008, 02:15 PM   #6
arougen02
LQ Newbie
 
Registered: Feb 2008
Posts: 10

Original Poster
Rep: Reputation: 0
there is no problem for now but i just wanted to be sure of it...

thanks dear....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
lfs:/mnt/lfs/sources/util-linux-2.12r$ cp -v mount/{,u}mount text-utils/more /tools/b arougen02 Linux - Newbie 2 03-16-2008 12:16 PM
configuring util-linux-2.12r linuxcrazyguy Debian 2 04-10-2007 12:21 AM
util-linux-2.12r error on 'make -C mount mount umount' james penguin Linux From Scratch 2 08-29-2006 12:55 AM
LFS Book Chapter 6 - 1st step (chroot to /mnt/lfs) doens't work bauld Linux From Scratch 11 03-15-2006 01:31 AM
LFS 5.0 with Kernel 2.6.5 -> util-linux 2.12a SEVERE PROBLEM ParticleHunter Linux From Scratch 1 04-13-2004 05:24 PM


All times are GMT -5. The time now is 09:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration