On Thu, 2006-07-20 at 12:06 -0500, Larry Evans wrote:

> > I'm making rc10 now .. watch for the notice.
> 
> Downloaded and did ./configure; make on rc10, but got same error:
> 
> g++ -o test/posix_t1 rtl/flx_arun_static.o test/posix_t1_static.o -Lrtl 
> -lflx_async_static -lfaio_static -ldemux_static -lflx_pthread_static 
> -lflx_static -lflx_gc_static -lpthread
> bin/flx_arun ./test/posix_t1.so > test/posix_t1.output && diff -b 
> test/posix_t1.expect test/posix_t1.output
>    .. ERROR CODE 0x100
> TESTFILE -- ERROR! bin/flx_arun ./test/posix_t1.so > 
> test/posix_t1.output && diff -b test/posix_t1.expect test/posix_t1.output
> make: *** [all] Error 1
> 
> Before that error, there was this:
> <----------- cut here --------------
> g++ -c -Wall -Wno-invalid-offsetof -Wfatal-errors -O3 
> -fomit-frame-pointer --inline  -Irtl -o tre/tre_stack_static.o 
> -DFLX_STATIC_LINK -DTARGET_BUILD  tre/tre_stack.cpp
> ar -rc  rtl/libtre_static.a tre/tre_regcomp_static.o 
> tre/tre_regerror_static.o tre/tre_regexec_static.o tre/tre_ast_static.o 
> tre/tre_compile_static.o trmodule 'libflx_async_dynamic' loaded!
> found 'create_async_hooker'!
> epoll_create: Function not implemented
> Deleted async_hooker_impl
> Deleted async_hooker
> Unknown exception in thread!
> 4d3
> < accepted connection
> Traceback (most recent call last):
>    File "script/maker", line 284, in ?
>      f()
>    File "mkplugins/make.py", line 72, in __call__
>      plugins['run_unit_tests']()
>    File "mkplugins/run_unit_tests.py", line 50, in __call__
>      raise MakeError
> flxbuild.flxutil.MakeError
> e/tre_filter_static.o tre/tre_match-approx_static.o 
> tre/tre_match-backtrack_static.o tre/tre_match-parallel_static.o 
> tre/tre_mem_static.o tre/tre_parse_static.o tre/tre_stack_static.o
> ranlib  rtl/libtre_static.a
>  >----------- cut here --------------
> 
> Any ideas for solution?

Here's the problem:

epoll_create: Function not implemented

Your glibc is badly broken, or, you've turned it off somehow,or,
your kernel is too old?

You have:

Linux null.localdomain.fake 2.4.18-bf2.4 #1 Son Apr 14 09:53:28 CEST 
2002 i686 GNU/Linux

Mine is:

Linux rosella 2.6.15-26-amd64-k8 #1 SMP PREEMPT Mon Jul 17 19:55:58 UTC
2006 x86_64 GNU/Linux

[Yes, i upgraded it only a few days ago :]

I'm not sure if kernel 2.4 supports epoll. Of course the faulty
function is in glibc. Which g++ version do you have?

The config tests show 'epoll' is available. and RF has tried
to actually test it works in the configure script, though
i'm not 100% sure how he's doing that. It seems these tests
somehow failed to detect your epoll is screwed.

So there's a bug in demux configure.

There are three solutions:

1. Upgrade your system
2. Wait till RF fixes the demux configure
3. patch the configure output

If you do (1) we won't be able to test (2) .. so (3) would
be useful to us.

You can try changing the configure results and rebuilding. set

HAVE_EPOLL=0

in these two files:

config/config.py
config/target_gxx.py

and the system should revert to using POLL. I hope poll
is available :) If not you can fix that the same way,
which will revert you to using select.

After this change you should

make virgin
./boot
make

or you can try:

./umk --pkg=demux
./umk test

[./mk and ./umk are the same, except umk doesn't try to create
a log of the build session using tee]

---------------------------------------------------
BTW: the synchronisation problem in the log is due to
merging stdout and stderr then piping into 'tee'
and redirecting to the console.

On my box, stdout is flushed every end of line when connected
to a console. Unfortunately, when piped into tee, it's buffered.
So stderr and stdout aren't correctly synchronised.

-- 
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Felix-language mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to