Open GoogleCodeExporter opened 8 years ago
Try LUSCA_HEAD now? I've added a potentially missing #include <sys/types.h> to
comm_kqueue.c .
I don't have an openbsd box handy to try compiling it on. :/
Original comment by adrian.c...@gmail.com
on 6 Aug 2010 at 6:41
I've added <inttypes.h> to comm_kqueue.c and compiling succeed to start again
until found another error like below:
Making all in libsqftp
if gcc -DHAVE_CONFIG_H -I. -I. -I../include -I/include -Wall -g -O2
-D_REENTRANT -MT ftp_util.o -MD -MP -MF ".deps/ftp_util.Tpo" -c -o ftp_util.o
ftp_util.c; then mv -f ".deps/ftp_util.Tpo" ".deps/ftp_util.Po"; else rm -f
".deps/ftp_util.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../include -I/include -Wall -g -O2
-D_REENTRANT -MT ftp_parts.o -MD -MP -MF ".deps/ftp_parts.Tpo" -c -o
ftp_parts.o ftp_parts.c; then mv -f ".deps/ftp_parts.Tpo"
".deps/ftp_parts.Po"; else rm -f ".deps/ftp_parts.Tpo"; exit 1; fi
In file included from ftp_parts.c:19:
../libcore/tools.h:33: error: expected declaration specifiers or '...' before
'va_list'
*** Error 1 in libsqftp (Makefile:303 'ftp_parts.o')
Original comment by fer...@gmail.com
on 23 Aug 2013 at 5:04
using env CC=egcc bypass libsqftp error
I use OpenBSD-5.3 with it's gcc-4.6 ports
# egcc -v
Using built-in specs.
COLLECT_GCC=egcc
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-unknown-openbsd5.3/4.6.3/lto-w
rapper
Target: x86_64-unknown-openbsd5.3
Configured with: /usr/obj/gcc-4.6.3/gcc-4.6.3/configure --enable-libgcj
--without-jar --verbose --program-transform-name='s,^,e,' --disable-nls
--disable-checking --with-system-zlib --disable-libmudflap --disable-libgomp
--disable-tls --with-as=/usr/bin/as --with-ld=/usr/bin/ld --with-gnu-ld
--with-gnu-as --enable-threads=posix --enable-wchar_t --with-gmp=/usr/local
--disable-libstdcxx-pch --enable-languages=c,c++,fortran,objc,java,ada,go
--enable-cpp --enable-shared --prefix=/usr/local --sysconfdir=/etc
--mandir=/usr/local/man --infodir=/usr/local/info --localstatedir=/var
--disable-silent-rules
Thread model: posix
gcc version 4.6.3 (GCC)
and now facing another error like below :
Making all in fs
depbase=`echo aufs/store_dir_aufs.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; if
egcc -DHAVE_CONFIG_H -I. -I. -I../../include -I. -I../../include
-I../../include -I../../src -I/usr/local/include -Wall -g -O2 -D_REENTRANT
-MT aufs/store_dir_aufs.o -MD -MP -MF "$depbase.Tpo" -c -o
aufs/store_dir_aufs.o aufs/store_dir_aufs.c; then mv -f "$depbase.Tpo"
"$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
In file included from aufs/store_dir_aufs.c:38:0:
./../../libasyncio/aiops.h:55:5: error: unknown type name 'pthread_mutex_t'
./../../libasyncio/aiops.h:56:5: error: unknown type name 'pthread_cond_t'
./../../libasyncio/aiops.h:66:5: error: unknown type name 'pthread_t'
*** Error 1 in src/fs (Makefile:405 'aufs/store_dir_aufs.o')
*** Error 1 in src (Makefile:1010 'all-recursive')
*** Error 1 in src (Makefile:693 'all')
Original comment by fer...@gmail.com
on 23 Aug 2013 at 5:54
adding #include <pthread.h> at libasyncio/aiops.h fix above error
and finally we successfully complete the compile process
so to success compile on OpenBSD we have to :
1. add <inttypes.h> to comm_kqueue.c
2. add <pthread.h> to aiops.h
3. using gcc-4.6 or gcc-4.7 port (egcc)
Original comment by fer...@gmail.com
on 23 Aug 2013 at 6:39
Original issue reported on code.google.com by
unexplai...@gmail.com
on 30 Apr 2010 at 10:26