Menu

#1 Patch for FreeMe2_src-0.4

open
nobody
None
5
2010-01-01
2010-01-01
Stanley G.
No

I tried to compile the source code on Fedora 11, but it didn't work. The error log prompted me to install openssl-devel and openssl-static. Compilation still didn't work. So I searched for the cause of the problem and found out that there is no reference to the ""openssl/bn.h" header in msdrm.c and ecc.c (or at least indirectly via config.h). This caused the "undefined function BN_new()" and similar errors when executing "make" (at least in Fedora 11). The root cause is, there's a line missing in the "configure.in" file that should have indicated that openssl is a dependency of FreeMe2.

The patch consists of a fix for configure.in.

Instructions for applying patch:

1. Place FreeMe2_src-0.4.tgz and FreeMe2_src-0.4.patch into a single directory.
2. Change directory to that directory.
3. Run the following commands:

tar xvzf FreeMe2_src-0.4.tgz
patch -p1 < FreeMe2_src-0.4.patch

You can now proceed to compile FreeMe2.

Discussion

  • Stanley G.

    Stanley G. - 2010-01-01

    Patch for fixing compile errors

     
  • Stanley G.

    Stanley G. - 2010-01-01

    Oops, please ignore my patch. FreeMe2_src-0.4 compiles even without my patch in Fedora 11, as long as you have openssl-devel and openssl-static already installed. Sorry for that.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.