I recently have been trying to enable the Libcurl library for some
development programming we are doing and I am having some problems
getting setup correctly.  I think its an issue with configuration of the
libcurl setup, but I am not sure.  I have found some references to the
./configure setups,and have used various lines to try to set it up
differently.  Has anyone setup Libcurl with the 2.6 kernel yet, and have
the ./configure setup they could share with me?
 
I have used the following lines.
./configure --host=m68k-elf
./configure --host=m68k-uclinux
./configure --host=m68k-uclinux --target=m68k-uclinux
./configure --host=m68k-elf --target=m68k-uclinux
./configure --disable-ares --disable-cookies --disable-crypto-auth
--disable-ipv6 --disable-ldap --disable-thread --disable-shared /
    --without-libidn --without-zlib --without-ssl --host=m68k-uclinux
--target=m68k-uclinux
 
Nothing I tried has worked so far and I get the following error with
most attempts:
 
make[2]: Entering directory 
`/home/manderson/dev/uClinux-dist/include'
find . -depth -type l -a ! -name Makefile | xargs rm > /dev/null 2>&1 ||
exit 0
find . -depth -type d | grep -v .svn | xargs rmdir > /dev/null 2>&1 ||
exit 0
Making symlinks in include/
Making include/c++ symlink to compiler c++ includes
make[2]: Leaving directory 
`/home/manderson/dev/uClinux-dist/include'
make make_links                        || exit $?
make[2]: Entering directory 
`/home/manderson/dev/uClinux-dist/lib'
Making symlinks in lib/
make[2]: Leaving directory 
`/home/manderson/dev/uClinux-dist/lib'
[ -z "" ] ||\
                make -j1  || exit $?
make -j1 -C ../include
make[2]: Entering directory 
`/home/manderson/dev/uClinux-dist/include'
find . -depth -type l -a ! -name Makefile | xargs rm > /dev/null 2>&1 ||
exit 0
find . -depth -type d | grep -v .svn | xargs rmdir > /dev/null 2>&1 ||
exit 0
Making symlinks in include/
Making include/c++ symlink to compiler c++ includes
make[2]: Leaving directory 
`/home/manderson/dev/uClinux-dist/include'
make make_links                        || exit $?
make[2]: Entering directory 
`/home/manderson/dev/uClinux-dist/lib'
Making symlinks in lib/
make[2]: Leaving directory 
`/home/manderson/dev/uClinux-dist/lib'
[ -z "libssl libg zlib libbzip2 libidn libcurl" ] ||\
                make -j1 libbzip2 libcurl libg libidn libssl zlib ||
exit $?
make[2]: Entering directory 
`/home/manderson/dev/uClinux-dist/lib'
[ ! -d "libbzip2" ] || ( touch libbzip2/.sgbuilt_lib && make -j1 -C
libbzip2 ) || exit 
$?
make[3]: Entering directory 
`/home/manderson/dev/uClinux-dist/lib/libbzip2'
ucfront-gcc m68k-elf-gcc -m5307 -DCONFIG_COLDFIRE -shared -Wl,-soname
-Wl,libbz2.so.1.0 
-o libbz2.so.1.0.3 blocksort.o huffman.o crctable.o randtable.o
compress.o decompress.o 
bzlib.o
/usr/local/lib/gcc/m68k-uclinux/4.1.1/../../../../m68k-uclinux/bin/ld.re
al: warning: 
cannot find entry symbol _start; defaulting to 8000007c
/home/manderson/dev/uClinux-dist/uClibc/lib/libc.a(__uClibc_main.o): 
In function `__uClibc_start_main':
__uClibc_main.c:(.text+0x9a): undefined reference to `main'
collect2: ld returned 1 exit status
make[3]: *** [all] Error 1
make[3]: Leaving directory 
`/home/manderson/dev/uClinux-dist/lib/libbzip2'
make[2]: *** [libbzip2] Error 2
make[2]: Leaving directory 
`/home/manderson/dev/uClinux-dist/lib'
make[1]: *** [all] Error 2
make[1]: Leaving directory 
`/home/manderson/dev/uClinux-dist/lib'
make: *** [subdirs] Error 1
 
 
 
Is there something I didn't enable or configure right that is giving me
this error?
Is this a linking error of some sort?  
 
I didn't ever enable LIBBZIP2 so I dont know why its in that directory.
Is there something else I should do?
 
 
I am using the 20060803 uclinx distribution(libcurl is 7.14 in that
dist) with the 2.6 kernel.  I am working with the Coldfire MCF5329
processor, mainly on the MCF5329EVB right now so using the m68k
settings.  Thanks for any advice.
 
Michael Anderson
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to