Hello,

This fixes the problem. Many thanks!

I saw the following during compilation without enabling the workaround 
which might be useful:

gcc -DHAVE_CONFIG_H -I. -I..    -ggdb  -g -O2 -Wall -Wstrict-prototypes 
-Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -MT 
scanner.o -MD -MP -MF .deps/scanner.Tpo -c -o scanner.o scanner.c
In file included from scanner.l:45:
../config.h:277:1: warning: "_FILE_OFFSET_BITS" redefined
In file included from /usr/include/stdio.h:22,
                  from scanner.c:19:
/usr/include/sys/feature_tests.h:188:1: warning: this is the location of 
the previous definition
scanner.c: In function `yy_fatal_error':
scanner.c:2071: warning: function might be possible candidate for 
attribute `noreturn'
scanner.l: At top level:
scanner.c:1600: warning: 'yyunput' defined but not used



Also have in mind that nftest compilation fails with:
gcc -DHAVE_CONFIG_H -I. -I..    -ggdb  -g -O2 -Wall -Wstrict-prototypes 
-Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -MT 
nftest.o -MD -MP -MF .deps/nftest.Tpo -c -o nftest.o nftest.c
nftest.c: In function `main':
nftest.c:330: error: `IPPROTO_GRE' undeclared (first use in this function)
nftest.c:330: error: (Each undeclared identifier is reported only once
nftest.c:330: error: for each function it appears in.)

Regards,

John

On Fri, 31 Jul 2009, Peter Haag wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi John,
>
> John Kougoulos wrote:
>> Hello,
>>
>> sorry for this noise, 1.5.8 seems to work ok. however this is valid for
>> 1.6b, in case anyone is interested. The gdb output is from 1.6b snapshot
>>
>> Regards,
>> John
>
> After running configure, edit config.h:
>
> comment/remove the line:
> #define _FILE_OFFSET_BITS 64
>
> and recompile.
>
> I need to investigate, why this came is again in 1.6b-xx
>
>       - Peter
>>
>> On Thu, 30 Jul 2009, John Kougoulos wrote:
>>
>>> Hello all,
>>>
>>> I have compiled nfdump in solaris 10/SPARC and everything works ok, but
>>> when I use nfdump -R in specific directories, it core dumps. Gdb shows the
>>> following:
>>>
>>> Core was generated by `nfdump -R .'.
>>> Program terminated with signal 10, Bus error.
>>> [New process 86841    ]
>>> #0  fts_stat (sp=0x61afc, p=0x61ab0, follow=0) at fts_compat.c:884
>>> 884                     ino = p->fts_ino = sbp->st_ino;
>>> (gdb) bt
>>> #0  fts_stat (sp=0x61afc, p=0x61ab0, follow=0) at fts_compat.c:884
>>> #1  0x00025494 in fts_build (sp=0x61398, type=3) at fts_compat.c:765
>>> #2  0x00025c04 in fts_read_compat (sp=0x61398) at fts_compat.c:381
>>> #3  0x000236a4 in SetupInputFileSequence (multiple_dirs=0x0,
>>> single_file=0x0, multiple_files=0x61398 "") at flist.c:814
>>> #4  0x00013908 in main (argc=3, argv=0x0) at nfdump.c:927
>>> (gdb)
>>>
>>> I have tried both 1.5.7 and 1.6b-latest-snapshot with the same results.
>>>
>>> Any ideas?
>>>
>>> Many thanks,
>>> John
>>>
>>> ------------------------------------------------------------------------------
>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
>>> trial. Simplify your report design, integration and deployment - and focus 
>>> on
>>> what you do best, core application coding. Discover what's new with
>>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>>> _______________________________________________
>>> Nfdump-discuss mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/nfdump-discuss
>>>
>>
>> ------------------------------------------------------------------------------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
>> trial. Simplify your report design, integration and deployment - and focus on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> Nfdump-discuss mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/nfdump-discuss
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (Darwin)
>
> iQCVAwUBSnLew/5AbZRALNr/AQK2VAP/X/qfyUOi7ZeQ/arbs257mhhOOA5yj8Ce
> UeatwdYYO8EODHOLM+NOhIVOWJX/rWt+k03pVV/ljAtmFBCQHb5ub+E4PMiKqFdB
> D/kBsFovz4vz9/+A3KewgcLiHLB/RsnNsMFejfxuVVd5GnSxTf56LYKNfv20DmBt
> BfRlsXcrgVc=
> =zQ5D
> -----END PGP SIGNATURE-----
>

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Nfdump-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfdump-discuss

Reply via email to