Hi, I'm using a QNAP TS109Pro. I think it's a ARM7 based device.
You should try to get valid devel-tools. Issue an 'ipkg update' to get the latest tools from the 'stable' trunk. Regards Hein Am 03.04.2010 00:03, schrieb Mark Stiebel: > Hi Hein, > > I'm interested in what device you are using. My problem is definitely > floating point related, and I can reproduce it quite easily with this > simply program: > > #include <stdio.h> int main (void) { long double f; int i; f = > 3.14159; i = (int)f; printf("Float:%f\tInt:%d",f,i); return 0; } > > Which when compiled (or more accurately, linked) returns: > /tmp/ccV0M8BW.o: In function `main': float.c:(.text+0x28): undefined > reference to `__fixdfsi' collect2: ld returned 1 exit status > > So its obviously not a fossil specific error, but a soft float > issue. > > -= Mark -= m...@froop.net <mailto:m...@froop.net> > > > On Fri, Apr 2, 2010 at 10:52 PM, Heinrich Huss > <heinrich.h...@psh-consulting.de > <mailto:heinrich.h...@psh-consulting.de>> wrote: > > Hi, I'm building fossil on my arm based NAS. I have installed the > folloging packages: [~] # ipkg list_installed apr - 1.3.12-1 - Apache > Portable Runtime library apr-util - 1.3.9-1 - Apache Portable Runtime > utilities library bash - 3.2.49-1 - A bourne style shell binutils - > 2.17-2 - The GNU assembler and linker and related tools bzip2 - > 1.0.5-2 - Very high-quality data compression program cvs - 1.11.23-1 > - Concurrent versioning system. cyrus-sasl-libs - 2.1.23-1 - Provides > client or server side authentication (see RFC 2222). e2fslibs - > 1.40.3-5 - Ext2 Filesystem Libraries expat - 2.0.1-1 - XML Parser > library fossil-scm - 20090916-1 - Simple, high-reliability, > distributed software configuration management gcc - 3.4.4-5 - The GNU > Compiler Collection. gdbm - 1.8.3-2 - GNU dbm is a set of database > routines that use extensible hashing. It works similar to the > standard UNIX dbm routines. glib - 2.20.4-1 - The GLib library of C > routines. gnupg - 2.0.15-1 - GNU privacy guard - a free PGP > replacement. libassuan - 2.0.0-1 - Libassuan is the IPC library used > by some GnuPG related software. libc-dev - 2.3.6-5 - libc development > files. libcurl - 7.20.0-1 - Curl is a command line tool for > transferring files with URL syntax, supporting FTP, FTPS, HTTP, > HTTPS, GOPHER, TELNET, DICT, FI libdb - 4.2.52-3 - Berkeley DB > Libraries libgcrypt - 1.4.5-1 - GNU cryptography libray, needed by > gnutls libgpg-error - 1.7-1 - Error handling library for libgcrypt > libksba - 1.0.3-1 - Libksba is a CMS and X.509 access library. libnsl > - 2.3.6-4 - Network Services Library libpth - 2.0.7-2 - Pth is a very > portable POSIX/ANSI-C based library for Unix platforms which provides > non-preemptive priority-based scheduling fo libusb - 0.1.12-1 - > Library for interfacing to the USB subsystem. libxml2 - 2.7.7-1 - > Libxml2 is the XML C parser and toolkit developed for the Gnome > project. make - 3.81-2 - examines files and runs commands necessary > for compilation mc - 4.7.0.2-1 - Midnight Commander File Manager > ncurses - 5.7-1 - NCurses libraries neon - 0.29.3-1 - an HTTP and > WebDAV client library, with a C interface openldap-libs - 2.3.43-1 - > Open Lightweight Directory Access Protocol openssl - 0.9.7m-5 - > Openssl provides the ssl implementation in libraries libcrypto and > libssl, and is needed by many other applications and librari pinentry > - 0.8.0-1 - A collection of simple PIN or passphrase entry dialogs > readline - 6.1-2 - The GNU Readline library provides a set of > functions for use by applications that allow users to edit command > lines as they are slang - 2.2.2-1 - S-Lang is a multi-platform > library designed to allow a developer to create robust multi-platform > software. sqlite - 3.6.23-1 - SQLite is a small C library that > implements a self-contained, embeddable, zero-configuration SQL > database engine. svn - 1.6.9-1 - a compelling replacement for CVS vim > - 7.2-2 - Yet another version of the vi editor. xinetd - 2.3.14-9 - > Highly configurable, modular and secure inetd zlib - 1.2.3-3 - zlib > is a library implementing the 'deflate' compression system. > > > Not all are neccessary to build fossil, but with this configuration > I'm able to build fossil. > > I have disabled ssl and I think I had to change on header file. > > Best Regards Hein > > Am 02.04.2010 um 04:33 schrieb Mark Stiebel: > >> Hi all, >> >> I've only recently come across fossil, and really like the idea of >> it for some of my personal projects at home, but I've run into a >> couple of problems that hopefully someone can help me out with. >> >> I've installed it on my fileserver (the arm-powered WD WorldBook >> NAS) - not a high powered linux machine by any stretch, but its my >> file share and is appropriately backed up. I downloaded it from >> http://ipkg.nslu2-linux.org/feeds/optware/gumstix1151/cross/unstable/fossil-scm_20090916-1_arm.ipk >> but is quite an old version: >> >> [r...@fs fossil]# fossil version This is fossil version >> [0eb08b860c] 2009-09-16 21:29:18 UTC >> >> The version I have on my windows box is a current build. >> >> I can create a new repository and start a server, then clone a >> remote repo and sync the two successfully both on Windows and >> linux, but not across the platforms. This is what I've done - >> hopefully someone can tell me I've missed something: >> >> On linux: [fr...@fs test]$ fossil new ../test.fossil project-id: >> 52caa013b665a1b3f0db0a6f471e66c71dab2aec server-id: >> 2ee13d2d6a450dcb36ccd5b0f2613db523839dde admin-user: FROOP (initial >> password is "5eda49") [fr...@fs test]$ fossil server >> ../test.fossil Listening for HTTP requests on TCP port 8081 >> >> On win: D:\test>fossil clone http://fs.home:8081 ..\test.fossil >> Bytes Cards Artifacts Deltas Send: 49 >> 1 0 0 Received: 33 1 0 >> 0 Send: 619 24 0 0 Total >> network traffic: 575 bytes sent, 419 bytes received Rebuilding >> repository meta-data... 0 (0%)... project-id: (null) server-id: >> 1ae0cd391477d365b8cdeaa7aaf0e3c1cbd257ad admin-user: MS022702 >> (password is "b3a5a1") D:\test>fossil open ..\test.fossil >> D:\test>copy con test.txt Test text file ^Z 1 file(s) copied. >> D:\test>fossil add test.txt ADDED test.txt D:\test>fossil push >> Server: http://fs.home:8081 Bytes Cards Artifacts >> Deltas Send: 90 1 0 0 >> Error: bad command: push 1ae0cd391477d365b8cdeaa7aaf0e3c1cbd257ad >> D:\test>fossil info project-name: <unnamed> repository: >> D:/test.fossil local-root: D:/test/ user-home: C:/Documents >> and Settings/ms022702/Application Data project-code: server-code: >> 1ae0cd391477d365b8cdeaa7aaf0e3c1cbd257ad >> >> I notice that the project-code is null. Cloning the repository on >> the linux box returns a valid project code. Could this be in >> incompatibility between the older version? >> >> The next step was to try and build the latest version. I haven't >> built a cross-compiler for my WD box, so I've only tried to build >> it on the box (slow compiler!). But I came up with these errors on >> the final link: >> >> ./obj/printf.o: In function `et_getdigit': >> /root/fossil/printf_.c:142: undefined reference to `__fixdfsi' >> ./obj/rss.o: In function `page_timeline_rss': >> /root/fossil/rss_.c:124: undefined reference to `__fixdfsi' >> ./obj/rstats.o: In function `rstats_cmd': >> /root/fossil/rstats_.c:68: undefined reference to `__fixdfsi' >> ./obj/stat.o: In function `stat_page': /root/fossil/stat_.c:58: >> undefined reference to `__fixdfsi' ./obj/zip.o: In function >> `zip_set_timedate': /root/fossil/zip_.c:93: undefined reference to >> `__fixdfsi' ./obj/sqlite3.o:./src/sqlite3.c:11752: more undefined >> references to `__fixdfsi' follow /opt/lib/libgcc_s.so: undefined >> reference to `__fixsfsi' /opt/lib/libgcc_s.so: undefined reference >> to `__ltsf2' /opt/lib/libgcc_s.so: undefined reference to >> `__gesf2' /opt/lib/libgcc_s.so: undefined reference to `__addsf3' >> collect2: ld returned 1 exit status >> >> After some googling, it seems likely its something around the >> floating point instructions, and I've tried linking with >> -msoft_float, but that's made no difference. Any other suggestions >> for building on this platform? >> >> Thanks >> >> -= Mark -= m...@froop.net <mailto:m...@froop.net> >> >> >> _______________________________________________ fossil-users >> mailing list fossil-users@lists.fossil-scm.org >> <mailto:fossil-users@lists.fossil-scm.org> >> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > > > >> _______________________________________________ > fossil-users mailing list fossil-users@lists.fossil-scm.org > <mailto:fossil-users@lists.fossil-scm.org> > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > > > > > > _______________________________________________ > fossil-users mailing list fossil-users@lists.fossil-scm.org > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users -- > Heinrich Huss PSH Consulting GmbH Am Gewerbepark 10 64823 Groß-Umstadt Phone +49 6078 931 6455 Fax +49 6078 96 9536 Mobile +49 171 43 46 773 e-mail heinrich.h...@psh-consulting.de *** PSH Consulting GmbH Legal Disclaimer *** Diese E-Mail einschließlich ihrer Anhänge ist vertraulich und ist allein für den Gebrauch durch den vorgesehenen Empfänger bestimmt. Dritten ist das Lesen, Verteilen oder Weiterleiten dieser E-Mail untersagt. Wir bitten, eine fehlgeleitete E-Mail unverzüglich vollständig zu löschen und uns eine Nachricht zukommen zu lassen. This email may contain material that is confidential and for the sole use of the intended recipient. Any review, distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies. Hauptsitz: Magdeburger Strasse 1, D-64720 Michelstadt, USt-IdNr.: DE 21 117 1171 Kommunikation: Telefon +49 6078 931 6455, Telefax +49 6078 96 95 36, www.psh-consulting.de Handelsregister: Amtsgericht Darmstadt, HRB 71404 Geschäftsführer: Heinrich Huss, Thomas Riedl
_______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users