Menu

How to build up with cygwin32?

Help
Anonymous
2001-02-26
2001-02-28
  • Anonymous

    Anonymous - 2001-02-26

    I did the followings and get error messages.

    (Install cygwin latest)
    (Install pccts to /usr/local/pccts)
    (Install cygipc latest to prefix=/usr)
    ./configure --with-pcctsbin=/usr/local/pccts/bin --with-pcctsinc=/usr/local/pccts/include --without-posix-threads
    make
    :
    then looks good but last
    :
    ranlib libdao.a
    c++ -o cdrdao main.o -L. -ldao -L../paranoia .....

    ./libdao.a(dao.o)(.ext+0x141b): undefined reference to `shmget(long, int, int)'
                  shmat
                  shmdt
                  shmct

    I modified dao/Makefile to add '-lcygipc' but same. I don't know why ld can't reach libcygipc.a...

    TIA

     
    • Anonymous

      Anonymous - 2001-02-27

      Phew.. cygipc library headers donesn't have linkage specification  for cplusplus...

       
    • Andreas Mueller

      Andreas Mueller - 2001-02-27

      You should compile cdrdao with pthread support.
      The SYSV IPC stuff won't work under Win32.
      The current Cygwin release has the required
      pthread functions build into the c library.

      Please try to compile with the 1.1.5-pre1 release
      available from:
        ftp://cdrdao.sourceforge.net/pub/cdrdao

      This version might also fail to compile "port.cc"
      with respect on some Win32 header files but it can
      be eassily fixed by including something like
      "windows.h".

      Andreas

       
      • Anonymous

        Anonymous - 2001-02-28

        Thanks. > Andreas.

        I got 1.1.5-pre. Build succeed.

         

Log in to post a comment.