<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX Processors中的主题 error building package (samba and new package)</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/error-building-package-samba-and-new-package/m-p/215564#M13560</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello everyone,&lt;/P&gt;&lt;P&gt;recently i successfully compile build and deployed a new rootfs including kernel and u-boot.&lt;/P&gt;&lt;P&gt;after build finished successfully i tried adding some packages to the file system but encountered a couple of errors:&lt;/P&gt;&lt;P&gt;1) i tried:&lt;/P&gt;&lt;P&gt;./ltib -m prep -p samba --&amp;gt; succeeded&lt;/P&gt;&lt;P&gt;./ltib -m scbuild -p samba --&amp;gt; build failed&lt;/P&gt;&lt;P&gt;the scbuild failed with this error:&lt;/P&gt;&lt;P&gt;*****************************************************************************************************************&lt;/P&gt;&lt;P&gt;snir@snir-linux:~/ltib$ ./ltib -m scbuild -p samba&lt;BR /&gt;&lt;BR /&gt;Processing: samba&lt;BR /&gt;===================&lt;BR /&gt;Build path taken because: directory build, build key set, no prebuilt rpm, &lt;BR /&gt;&lt;BR /&gt;rpmbuild --dbpath /home/snir/ltib/rootfs//var/lib/rpm --target arm --define '_unpackaged_files_terminate_build 0' --define '_target_cpu arm' --define '__strip strip' --define '_topdir /home/snir/ltib/rpm' --define '_prefix /usr' --define '_tmppath /home/snir/ltib/tmp' --define '_rpmdir /home/snir/ltib/rpm/RPMS'&amp;nbsp; --define '_mandir /usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir /var' -bc --short-circuit&amp;nbsp; /home/snir/ltib/dist/lfs-5.1/samba/samba.spec&lt;BR /&gt;Building target platforms: arm&lt;BR /&gt;Building for target arm&lt;BR /&gt;Executing(%build): /bin/sh -e /home/snir/ltib/tmp/rpm-tmp.48920&lt;BR /&gt;+ umask 022&lt;BR /&gt;+ cd /home/snir/ltib/rpm/BUILD&lt;BR /&gt;+ cd samba-3.0.32&lt;BR /&gt;+ cd source&lt;BR /&gt;+ '[' = MPC8315E ']'&lt;BR /&gt;/home/snir/ltib/tmp/rpm-tmp.48920: line 23: [: =: unary operator expected&lt;BR /&gt;+ '[' = MPC837xE ']'&lt;BR /&gt;/home/snir/ltib/tmp/rpm-tmp.48920: line 23: [: =: unary operator expected&lt;BR /&gt;+ '[' arm = m68knommu ']'&lt;BR /&gt;+ echo '***** Using default site file for cross build settings *****'&lt;BR /&gt;***** Using default site file for cross build settings *****&lt;BR /&gt;+ CONFIG_SITE=samba-3.0.32-default.site&lt;BR /&gt;+ ./configure --prefix=/usr --host=arm-linux --build=i686-pc-linux-gnu --target=arm-linux --with-sendfile-support --disable-cups&lt;BR /&gt;configure: loading site script samba-3.0.32-default.site&lt;BR /&gt;./configure: line 1785: .: samba-3.0.32-default.site: file not found&lt;BR /&gt;SAMBA VERSION: 3.0.32&lt;BR /&gt;LIBREPLACE_LOCATION_CHECKS: START&lt;BR /&gt;checking build system type... i686-pc-linux-gnu&lt;BR /&gt;checking host system type... arm-unknown-linux-gnu&lt;BR /&gt;checking target system type... arm-unknown-linux-gnu&lt;BR /&gt;LIBREPLACE_LOCATION_CHECKS: END&lt;BR /&gt;LIBREPLACE_CC_CHECKS: START&lt;BR /&gt;checking for arm-linux-gcc... gcc&lt;BR /&gt;checking for C compiler default output file name... a.out&lt;BR /&gt;checking whether the C compiler works... yes&lt;BR /&gt;checking whether we are cross compiling... yes&lt;BR /&gt;checking for suffix of executables... &lt;BR /&gt;checking for suffix of object files... o&lt;BR /&gt;checking whether we are using the GNU C compiler... yes&lt;BR /&gt;checking whether gcc accepts -g... yes&lt;BR /&gt;checking for gcc option to accept ISO C89... none needed&lt;BR /&gt;checking for version of gcc... 4.4.4&lt;BR /&gt;checking how to run the C preprocessor... gcc -E&lt;BR /&gt;checking for grep that handles long lines and -e... /bin/grep&lt;BR /&gt;checking for egrep... /bin/grep -E&lt;BR /&gt;checking for AIX... no&lt;BR /&gt;checking for ANSI C header files... yes&lt;BR /&gt;checking for sys/types.h... yes&lt;BR /&gt;checking for sys/stat.h... yes&lt;BR /&gt;checking for stdlib.h... yes&lt;BR /&gt;checking for string.h... yes&lt;BR /&gt;checking for memory.h... yes&lt;BR /&gt;checking for strings.h... yes&lt;BR /&gt;checking for inttypes.h... yes&lt;BR /&gt;checking for stdint.h... yes&lt;BR /&gt;checking for unistd.h... yes&lt;BR /&gt;checking minix/config.h usability... no&lt;BR /&gt;checking minix/config.h presence... no&lt;BR /&gt;checking for minix/config.h... no&lt;BR /&gt;checking whether it is safe to define __EXTENSIONS__... yes&lt;BR /&gt;checking whether byte ordering is bigendian... no&lt;BR /&gt;checking for inline... inline&lt;BR /&gt;checking for C99 designated initializers... yes&lt;BR /&gt;checking for a BSD-compatible install... /usr/bin/install -c&lt;BR /&gt;checking for library containing strerror... none required&lt;BR /&gt;checking for special C compiler options needed for large files... no&lt;BR /&gt;checking for _FILE_OFFSET_BITS value needed for large files... 64&lt;BR /&gt;checking standards.h usability... no&lt;BR /&gt;checking standards.h presence... no&lt;BR /&gt;checking for standards.h... no&lt;BR /&gt;checking for long long... yes&lt;BR /&gt;checking for uint_t... no&lt;BR /&gt;checking for int8_t... yes&lt;BR /&gt;checking for uint8_t... yes&lt;BR /&gt;checking for int16_t... yes&lt;BR /&gt;checking for uint16_t... yes&lt;BR /&gt;checking for int32_t... yes&lt;BR /&gt;checking for uint32_t... yes&lt;BR /&gt;checking for int64_t... yes&lt;BR /&gt;checking for uint64_t... yes&lt;BR /&gt;checking for size_t... yes&lt;BR /&gt;checking for ssize_t... yes&lt;BR /&gt;checking for int... yes&lt;BR /&gt;checking size of int... 4&lt;BR /&gt;checking for char... yes&lt;BR /&gt;checking size of char... 1&lt;BR /&gt;checking for short... yes&lt;BR /&gt;checking size of short... 2&lt;BR /&gt;checking for long... yes&lt;BR /&gt;checking size of long... 4&lt;BR /&gt;checking for long long... (cached) yes&lt;BR /&gt;checking size of long long... 8&lt;BR /&gt;checking for off_t... yes&lt;BR /&gt;checking size of off_t... 8&lt;BR /&gt;checking for size_t... (cached) yes&lt;BR /&gt;checking size of size_t... 4&lt;BR /&gt;checking for ssize_t... (cached) yes&lt;BR /&gt;checking size of ssize_t... 4&lt;BR /&gt;checking for intptr_t... yes&lt;BR /&gt;checking for ptrdiff_t... yes&lt;BR /&gt;checking for immediate structures... yes&lt;BR /&gt;LIBREPLACE_CC_CHECKS: END&lt;BR /&gt;checking whether to use profiling... no&lt;BR /&gt;checking for a BSD-compatible install... /usr/bin/install -c&lt;BR /&gt;checking for gawk... gawk&lt;BR /&gt;checking for perl... /usr/bin/perl&lt;BR /&gt;checking for arm-linux-ar... ar&lt;BR /&gt;checking if the linker (ld) is GNU ld... yes&lt;BR /&gt;checking GNU ld release date... 20100303&lt;BR /&gt;checking whether gcc and cc understand -c and -o together... yes&lt;BR /&gt;checking that the C compiler understands -Werror... cross&lt;BR /&gt;checking that the C compiler understands -w2... cross&lt;BR /&gt;checking that the C compiler understands volatile... yes&lt;BR /&gt;checking that the C compiler understands negative enum values... configure: error: cannot run test program while cross compiling&lt;BR /&gt;See `config.log' for more details.&lt;BR /&gt;error: Bad exit status from /home/snir/ltib/tmp/rpm-tmp.48920 (%build)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;RPM build errors:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Bad exit status from /home/snir/ltib/tmp/rpm-tmp.48920 (%build)&lt;BR /&gt;Build time for samba: 11 seconds&lt;BR /&gt;&lt;BR /&gt;Failed building samba&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;f_scbuild() returned an error, exiting&lt;BR /&gt;traceback:&lt;BR /&gt;&amp;nbsp;main:560&lt;BR /&gt;&lt;BR /&gt;Exiting on error or interrupt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*******************************************************************************************************************&lt;/P&gt;&lt;P&gt;- i've added the * in the beginning and in the end so it will be more easy for you to continue read the question.&lt;/P&gt;&lt;P&gt;so i tried entering ./ltib --c and choose start smb daemons and choose the package in ltib after running "ccache -C" but got the same error. how can i add samba package?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) in addition to Q.1 i would like to add winexe package to my rootfs. this is an external package. i tried following the Ltibfaq page with no success can you please help me with instruction of how to add it? is it possible to add samba4 instead of the provided samba package (samba- 3.0.32)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;snir&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Feb 2012 20:41:55 GMT</pubDate>
    <dc:creator>snirnisim</dc:creator>
    <dc:date>2012-02-27T20:41:55Z</dc:date>
    <item>
      <title>error building package (samba and new package)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/error-building-package-samba-and-new-package/m-p/215564#M13560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello everyone,&lt;/P&gt;&lt;P&gt;recently i successfully compile build and deployed a new rootfs including kernel and u-boot.&lt;/P&gt;&lt;P&gt;after build finished successfully i tried adding some packages to the file system but encountered a couple of errors:&lt;/P&gt;&lt;P&gt;1) i tried:&lt;/P&gt;&lt;P&gt;./ltib -m prep -p samba --&amp;gt; succeeded&lt;/P&gt;&lt;P&gt;./ltib -m scbuild -p samba --&amp;gt; build failed&lt;/P&gt;&lt;P&gt;the scbuild failed with this error:&lt;/P&gt;&lt;P&gt;*****************************************************************************************************************&lt;/P&gt;&lt;P&gt;snir@snir-linux:~/ltib$ ./ltib -m scbuild -p samba&lt;BR /&gt;&lt;BR /&gt;Processing: samba&lt;BR /&gt;===================&lt;BR /&gt;Build path taken because: directory build, build key set, no prebuilt rpm, &lt;BR /&gt;&lt;BR /&gt;rpmbuild --dbpath /home/snir/ltib/rootfs//var/lib/rpm --target arm --define '_unpackaged_files_terminate_build 0' --define '_target_cpu arm' --define '__strip strip' --define '_topdir /home/snir/ltib/rpm' --define '_prefix /usr' --define '_tmppath /home/snir/ltib/tmp' --define '_rpmdir /home/snir/ltib/rpm/RPMS'&amp;nbsp; --define '_mandir /usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir /var' -bc --short-circuit&amp;nbsp; /home/snir/ltib/dist/lfs-5.1/samba/samba.spec&lt;BR /&gt;Building target platforms: arm&lt;BR /&gt;Building for target arm&lt;BR /&gt;Executing(%build): /bin/sh -e /home/snir/ltib/tmp/rpm-tmp.48920&lt;BR /&gt;+ umask 022&lt;BR /&gt;+ cd /home/snir/ltib/rpm/BUILD&lt;BR /&gt;+ cd samba-3.0.32&lt;BR /&gt;+ cd source&lt;BR /&gt;+ '[' = MPC8315E ']'&lt;BR /&gt;/home/snir/ltib/tmp/rpm-tmp.48920: line 23: [: =: unary operator expected&lt;BR /&gt;+ '[' = MPC837xE ']'&lt;BR /&gt;/home/snir/ltib/tmp/rpm-tmp.48920: line 23: [: =: unary operator expected&lt;BR /&gt;+ '[' arm = m68knommu ']'&lt;BR /&gt;+ echo '***** Using default site file for cross build settings *****'&lt;BR /&gt;***** Using default site file for cross build settings *****&lt;BR /&gt;+ CONFIG_SITE=samba-3.0.32-default.site&lt;BR /&gt;+ ./configure --prefix=/usr --host=arm-linux --build=i686-pc-linux-gnu --target=arm-linux --with-sendfile-support --disable-cups&lt;BR /&gt;configure: loading site script samba-3.0.32-default.site&lt;BR /&gt;./configure: line 1785: .: samba-3.0.32-default.site: file not found&lt;BR /&gt;SAMBA VERSION: 3.0.32&lt;BR /&gt;LIBREPLACE_LOCATION_CHECKS: START&lt;BR /&gt;checking build system type... i686-pc-linux-gnu&lt;BR /&gt;checking host system type... arm-unknown-linux-gnu&lt;BR /&gt;checking target system type... arm-unknown-linux-gnu&lt;BR /&gt;LIBREPLACE_LOCATION_CHECKS: END&lt;BR /&gt;LIBREPLACE_CC_CHECKS: START&lt;BR /&gt;checking for arm-linux-gcc... gcc&lt;BR /&gt;checking for C compiler default output file name... a.out&lt;BR /&gt;checking whether the C compiler works... yes&lt;BR /&gt;checking whether we are cross compiling... yes&lt;BR /&gt;checking for suffix of executables... &lt;BR /&gt;checking for suffix of object files... o&lt;BR /&gt;checking whether we are using the GNU C compiler... yes&lt;BR /&gt;checking whether gcc accepts -g... yes&lt;BR /&gt;checking for gcc option to accept ISO C89... none needed&lt;BR /&gt;checking for version of gcc... 4.4.4&lt;BR /&gt;checking how to run the C preprocessor... gcc -E&lt;BR /&gt;checking for grep that handles long lines and -e... /bin/grep&lt;BR /&gt;checking for egrep... /bin/grep -E&lt;BR /&gt;checking for AIX... no&lt;BR /&gt;checking for ANSI C header files... yes&lt;BR /&gt;checking for sys/types.h... yes&lt;BR /&gt;checking for sys/stat.h... yes&lt;BR /&gt;checking for stdlib.h... yes&lt;BR /&gt;checking for string.h... yes&lt;BR /&gt;checking for memory.h... yes&lt;BR /&gt;checking for strings.h... yes&lt;BR /&gt;checking for inttypes.h... yes&lt;BR /&gt;checking for stdint.h... yes&lt;BR /&gt;checking for unistd.h... yes&lt;BR /&gt;checking minix/config.h usability... no&lt;BR /&gt;checking minix/config.h presence... no&lt;BR /&gt;checking for minix/config.h... no&lt;BR /&gt;checking whether it is safe to define __EXTENSIONS__... yes&lt;BR /&gt;checking whether byte ordering is bigendian... no&lt;BR /&gt;checking for inline... inline&lt;BR /&gt;checking for C99 designated initializers... yes&lt;BR /&gt;checking for a BSD-compatible install... /usr/bin/install -c&lt;BR /&gt;checking for library containing strerror... none required&lt;BR /&gt;checking for special C compiler options needed for large files... no&lt;BR /&gt;checking for _FILE_OFFSET_BITS value needed for large files... 64&lt;BR /&gt;checking standards.h usability... no&lt;BR /&gt;checking standards.h presence... no&lt;BR /&gt;checking for standards.h... no&lt;BR /&gt;checking for long long... yes&lt;BR /&gt;checking for uint_t... no&lt;BR /&gt;checking for int8_t... yes&lt;BR /&gt;checking for uint8_t... yes&lt;BR /&gt;checking for int16_t... yes&lt;BR /&gt;checking for uint16_t... yes&lt;BR /&gt;checking for int32_t... yes&lt;BR /&gt;checking for uint32_t... yes&lt;BR /&gt;checking for int64_t... yes&lt;BR /&gt;checking for uint64_t... yes&lt;BR /&gt;checking for size_t... yes&lt;BR /&gt;checking for ssize_t... yes&lt;BR /&gt;checking for int... yes&lt;BR /&gt;checking size of int... 4&lt;BR /&gt;checking for char... yes&lt;BR /&gt;checking size of char... 1&lt;BR /&gt;checking for short... yes&lt;BR /&gt;checking size of short... 2&lt;BR /&gt;checking for long... yes&lt;BR /&gt;checking size of long... 4&lt;BR /&gt;checking for long long... (cached) yes&lt;BR /&gt;checking size of long long... 8&lt;BR /&gt;checking for off_t... yes&lt;BR /&gt;checking size of off_t... 8&lt;BR /&gt;checking for size_t... (cached) yes&lt;BR /&gt;checking size of size_t... 4&lt;BR /&gt;checking for ssize_t... (cached) yes&lt;BR /&gt;checking size of ssize_t... 4&lt;BR /&gt;checking for intptr_t... yes&lt;BR /&gt;checking for ptrdiff_t... yes&lt;BR /&gt;checking for immediate structures... yes&lt;BR /&gt;LIBREPLACE_CC_CHECKS: END&lt;BR /&gt;checking whether to use profiling... no&lt;BR /&gt;checking for a BSD-compatible install... /usr/bin/install -c&lt;BR /&gt;checking for gawk... gawk&lt;BR /&gt;checking for perl... /usr/bin/perl&lt;BR /&gt;checking for arm-linux-ar... ar&lt;BR /&gt;checking if the linker (ld) is GNU ld... yes&lt;BR /&gt;checking GNU ld release date... 20100303&lt;BR /&gt;checking whether gcc and cc understand -c and -o together... yes&lt;BR /&gt;checking that the C compiler understands -Werror... cross&lt;BR /&gt;checking that the C compiler understands -w2... cross&lt;BR /&gt;checking that the C compiler understands volatile... yes&lt;BR /&gt;checking that the C compiler understands negative enum values... configure: error: cannot run test program while cross compiling&lt;BR /&gt;See `config.log' for more details.&lt;BR /&gt;error: Bad exit status from /home/snir/ltib/tmp/rpm-tmp.48920 (%build)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;RPM build errors:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Bad exit status from /home/snir/ltib/tmp/rpm-tmp.48920 (%build)&lt;BR /&gt;Build time for samba: 11 seconds&lt;BR /&gt;&lt;BR /&gt;Failed building samba&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;f_scbuild() returned an error, exiting&lt;BR /&gt;traceback:&lt;BR /&gt;&amp;nbsp;main:560&lt;BR /&gt;&lt;BR /&gt;Exiting on error or interrupt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*******************************************************************************************************************&lt;/P&gt;&lt;P&gt;- i've added the * in the beginning and in the end so it will be more easy for you to continue read the question.&lt;/P&gt;&lt;P&gt;so i tried entering ./ltib --c and choose start smb daemons and choose the package in ltib after running "ccache -C" but got the same error. how can i add samba package?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) in addition to Q.1 i would like to add winexe package to my rootfs. this is an external package. i tried following the Ltibfaq page with no success can you please help me with instruction of how to add it? is it possible to add samba4 instead of the provided samba package (samba- 3.0.32)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;snir&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2012 20:41:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/error-building-package-samba-and-new-package/m-p/215564#M13560</guid>
      <dc:creator>snirnisim</dc:creator>
      <dc:date>2012-02-27T20:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: error building package (samba and new package)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/error-building-package-samba-and-new-package/m-p/215565#M13561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;can anyone please answer my second question?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I answer myself to the first quwstion. but now o can't find smb.conf file in etc dir...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I hope this can be useful&lt;/P&gt;&lt;P&gt;if this error displayed:&lt;/P&gt;&lt;P&gt;&amp;nbsp;go to ltib/rpm/BUILD/samba-3.0.32/source/configure&lt;/P&gt;&lt;P&gt;searcg (ctrl+f) for "CC_NEGATIVE_ENUM_VALUES"&lt;/P&gt;&lt;P&gt;look about 4 rows down to the line says: "if test "$cross_compile" = &lt;SPAN style="text-decoration: underline;"&gt;yes&lt;/SPAN&gt;; then"&lt;/P&gt;&lt;P&gt;and cahange the "yes" to "no" and then run ./ltib -m scbuild -p samba again.&lt;/P&gt;&lt;P&gt;this will let the build run self test even for cross compiling. worked for me, i'm now having samba in my rootfs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2012 15:28:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/error-building-package-samba-and-new-package/m-p/215565#M13561</guid>
      <dc:creator>snirnisim</dc:creator>
      <dc:date>2012-02-28T15:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: error building package (samba and new package)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/error-building-package-samba-and-new-package/m-p/215566#M13562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I fixed the build error, by modifying the samba.spec file, adding the "./" before "samba-3.0.32-default.site":&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;echo "***** Using default site file for cross build settings *****"&lt;BR /&gt;CONFIG_SITE=./samba-3.0.32-default.site ./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build} --target=$CFGHOST --with-sendfile-support --disable-cups&lt;BR /&gt;fi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;( my samba.spec is attached )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Randy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2012 18:54:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/error-building-package-samba-and-new-package/m-p/215566#M13562</guid>
      <dc:creator>RandyKrakora</dc:creator>
      <dc:date>2012-02-28T18:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: error building package (samba and new package)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/error-building-package-samba-and-new-package/m-p/215567#M13563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;WOW that really worked! thanks a lot!&lt;/P&gt;&lt;P&gt;i have a few more questions please:&lt;/P&gt;&lt;P&gt;1) what i need to update on my uSD if I'm installing new package? i need to update all the uSD (bootloader, kernel, fs) or just dd one of them? (what is the write syntax for that operation? dd...)&lt;/P&gt;&lt;P&gt;2) how do i add a totally new package like winexe to cross compile with ltib for my rootfs?&lt;/P&gt;&lt;P&gt;3)what i need to add to a C++ project in order to&amp;nbsp; create it a package that i can add same as the process that is needed in question (2)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a lot!&lt;/P&gt;&lt;P&gt;snir&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;CITE&gt;Randy Krakora said:&lt;/CITE&gt;&lt;/P&gt;&lt;BLOCKQUOTE cite="http://imxcommunity.org/forum/topics/error-building-package-samba-and-new-package?groupUrl=imx53quickstartboard&amp;amp;#4103961Comment61810"&gt;&lt;DIV&gt;&lt;DIV class="xg_user_generated"&gt;&lt;P&gt;I fixed the build error, by modifying the samba.spec file, adding the "./" before "samba-3.0.32-default.site":&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;echo "***** Using default site file for cross build settings *****"&lt;BR /&gt;CONFIG_SITE=./samba-3.0.32-default.site ./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build} --target=$CFGHOST --with-sendfile-support --disable-cups&lt;BR /&gt;fi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;( my samba.spec is attached )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Randy&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2012 23:24:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/error-building-package-samba-and-new-package/m-p/215567#M13563</guid>
      <dc:creator>snirnisim</dc:creator>
      <dc:date>2012-02-28T23:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: error building package (samba and new package)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/error-building-package-samba-and-new-package/m-p/215568#M13564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;another question is where is the important smb.conf file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks again,&lt;/P&gt;&lt;P&gt;snir&lt;BR /&gt; &lt;BR /&gt; &lt;CITE&gt;Randy Krakora said:&lt;/CITE&gt;&lt;/P&gt;&lt;BLOCKQUOTE cite="http://imxcommunity.org/forum/topics/error-building-package-samba-and-new-package?groupUrl=imx53quickstartboard&amp;amp;#4103961Comment61810"&gt;&lt;DIV&gt;&lt;DIV class="xg_user_generated"&gt;&lt;P&gt;I fixed the build error, by modifying the samba.spec file, adding the "./" before "samba-3.0.32-default.site":&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;echo "***** Using default site file for cross build settings *****"&lt;BR /&gt;CONFIG_SITE=./samba-3.0.32-default.site ./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build} --target=$CFGHOST --with-sendfile-support --disable-cups&lt;BR /&gt;fi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;( my samba.spec is attached )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Randy&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2012 23:29:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/error-building-package-samba-and-new-package/m-p/215568#M13564</guid>
      <dc:creator>snirnisim</dc:creator>
      <dc:date>2012-02-28T23:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: error building package (samba and new package)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/error-building-package-samba-and-new-package/m-p/215569#M13565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey again,&lt;/P&gt;&lt;P&gt;i'm my project clock ticks really fast now and i hope someone would beable to answer my last questions asap...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. where is the smb.conf file after installing samba under ltib? it's not in in etc/... (no samba dir) and same in usr/local whats wrong here? i tried reinstalling... after changing the spec file as suggested.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. what i need to update on my uSD if I'm installing new package? i need to update all the uSD (bootloader, kernel, fs) or just dd one of them? (what is the write syntax for that operation? dd...)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. how do i add a totally new package like winexe to cross compile with ltib for my rootfs?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4. what i need to add to a C++ project in order to&amp;nbsp; create it a package that i can add same as the process that is needed in question (3)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks in advance,&lt;/P&gt;&lt;P&gt;snir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Feb 2012 19:30:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/error-building-package-samba-and-new-package/m-p/215569#M13565</guid>
      <dc:creator>snirnisim</dc:creator>
      <dc:date>2012-02-29T19:30:43Z</dc:date>
    </item>
  </channel>
</rss>

