openobex + cygwin: compiling windows binaries

Help
H.Lekin
2006-11-16
2013-05-01
  • H.Lekin

    H.Lekin - 2006-11-16

    Hello all!

    I wish to compile openobex-1.3 windows-binaries on cygwin/XP.

    $ ./configure CFLAGS=-mno-cygwin
    leads to
    ---snip---
    checking dlfcn.h presence... yes
    configure: WARNING: dlfcn.h: present but cannot be compiled
    configure: WARNING: dlfcn.h:     check for missing prerequisite headers?
    configure: WARNING: dlfcn.h: see the Autoconf documentation
    configure: WARNING: dlfcn.h:     section "Present But Cannot Be Compiled"
    configure: WARNING: dlfcn.h: proceeding with the preprocessor's result
    configure: WARNING: dlfcn.h: in the future, the compiler will take precedence
    configure: WARNING:     ## ------------------------------------------ ##
    configure: WARNING:     ## Report this to the AC_PACKAGE_NAME lists.  ##
    configure: WARNING:     ## ------------------------------------------ ##
    checking for dlfcn.h... yes
    ---snip---
    and make gives errors in dozens.

    Configure for an openobex cygwin-build, i.e. no compiler flag, works fine!

    The mentioned Autoconf doc-section says s.th. about preprocessor & compiler disagreement, which doesn't help me much to go on. Auto[re]conf is a hell of a lot to read and I am not sure whether it can solve this issue at all.

    Any help will be highly appreciated. Thanks a lot in advance.

     
    • Hendrik Sattler

      Hendrik Sattler - 2007-01-05

      By now, the CVS version should compile the lib directory with mingw32. I didn't test with cygwin, but you need to set CFLAGS _and_ CPPFLAGS for those messages to not appear.

      HS

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks