pthreadtypes.h Error

Ali Khan pak_jobs_tar_gz at yahoo.com
Thu Jan 19 13:00:18 UTC 2006


 Hi,
      i have also tried with DAILY SNAPSHOT enabled plus today i have used the .config file U have send but i get the same error..
 make[4]: Entering directory `/root/buildroot/toolchain_build_mipsel/uClibc-0.9.28/libc/misc/ctype'
 /root/buildroot/build_mipsel/staging_dir/bin/mipsel-linux-uclibc-gcc  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing  -mips32 -mtune=mips32  -fno-builtin -nostdinc -D_LIBC -I../../../include -I.  -Os -funit-at-a-time  -mno-split-addresses -isystem /root/buildroot/build_mipsel/staging_dir/lib/gcc/mipsel-linux-uclibc/3.4.2/include -DNDEBUG -fPIC -DL_isalnum ctype.c -c -o isalnum.o
 In file included from ../../../include/locale.h:30,
                  from ctype.c:38:
 ../../../include/bits/uClibc_locale.h:77:37: bits/uClibc_locale_data.h: No such file or directory
 make[4]: *** [isalnum.o] Error 1
 
 After "make menuconfig" when I "make" it again asks for a series of options, may b im making some mistake there..
  please help me

Itzhak Ben-Akiva <itzhak.benakiva at guardit-tech.com> wrote: Hi Ali,

As I mentioned to you before, I got also the same error whenever I
compiled uclibc through buildroot with uclibc DAILY SNAPSHOT enabled.
I checked the config file you sent to me and, I saw that you still had
this optioned enabled. I disabled (# BR2_UCLIBC_VERSION_SNAPSHOT is not
set) and, the compilation went smoothly and successful.

I'm sending to you the config file I have changed, so you can use it.


cheers,
Itzhak

On Tue, 2006-01-17 at 01:27 -0800, Ali Khan wrote:
> I have attached my .config file..I have only changed the processor and
> the rest is all default in it... following is the error line
> 
> include/bits/uClibc_locale.h:77:37: bits/uClibc_locale_data.h: No such
> file or directory
> 
> Thanks for the help
>  
> Regards,
> Ali
> 
> Itzhak Ben-Akiva  wrote:
>         can you send me your .config file. You can find it into
>         buildroot
>         directory. Thus, 'll be able to see the option you chose.
>         
>         
>         thanks,
>         Itzhak
>         
>         On Mon, 2006-01-16 at 23:34 -0800, Ali Khan wrote:
>         > Thanks for the reply.. I have disabled the "Use daily
>         snapshot option"
>         > and again make it.. Now i got another error---> " locale.h
>         No such
>         > file or directory".. Im confused about all this.. Whether !
>         i need some
>         > library or wat are the right uClibc configuration options
>         coz i dont
>         > understand some options so i leave them as default..
>         > 
>         > Itzhak Ben-Akiva  wrote:
>         > Hi,
>         > 
>         > This is an error that I posted here about two weeks ago.
>         > Apparently,
>         > this error has not been solved yet. If you compile uclibc
>         > through
>         > buildroot and, if you choose to in buildroot configuration
>         > menu (make
>         > menuconfig) to use daily snapshot, you always get this
>         error.
>         > 
>         > Ok, let's suppose you copy the missing into the proper
>         > directory, i.e.,
>         > cp /usr/include/bits/pthreadtypes.h
>         > toolchain_build_mipsel/uClibc_dev//usr/include/bits/. 
>         > 
>         > The compilation will finish successfully. However, test
>         > tho! roughly the
>         > use of threads on your system.
>         > 
>         > In the other hand, if you don't use daily snapshot for
>         uclibc
>         > the
>         > compilation goes smoothly. 
>         > 
>         > Itzhak
>         > 
>         > On Mon, 2006-01-16 at 05:06 -0800, Ali Khan wrote:
>         > > Can somebody help me with this error..I have pasted the
>         > error lines
>         > > below( in red)...
>         > > 
>         > > In file included
>         > >
>         >
>         from /root/buildroot/toolchain_build_mipsel/uClibc_dev//usr/include/stdio.h:36,
>         > > 
>         > >
>         >
>         from /root/buildroot/toolchain_build_mipsel/gcc-3.4.4/gcc/tsystem.h:79,
>         > > 
>         > >
>         >
>         from /root/buildroot/toolchain_build_mipsel/gcc-3.4.4/gcc/crtstuff.c:62:
>         >
> > /root/buildroot/toolchain_build_mipsel/uClibc_dev//usr/include/bits/types.h:164:32: bits/pthreadtypes.h: No such file or directory
>         > > In file included
>         > >
>         >
>         from /root/buildroot/toolchain_build_mipsel/uClibc_dev//usr/include/stdio.h:72,
>         > > 
>         > >
>         >
>         from /root/buildroot/toolchain_build_mipsel/gcc-3.4.4/gcc/tsystem.h:79,
>         > > 
>         > >
>         >
>         from /root/buildroot/toolchain_build_mipsel/gcc-3.4.4/gcc/crtstuff.c:62:
>         >
> > /root/buildroot/toolchain_build_mipsel/uClibc_dev//usr/include/bits/uClibc_stdio.h:299: error: parse error before "pthread_mutex_t"
>         > > make[2]: *** [crtbegin.o] Error 1
>         > > make[2]: Leaving directory
>         > >
>         >
>         `/root/buildroot/toolchain_build_mipsel/gcc-3.4.4-initial/gcc'
>         > > make[1]: *** [all-gcc] Error 2
>         > > make[1]: Leaving directory
>         > > `/root/buildroot/toolchain_build_mipsel/gcc-3.4.4-initial'
>         > > make: ***
>         > >
>         >
>         [/root/buildroot/toolchain_build_mipsel/gcc-3.4.4-initial/.compiled]
>         > > Error 2
>         > > Do i need any library?
>         > > 
>         > > 
>         > > Thanks in advance
>         > > 
>         > >
>         >
>         ______________________________________________________________________
>         > > Yahoo! Photos – Showc! ase holiday pictures in
>         hardcover
>         > > Photo Books. You design it and we’ll bind it! 
>         > > _______________________________________________
>         > > uClibc mailing list
>         > > uClibc at uclibc.org
>         > > http://busybox.net/cgi-bin/mailman/listinfo/uclibc
>         > 
>         > 
>         > 
>         > 
>         >
>         ______________________________________________________________________
>         > Yahoo! Photos
>         > Ring in the New Year with Photo Calendars. Add photos,
>         events,
>         > holidays, whatever.
>         
> 
> 
> 
> ______________________________________________________________________
> Yahoo! Photos
> Ring in the New Year with Photo Calendars. Add photos, events,
> holidays, whatever.
#
# Automatically generated make config: don't edit
#
BR2_HAVE_DOT_CONFIG=y
# BR2_alpha is not set
# BR2_arm is not set
# BR2_armeb is not set
# BR2_cris is not set
# BR2_i386 is not set
# BR2_m68k is not set
# BR2_mips is not set
BR2_mipsel=y
# BR2_nios2 is not set
# BR2_powerpc is not set
# BR2_sh is not set
# BR2_sparc is not set
# BR2_x86_64 is not set
# BR2_x86_i386 is not set
# BR2_x86_i486 is not set
# BR2_x86_i586 is not set
# BR2_x86_i686 is not set
BR2_ARCH="mipsel"
BR2_ENDIAN="LITTLE"

#
# Build options
#
BR2_WGET="wget --passive-ftp"
BR2_SVN="svn co"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(BASE_DIR)/dl"
BR2_SOURCEFORGE_MIRROR="easynews"
BR2_STAGING_DIR="$(BUILD_DIR)/staging_dir"
BR2_TOPDIR_PREFIX=""
BR2_TOPDIR_SUFFIX=""
BR2_GNU_BUILD_SUFFIX="pc-linux-gnu"
BR2_JLEVEL=1

#
# Toolchain Options
#

#
# Kernel Header Options
#
# BR2_KERNEL_HEADERS_2_4_25 is not set
# BR2_KERNEL_HEADERS_2_4_27 is not set
# BR2_KERNEL_HEADERS_2_4_29 is not set
BR2_KERNEL_HEADERS_2_4_31=y
# BR2_KERNEL_HEADERS_2_6_9 is not set
# BR2_KERNEL_HEADERS_2_6_11 is not set
# BR2_KERNEL_HEADERS_2_6_12 is not set
BR2_DEFAULT_KERNEL_HEADERS="2.4.31"

#
# uClibc Options
#
# BR2_UCLIBC_VERSION_SNAPSHOT is not set
# BR2_ENABLE_LOCALE is not set
# BR2_PTHREADS_NONE is not set
# BR2_PTHREADS is not set
BR2_PTHREADS_OLD=y
# BR2_PTHREADS_NATIVE is not set

#
# Binutils Options
#
# BR2_BINUTILS_VERSION_2_14_90_0_8 is not set
# BR2_BINUTILS_VERSION_2_15 is not set
# BR2_BINUTILS_VERSION_2_15_94_0_2_2 is not set
# BR2_BINUTILS_VERSION_2_15_97 is not set
# BR2_BINUTILS_VERSION_2_16 is not set
BR2_BINUTILS_VERSION_2_16_1=y
# BR2_BINUTILS_VERSION_2_16_90_0_3 is not set
# BR2_BINUTILS_VERSION_2_16_91_0_2 is not set
# BR2_BINUTILS_VERSION_2_16_91_0_3 is not set
# BR2_BINUTILS_VERSION_2_16_91_0_4 is not set
# BR2_BINUTILS_VERSION_2_16_91_0_5 is not set
BR2_BINUTILS_VERSION="2.16.1"

#
# Gcc Options
#
# BR2_GCC_VERSION_3_3_5 is not set
# BR2_GCC_VERSION_3_3_6 is not set
BR2_GCC_VERSION_3_4_2=y
# BR2_GCC_VERSION_3_4_3 is not set
# BR2_GCC_VERSION_3_4_4 is not set
# BR2_GCC_VERSION_3_4_5 is not set
# BR2_GCC_VERSION_4_0_0 is not set
# BR2_GCC_VERSION_4_0_1 is not set
# BR2_GCC_VERSION_4_0_2 is not set
# BR2_GCC_VERSION_4_1_0 is not set
# BR2_GCC_VERSION_4_2_0 is not set
BR2_GCC_VERSION="3.4.2"
# BR2_GCC_USE_SJLJ_EXCEPTIONS is not set
BR2_EXTRA_GCC_CONFIG_OPTIONS=""
# BR2_INSTALL_LIBSTDCPP is not set
# BR2_INSTALL_OBJC is not set

#
# Ccache Options
#
BR2_CCACHE=y

#
# Gdb Options
#
# BR2_PACKAGE_GDB is not set
# BR2_PACKAGE_GDB_SERVER is not set
# BR2_PACKAGE_GDB_CLIENT is not set

#
# elf2flt
#
# BR2_ELF2FLT is not set

#
# Common Toolchain Options
#
# BR2_PACKAGE_SSTRIP_TARGET is not set
# BR2_PACKAGE_SSTRIP_HOST is not set
BR2_ENABLE_MULTILIB=y
BR2_LARGEFILE=y
# BR2_SOFT_FLOAT is not set
BR2_TARGET_OPTIMIZATION="-Os -pipe"
BR2_CROSS_TOOLCHAIN_TARGET_UTILS=y

#
# Package Selection for the target
#

#
# The default minimal system
#
BR2_PACKAGE_BUSYBOX=y
BR2_PACKAGE_BUSYBOX_SNAPSHOT=y
BR2_PACKAGE_BUSYBOX_INSTALL_SYMLINKS=y
BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox.config"

#
# The minimum needed to build a uClibc development system
#
# BR2_PACKAGE_BASH is not set
# BR2_PACKAGE_BZIP2 is not set
# BR2_PACKAGE_COREUTILS is not set
# BR2_PACKAGE_DIFFUTILS is not set
# BR2_PACKAGE_ED is not set
# BR2_PACKAGE_FINDUTILS is not set
# BR2_PACKAGE_FLEX is not set
# BR2_PACKAGE_GAWK is not set
# BR2_PACKAGE_GCC_TARGET is not set
# BR2_PACKAGE_CCACHE_TARGET is not set
# BR2_PACKAGE_GREP is not set
# BR2_PACKAGE_MAKE is not set
# BR2_PACKAGE_PATCH is not set
# BR2_PACKAGE_SED is not set
# BR2_PACKAGE_TAR is not set

#
# Other stuff
#
# BR2_PACKAGE_ACPID is not set
# BR2_PACKAGE_AT is not set
# BR2_PACKAGE_AUTOCONF is not set
# BR2_PACKAGE_AUTOMAKE is not set
# BR2_PACKAGE_BERKELEYDB is not set
# BR2_PACKAGE_BISON is not set
# BR2_PACKAGE_BOA is not set
# BR2_PACKAGE_BRIDGE is not set
# BR2_PACKAGE_CUSTOMIZE is not set
# BR2_PACKAGE_ISC_DHCP is not set
# BR2_PACKAGE_DIRECTFB is not set
# BR2_PACKAGE_DISTCC is not set
# BR2_PACKAGE_DM is not set
# BR2_PACKAGE_DNSMASQ is not set
# BR2_PACKAGE_DROPBEAR is not set
# BR2_PACKAGE_E2FSPROGS is not set
# BR2_PACKAGE_FAKEROOT is not set
# BR2_PACKAGE_FILE is not set
# BR2_PACKAGE_FREETYPE is not set
# BR2_PACKAGE_GETTEXT is not set
# BR2_PACKAGE_GZIP is not set
# BR2_PACKAGE_HOSTAP is not set
# BR2_PACKAGE_HOTPLUG is not set
# BR2_PACKAGE_IOSTAT is not set
# BR2_PACKAGE_IPROUTE2 is not set
# BR2_PACKAGE_IPTABLES is not set
# BR2_PACKAGE_JPEG is not set
# BR2_PACKAGE_LESS is not set
# BR2_PACKAGE_LIBELF is not set
# BR2_PACKAGE_LIBFLOAT is not set
# BR2_PACKAGE_LIBGLIB12 is not set
# BR2_PACKAGE_LIBMAD is not set
# BR2_PACKAGE_LIBPCAP is not set
# BR2_PACKAGE_LIBPNG is not set
# BR2_PACKAGE_LIBSYSFS is not set
# BR2_PACKAGE_LIBTOOL is not set
# BR2_PACKAGE_LIBUSB is not set
# BR2_PACKAGE_LINKS is not set
# BR2_PACKAGE_LRZSZ is not set
# BR2_PACKAGE_LTP-TESTSUITE is not set
# BR2_PACKAGE_LTT is not set
# BR2_PACKAGE_LVM2 is not set
# BR2_PACKAGE_LZO is not set
# BR2_PACKAGE_M4 is not set
# BR2_PACKAGE_MDADM is not set
# BR2_PACKAGE_MEMTESTER is not set
# BR2_PACKAGE_MICROCOM is not set
# BR2_PACKAGE_MICROPERL is not set
# BR2_PACKAGE_MICROWIN is not set
# BR2_PACKAGE_MKDOSFS is not set
# BR2_PACKAGE_MODULE_INIT_TOOLS is not set
# BR2_PACKAGE_MODUTILS is not set
# BR2_PACKAGE_MPG123 is not set
# BR2_PACKAGE_MROUTED is not set
# BR2_PACKAGE_MTD is not set
# BR2_PACKAGE_NANO is not set
# BR2_PACKAGE_NCURSES is not set
# BR2_PACKAGE_NETKITBASE is not set
# BR2_PACKAGE_NETKITTELNET is not set
# BR2_PACKAGE_NETSNMP is not set
# BR2_PACKAGE_NEWT is not set
# BR2_PACKAGE_NTP is not set
# BR2_PACKAGE_OPENNTPD is not set
# BR2_PACKAGE_OPENSSH is not set
# BR2_PACKAGE_OPENSSL is not set
# BR2_PACKAGE_OPENVPN is not set
# BR2_PACKAGE_PCIUTILS is not set
# BR2_PACKAGE_PORTAGE is not set
# BR2_PACKAGE_PORTMAP is not set
# BR2_PACKAGE_PPPD is not set
# BR2_PACKAGE_PROCPS is not set
# BR2_PACKAGE_PSMISC is not set
# BR2_PACKAGE_PYTHON is not set
# BR2_PACKAGE_QTE is not set
BR2_QTE_TMAKE_VERSION="1.13"
# BR2_PACKAGE_RAIDTOOLS is not set
# BR2_READLINE is not set
# BR2_PACKAGE_RSYNC is not set
# BR2_PACKAGE_RXVT is not set
# BR2_PACKAGE_SDL is not set
# BR2_PACKAGE_SFDISK is not set
# BR2_PACKAGE_SLANG is not set
# BR2_PACKAGE_SMARTMONTOOLS is not set
# BR2_PACKAGE_SOCAT is not set
# BR2_PACKAGE_STRACE is not set
# BR2_PACKAGE_SYSKLOGD is not set
# BR2_PACKAGE_SYSVINIT is not set
# BR2_PACKAGE_TCL is not set
# BR2_PACKAGE_TCPDUMP is not set
# BR2_PACKAGE_TFTPD is not set
# BR2_PACKAGE_TINYLOGIN is not set
# BR2_PACKAGE_TINYX is not set
# BR2_PACKAGE_TN5250 is not set
# BR2_PACKAGE_TTCP is not set
# BR2_PACKAGE_UDEV is not set
# BR2_PACKAGE_UDHCP is not set
# BR2_PACKAGE_USBUTILS is not set
# BR2_PACKAGE_UTIL-LINUX is not set
# BR2_PACKAGE_VALGRIND is not set
# BR2_PACKAGE_VTUN is not set
# BR2_PACKAGE_WGET is not set
# BR2_PACKAGE_WHICH is not set
# BR2_PACKAGE_WIRELESS_TOOLS is not set
# BR2_PACKAGE_XFSPROGS is not set
# BR2_PACKAGE_XORG is not set
# BR2_PACKAGE_ZLIB is not set

#
# Target Options
#

#
# filesystem for target device
#
# BR2_TARGET_ROOTFS_CRAMFS is not set
BR2_TARGET_ROOTFS_EXT2=y
BR2_TARGET_ROOTFS_EXT2_BLOCKS=0
BR2_TARGET_ROOTFS_EXT2_INODES=0
BR2_TARGET_ROOTFS_EXT2_RESBLKS=0
BR2_TARGET_ROOTFS_EXT2_SQUASH=y
BR2_TARGET_ROOTFS_EXT2_OUTPUT="$(IMAGE).ext2"
# BR2_TARGET_ROOTFS_EXT2_GZ is not set
BR2_TARGET_ROOTFS_EXT2_COPYTO=""
# BR2_TARGET_ROOTFS_JFFS2 is not set
# BR2_TARGET_ROOTFS_SQUASHFS is not set
# BR2_TARGET_ROOTFS_TAR is not set

#
# bootloader for target device
#

#
# Board Support Options
#

#
# AMD Specific Device Support
#
# BR2_TARGET_AMD_ALCHEMY is not set

#
# Generic System Support
#
# BR2_TARGET_GENERIC_ACCESS_POINT is not set
# BR2_TARGET_GENERIC_FIREWALL is not set
# BR2_TARGET_GENERIC_DEV_SYSTEM is not set



		
---------------------------------
Yahoo! Photos
 Ring in the New Year with Photo Calendars. Add photos, events, holidays, whatever.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/uclibc/attachments/20060119/77cb51e0/attachment-0001.htm 


More information about the uClibc mailing list