Bug Report: Compilation problem on Dap

Michael Hyde <[email protected]> Mon, 26 Mar 2012 03:02:57 -0400
Newsgroups gmane.comp.statistics.dap.bugs
Message-ID <CAMv3e=ze0jAoHcU9GCWSzRp0MkW8V-JKgz8x5aLfY920WizwsQ@mail.gmail.com>
--047d7b2e4d6842999504bc1ff9fb
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Hi,

I would like to use your Dap program, but I'm getting error messages at the
compile stage.  Can you help?

I'm running a Dell Lattitude D630 with Scientific Linux 6.2 (64-bit
version). The specific error message I'm getting is:

[mike@DellLatD630 dap-3.7]$ make
Making all in src
make[1]: Entering directory `/home/mike/Downloads/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:673: note: previous declaration of =91getline=92 was h=
ere
make[1]: *** [dap0.o] Error 1
make[1]: Leaving directory `/home/mike/Downloads/dap-3.7/src'
make: *** [all-recursive] Error 1


Thanks for any help you can offer.

Michael Hyde

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

Hi,<br><br>I would like to use your Dap program, but I&#39;m getting error =
messages at the compile stage.=A0 Can you help?<br><br>I&#39;m running a De=
ll Lattitude D630 with Scientific Linux 6.2 (64-bit version). The specific =
error message I&#39;m getting is:<br>

<br>[mike@DellLatD630 dap-3.7]$ make<br>Making all in src<br>make[1]: Enter=
ing directory `/home/mike/Downloads/dap-3.7/src&#39;<br>gcc -DPACKAGE_NAME=
=3D\&quot;GNU\ dap\&quot; -DPACKAGE_TARNAME=3D\&quot;dap\&quot; -DPACKAGE_V=
ERSION=3D\&quot;3.7\&quot; -DPACKAGE_STRING=3D\&quot;GNU\ dap\ 3.7\&quot; -=
DPACKAGE_BUGREPORT=3D\&quot;<a href=3D"mailto:[email protected]">bug-dap@gnu.=
org</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 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D1 -DHAVE_MEMORY_H=3D1 -DHA=
VE_STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H=3D1 -DHAVE_UNISTD_H=
=3D1 -DHAVE_FCNTL_H=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_MKD=
IR=3D1 -I.=A0=A0=A0=A0 -g -O2 -MT dap0.o -MD -MP -MF .deps/dap0.Tpo -c -o d=
ap0.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:673: note: previous declaration of =91getline=92 was here<br>make[1]: *=
** [dap0.o] Error 1<br>make[1]: Leaving directory `/home/mike/Downloads/dap=
-3.7/src&#39;<br>

make: *** [all-recursive] Error 1<br><br><br>Thanks for any help you can of=
fer.<br><br>Michael Hyde<br>

--047d7b2e4d6842999504bc1ff9fb--