Closed GoogleCodeExporter closed 9 years ago
Original comment by bg_...@mail.ru
on 4 Dec 2010 at 10:04
memmem.h:22 compiled only if HAVE_MEMMEM undefined
is a ./configure weak for find memmem()
CFLAGS now always contain _GNU_SOURCE for ./configure can see memmem.
TODO: change memmem() search from AC_CHECK_FUNCS to AC_EGREP_HEADER against
string.h
'before ‘size_t’' mean no size_t declared at this point,
fixed by '#include <sys/types.h>' before
Original comment by bg_...@mail.ru
on 4 Dec 2010 at 11:14
fixed in r65, please check, i has't 64bit compiler
Original comment by bg_...@mail.ru
on 4 Dec 2010 at 11:20
новенькое...
gcc -D_GNU_SOURCE -I. -I/usr/include -DHAVE_CONFIG_H -fvisibility=hidden
-fPIC -Wall -Wextra -MD -MT helpers.o -MF .helpers.o.d -MP -o helpers.o -c
helpers.c
helpers.c: In function ‘send_ccwa_set’:
helpers.c:144: warning: cast to pointer from integer of different size
gcc -D_GNU_SOURCE -I. -I/usr/include -DHAVE_CONFIG_H -fvisibility=hidden
-fPIC -Wall -Wextra -MD -MT manager.o -MF .manager.o.d -MP -o manager.o -c
manager.c
gcc -D_GNU_SOURCE -I. -I/usr/include -DHAVE_CONFIG_H -fvisibility=hidden
-fPIC -Wall -Wextra -MD -MT memmem.o -MF .memmem.o.d -MP -o memmem.o -c
memmem.c
memmem.c:41: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘void’
make: *** [memmem.o] Ошибка 1
Original comment by ipetrova...@gmail.com
on 4 Dec 2010 at 12:19
Original comment by bg_...@mail.ru
on 4 Dec 2010 at 1:55
i create local copy of /usr/include/string.h w/o memmem and force unset
HAVE_MEMMEM for check case when memmem() not exists.
memmem.c changed...
helpers.c:144 already marked as FIXME
try r67, I hope all will build and you can relax on Sunday :)
Original comment by bg_...@mail.ru
on 4 Dec 2010 at 2:50
Не вышло релакснуть.
Скомпилилось, но вместо звука просто белый
шум. Пока на Махутовском чан_датакарде
приходится сидеть :(
Original comment by ipetrova...@gmail.com
on 4 Dec 2010 at 2:56
ok, say your uname -srvmpio output
i check 64bit platform later
Original comment by bg_...@mail.ru
on 4 Dec 2010 at 3:16
Linux 2.6.35-23-generic #40-Ubuntu SMP Wed Nov 17 22:14:33 UTC 2010 x86_64
unknown unknown GNU/Linux
Linux 2.6.33.7 #3 SMP Sun Nov 28 01:06:51 EET 2010 x86_64 x86_64 x86_64
GNU/Linux
... both are identical result
Original comment by ipetrova...@gmail.com
on 4 Dec 2010 at 3:54
white noise in both directions?
Original comment by bg_...@mail.ru
on 4 Dec 2010 at 4:07
Original comment by bg_...@mail.ru
on 4 Dec 2010 at 4:08
I create white noise as new bug
Original comment by bg_...@mail.ru
on 4 Dec 2010 at 5:21
Centos 5.5. o x86_64
Linux test.local 2.6.18-194.8.1.el5 #1 SMP Thu Jul 1 19:04:48 EDT 2010 x86_64
x86_64 x86_64 GNU/Linux
[root@test datacard-read-only]# autoconf
configure.in:9: warning: AC_CANONICAL_HOST invoked multiple times
configure.in:97: error: possibly undefined macro: AC_TYPE_SSIZE_T
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.in:98: error: possibly undefined macro: AC_TYPE_UINT64_T
configure.in:110: error: possibly undefined macro: AC_CFLAGS
[root@test datacard-read-only]# automake -a
configure.in:9: warning: AC_CANONICAL_HOST invoked multiple times
configure.in: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.in: You should verify that configure.in invokes AM_INIT_AUTOMAKE,
configure.in: that aclocal.m4 is present in the top-level directory,
configure.in: and that aclocal.m4 was recently regenerated (using aclocal).
configure.in: installing `./install-sh'
configure.in: installing `./missing'
automake: no `Makefile.am' found for any configure output
[root@test datacard-read-only]# ./configure
configure: error: cannot run /bin/sh ./config.sub
Original comment by pag...@gmail.com
on 5 Dec 2010 at 5:53
Debian squeeze 64 bits
Linux debian64 2.6.32-5-amd64 #1 SMP Thu Nov 25 18:02:11 UTC 2010 x86_64
GNU/Linux
Everything is ok!!!
Original comment by pag...@gmail.com
on 5 Dec 2010 at 8:39
kernel 2.6.18 not support
Original comment by ipetrova...@gmail.com
on 5 Dec 2010 at 9:15
ok, Centos5/RedHat5 fails to compile...
Original comment by pag...@gmail.com
on 5 Dec 2010 at 10:39
autoconf
and
automake
alive in several versions
I uncomment AC_PREREQ([2.60]) at begining of configure.in
More strict need 2.64
Its about undefined macro: AC_TYPE_SSIZE_T AC_TYPE_UINT64_T AC_CFLAGS
Other way - rewrite this macros manually.
automake -a complains is ok, just ignore
we not use automake for build process only for install "missing" files
config.sub config.guess install-sh
I can put files to repository but its bad idea i think.
Packages http://code.google.com/p/datacard/downloads/list contain ALL required
files for run configure
kernel version does not matter for autoconf/automake
Original comment by bg_...@mail.ru
on 6 Dec 2010 at 4:07
Centos 5.5 x86_64 with kernel 2.6.18 (autoconf 2.59):
Using tar.gz package --> ok
Using svn --> autoconf complains (configure.in:3: error: Autoconf version 2.60
or higher is required)
That's ok.. I supose...
Original comment by pag...@gmail.com
on 6 Dec 2010 at 9:56
Problems with compilation again...
cli.c: In function ‘cli_show_device_statictics’:
cli.c:284: warning: format ‘%llu’ expects type ‘long long unsigned
int’, but argument 3 has type ‘uint64_t’
cli.c:285: warning: format ‘%llu’ expects type ‘long long unsigned
int’, but argument 3 has type ‘uint64_t’
cli.c:291: warning: format ‘%llu’ expects type ‘long long unsigned
int’, but argument 3 has type ‘uint64_t’
Original comment by ipetrova...@gmail.com
on 9 Jan 2011 at 6:50
same types
Original comment by bg_...@mail.ru
on 10 Jan 2011 at 9:14
Original issue reported on code.google.com by
ipetrova...@gmail.com
on 3 Dec 2010 at 9:09