OpenBSD 3.8 build on AMD64 fails
Henry Baragar <[email protected]> Thu, 2 Mar 2006 16:49:18 -0500
| Newsgroups | gmane.comp.file-systems.sfs.general |
|---|---|
| Organization | Instantiated Software Inc |
| Message-ID | <[email protected]> |
Hello, Has anyone been able to get sfs to build on OpenBSD 3.8 running the AMD64 platform? I get the following error running configure: checking build system type... Invalid configuration `amd64-unknown-openbsd3.8': machine `amd64-unknown' not recognized configure: error: /bin/sh ./config.sub amd64-unknown-openbsd3.8 failed. ============ If I use a different config.sub (with timestamp='2004-02-23'), I get the following error message: /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I.. -I../async-I../arpc -I../crypt -I../sfsmisc -I../sfsrodb -I../adb -I../svc -I../svc -DEXECDIR=\"/usr/local/lib/sfs-0.7.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/local/share/sfs\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -g -O2 -ansi -Wall -Wsign-compare -Wchar-subscripts -Werror -c core.C g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I.. -I../async -I../arpc -I../crypt -I../sfsmisc -I../sfsrodb -I../adb -I../svc -I../svc -DEXECDIR=\"/usr/local/lib/sfs-0.7.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/local/share/sfs\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -g -O2 -ansi -Wall -Wsign-compare-Wchar-subscripts -Werror -c core.C -o core.o itree.h: In member function `void itree_core<T, field, C>::insert(T*) [with T = timecb_t, itree_entry<T> T::*field = &timecb_t::link, C = keyfunc_2<int, timecb_t, timespec, &timecb_t::ts, compare<timespec> >]': core.C:124: instantiated from here itree.h:121: warning: cast from pointer to integer of different size itree.h: In static member function `static T* itree_core<T, field, C>::next(T*) [with T = timecb_t, itree_entry<T> T::*field = &timecb_t::link, C = keyfunc_2<int, timecb_t, timespec, &timecb_t::ts, compare<timespec> >]': core.C:149: instantiated from here itree.h:117: warning: cast from pointer to integer of different size itree.h: In member function `void itree_core<T, field, C>::remove(T*) [with T = timecb_t, itree_entry<T> T::*field = &timecb_t::link, C = keyfunc_2<int, timecb_t, timespec, &timecb_t::ts, compare<timespec> >]': core.C:153: instantiated from here itree.h:125: warning: cast from pointer to integer of different size *** Error code 1 Stop in /disk/downloads/unix/sfs-0.7.2/async. *** Error code 1 Stop in /disk/downloads/unix/sfs-0.7.2 (line 254 of Makefile). *** Error code 1 Stop in /disk/downloads/unix/sfs-0.7.2 (line 385 of Makefile). ============= I can get rid of this message by a "cast eos to long in itree.h" as suggested by Derek on 2005/08/26, but then I just get another similar error (135 in total). Any suggestions would be appreciated. Regards, Henry ps. gcc --version produces: gcc (GCC) 3.3.5 (propolice)