Compile error on Ubuntu 10.04 64bit install

"[email protected]" <[email protected]> Wed, 23 Jun 2010 18:07:09 -0500
Newsgroups gmane.comp.statistics.dap.bugs
Message-ID <[email protected]>
--00c09f971b7ee90eff0489ba983e
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Trying to install DAP.  In make install step I get:

mark@Radon:~/DAP/dap-3.7$ make install
Making install in src
make[1]: Entering directory `/home/mark/DAP/dap-3.7/src'
gcc -DPACKAGE_NAME=3D\"GNU\ dap\" -DPACKAGE_TARNAME=3D\"dap\"
-DPACKAGE_VERSION=3D\"3.7\" -DPACKAGE_STRING=3D\"GNU\ dap\ 3.7\"
-DPACKAGE_BUGREPORT=3D\"[email protected]\" -DPACKAGE=3D\"dap\" -DVERSION=3D\=
"3.7\"
-DSTDC_HEADERS=3D1 -DHAVE_SYS_WAIT_H=3D1 -DHAVE_SYS_TYPES_H=3D1
-DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D1 -DHAVE_MEMORY=
_H=3D1
-DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H=3D1 -DHAVE_UNIST=
D_H=3D1
-DHAVE_FCNTL_H=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_MKDIR=3D=
1 -I.
-g -O2 -MT dap0.o -MD -MP -MF .deps/dap0.Tpo -c -o dap0.o dap0.c
dap0.c: In function =91dap_malloc=92:
dap0.c:103: warning: cast from pointer to integer of different size
dap0.c: In function =91dap_free=92:
dap0.c:116: warning: cast from pointer to integer of different size
dap0.c: At top level:
dap0.c:546: error: conflicting types for =91getline=92
/usr/include/stdio.h:651: note: previous declaration of =91getline=92 was h=
ere
make[1]: *** [dap0.o] Error 1
make[1]: Leaving directory `/home/mark/DAP/dap-3.7/src'
make: *** [install-recursive] Error 1
mark@Radon:~/DAP/dap-3.7$

Any suggestions to get it to compile right?  Is this a 32bit vs 64bit issue
on the getline?

--00c09f971b7ee90eff0489ba983e
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Trying to install DAP.=A0 In make install step I get:<br><br>mark@Radon:~/D=
AP/dap-3.7$ make install<br>Making install in src<br>make[1]: Entering dire=
ctory `/home/mark/DAP/dap-3.7/src&#39;<br>gcc -DPACKAGE_NAME=3D\&quot;GNU\ =
dap\&quot; -DPACKAGE_TARNAME=3D\&quot;dap\&quot; -DPACKAGE_VERSION=3D\&quot=
;3.7\&quot; -DPACKAGE_STRING=3D\&quot;GNU\ dap\ 3.7\&quot; -DPACKAGE_BUGREP=
ORT=3D\&quot;<a href=3D"mailto:[email protected]">[email protected]</a>\&quot; =
-DPACKAGE=3D\&quot;dap\&quot; -DVERSION=3D\&quot;3.7\&quot; -DSTDC_HEADERS=
=3D1 -DHAVE_SYS_WAIT_H=3D1 -DHAVE_SYS_TYPES_H=3D1 -DHAVE_SYS_STAT_H=3D1 -DH=
AVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D1 -DHAVE_MEMORY_H=3D1 -DHAVE_STRINGS_H=
=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H=3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_F=
CNTL_H=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_MKDIR=3D1 -I.=A0=
=A0=A0=A0 -g -O2 -MT dap0.o -MD -MP -MF .deps/dap0.Tpo -c -o dap0.o dap0.c<=
br>
dap0.c: In function =91dap_malloc=92:<br>dap0.c:103: warning: cast from poi=
nter to integer of different size<br>dap0.c: In function =91dap_free=92:<br=
>dap0.c:116: warning: cast from pointer to integer of different size<br>dap=
0.c: At top level:<br>
dap0.c:546: error: conflicting types for =91getline=92<br>/usr/include/stdi=
o.h:651: note: previous declaration of =91getline=92 was here<br>make[1]: *=
** [dap0.o] Error 1<br>make[1]: Leaving directory `/home/mark/DAP/dap-3.7/s=
rc&#39;<br>
make: *** [install-recursive] Error 1<br>mark@Radon:~/DAP/dap-3.7$ <br clea=
r=3D"all"><br>Any suggestions to get it to compile right?=A0 Is this a 32bi=
t vs 64bit issue on the getline?<br>

--00c09f971b7ee90eff0489ba983e--