Davide Libenzi wrote: >On Fri, 7 May 2004, Christian Gross wrote: > > >>The compile ran successfully, but the link returned with the error: >> >>g++: unrecognized option `-pthread' >>ld: can't locate file for: -lc_r >>make: *** [XMail] Error 1 >>Process make exited with code 2 >> >>I am in the process of investigating the link problems. However, if >>anybody has any hints, please tell me. >> >> > >It should be -lpthread. And try to remove -lc_r. > > I did and everything compiled. Then I ran into the following problems...
g++ -o CtrlClnt Base64Enc.o BuffSock.o SysDep.o StrUtils.o MD5.o MiscUtils.o CTRLClient.o Errors.o -lkvm -lpthread ld: can't create output file: CtrlClnt (Is a directory, errno = 21) make: *** [CtrlClnt] Error 1 Process make exited with code 2 OSX is case insensitive like Windows. There is already a crtlclnt directory, albeit all lower case, and that causes a conflict. I for the time being renamed the directory to something else. Same problem for the mkusers directory with same solution. Otherwise everything compiled and linked. Now I will test and see if things work properly. Christian - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED] For general help: send the line "help" in the body of a message to [EMAIL PROTECTED]
