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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
Hi again, its Ok, just discovered that i set up the makefile a bit screwy, I left out a vital -lstdc++....ooops!
Cheers,
T.