Menu

Compile problems with recent download!

2002-11-07
2002-11-11
  • Tom Brennan

    Tom Brennan - 2002-11-07

    Hi,  I have downloaded the recent files freedce-1.1.0.7.tar.bz2 and dcethreads-2.0.2.tar, unzipped them, ran make, make install, it installed the includes/libs into /opt/dce/lib and /opt/dce/include. I created a test project, main_client.c, main_client.h, menu_client.c, dce_misc.c, main_client.idl (created a separate header file using idl -header mc.h -I/opt/dce/include), compiled the code using the following: gcc -o client -L/usr/lib -L/opt/dce/lib -luuid -ldcerpc -ldcethreads -lpthread main_client_cstub.o main_client.o menu_client.o dce_misc.o. I got undefined references to the uuid functions.... even though I have specified that the uuid be linked in....

    Any pointers as to what I am doing wrong?
    Thanks,
    T.

     
    • Tom Brennan

      Tom Brennan - 2002-11-11

      Hi again, its Ok, just discovered that i set up the makefile a bit screwy, I left out a vital -lstdc++....ooops!

      Cheers,
      T.

       

Log in to post a comment.