[lfs-support] LFSv7.4 stuck at section 6.9.1
pupreen_lover at yahoo.com
Tue Sep 24 17:37:28 PDT 2013
I have a problim compiling my samba...and this output were given
client/smbmount.c:25:26: fatal error: linux/smb_fs.h: No such file or directory
The following command failed:
gcc -I. -I/sources/samba-3.0.30/source -O -D_SAMBA_BUILD_=3 -I/sources/samba-3.0.30/source/popt -I/sources/samba-3.0.30/source/iniparser/src -Iinclude -I./include -I. -I. -I./lib/replace -I./lib/talloc -I./tdb/include -I./libaddns -I./librpc -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I/sources/samba-3.0.30/source/lib -D_SAMBA_BUILD_=3 -fPIC -c client/smbmount.c -o client/smbmount.o
make: *** [client/smbmount.o] Error 1
can you help me how to solve this problem?
----- Original Message -----
From: William Harrington <kb0iic at berzerkula.org>
To: LFS Support List <lfs-support at linuxfromscratch.org>
Sent: Tuesday, September 24, 2013 11:36 PM
Subject: Re: [lfs-support] LFSv7.4 stuck at section 6.9.1
On Sep 24, 2013, at 4:25 AM, Kodali Sivakiran wrote:
> WHAT MIGHT BE THE REASON??
> In an attempt to understand the problem, i did this outside the
> chroot environment:
> " shiva at shiva-desktop:/$ ldd /tools/bin/gcc
> linux-gate.so.1 => (0xb77dd000)
> libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb761b000)
> /lib/ld-linux.so.2 (0xb77de000) "
> so, does it mean that my /tools/bin/gcc got linked with the host
> libraries rather than my /tools/lib ???
If you were able to chroot, and you can't run gcc because of the error
above, it means that most likely the gcc source and build directories
weren't removed before rebuilding gcc during pass2 in chapter 5. You
need to rebuild gcc.
Unsubscribe: See the above information page
More information about the lfs-support