problem with "extern inline" function in javanio.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

I have a problem with the "extern inline" functions in javanio.c:

     symbol lookup error: /home/edwin/local/classpath/lib/classpath/libjavanio.so: 
     undefined symbol: cpnio_read

It is caused by this:

edwin@yukon:~/ss/cvs/classpath$ nm ./native/jni/java-nio/.libs/gnu_java_nio_VMChannel.o | grep cpnio_read
U cpnio_read
U cpnio_readv

The code seems to assume that "extern inline" forces inlining, which is
not true AFAIK. I propose changing all "extern inline" to "static inline",
which solves the problem for me and should produce equally efficient code.

-Edwin



[Index of Archives]     [Linux Kernel]     [Linux Cryptography]     [Fedora]     [Fedora Directory]     [Red Hat Development]

  Powered by Linux