Hi Nicolas,

Do you have any new patches for the build for bjdwp?  I'm still having some
issues building from a clean tree.

I'm not looking for autoconf yet, I understand that's more work.  I just
want the cmake stuff to compile before releasing 0.16, if possible.

The missing endian.h and config.h headers are making things break, I think.

Using the usual cmake style of building, I do:

(build and install barry into /home/cdfrey/rootdir)

Then:

[cdfrey barry-git1]$ git status
# On branch master
nothing to commit (working directory clean)
[cdfrey barry-git1]$ cd bjdwp/
[cdfrey bjdwp]$ ls
CMakeLists.txt  include  src  tools  utils
[cdfrey bjdwp]$ mkdir build
[cdfrey bjdwp]$ cd build/
[cdfrey build]$ PKG_CONFIG_PATH=/home/cdfrey/rootdir/lib/pkgconfig cmake ..
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- checking for module 'libbarry-0'
--   found libbarry-0, version 0.16
-- Configuring done
-- Generating done
-- Build files have been written to: /home/cdfrey/barry-git1/bjdwp/build
[cdfrey build]$ make
Scanning dependencies of target barry-jdwp
[ 10%] Building CXX object src/CMakeFiles/barry-jdwp.dir/jdwp.cc.o
[ 20%] Building CXX object src/CMakeFiles/barry-jdwp.dir/data.cc.o
/home/cdfrey/barry-git1/bjdwp/src/data.cc:4:26: error: barry/endian.h: No such 
file or directory
/home/cdfrey/barry-git1/bjdwp/src/data.cc: In function 'void 
JDWP::AddDataChar(Barry::Data&, size_t&, const void*, size_t)':
/home/cdfrey/barry-git1/bjdwp/src/data.cc:60: error: 'be_htobl' was not 
declared in this scope
make[2]: *** [src/CMakeFiles/barry-jdwp.dir/data.cc.o] Error 1
make[1]: *** [src/CMakeFiles/barry-jdwp.dir/all] Error 2
make: *** [all] Error 2
[cdfrey build]$


How do you normally build?

Thanks,
- Chris


------------------------------------------------------------------------------
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
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to