Op maandag 15 februari 2010 22:59:56 schreef Cristian Rodríguez:
I execute the following build command: $ home:rbos/kfritz> osc build openSUSE_11.2 i586 kfritz.spec The last part of the build fails, with the error attached
lib/libfritz++.a(FritzClient.cpp.o): In function `fritz::FritzClient::CalculateLoginResponse(std::basic_string
)': /usr/src/packages/BUILD/kfritz-0.0.1/libfritz++/FritzClient.cpp:73: undefined reference to `MD5' The line that errors out, contains this code: MD5((unsigned char*)challengePwdConv, challengePwd.length()*2, hash);
libcrypto (-lcrypto) needs to be linked.
Thanks that's the solution indeed! Any idea why the build failed with 'osc build .... kfritz.spec' and why the build succeeded when I run the exact same command (copy and pasted) in the chroot from the command line? -- Richard -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org