[Elphel-support] link to ssl

Andrey Filippov andrey at elphel.com
Tue Nov 24 18:07:38 PST 2009


Robbert,

I'm just testing now 8.0.6.3 (there was a problem with php-5.2.9.tar.bz2
moved to "museum") on a new computer (Kubuntu 9.10). If that will finish OK
(as I hope) I would recommend a fresh install with
https://sourceforge.net/projects/elphel/files/elphel353-8/install-8.0-fromcvs/elphel353_80_install_from_cvs.sh.tar.gz/download.
You can use the in-camera source archive, but it may too have a
problem
with moved php5 source. We have a backup mirror of all used distributions,
but the script downloaded something (html page with explanations that file
not found) and thought it was OK.

Andrey


On Tue, Nov 24, 2009 at 6:58 PM, Robbert <rma at vmsys.com> wrote:

>  Andrey,
>
>
>
> I did the compile separately just for test purpose. I manually copied the
> library to the camera and fixed the problem.
>
>
>
> I planned to add the directory to subdirs.list, but the install_elphel
> seems never finished this time (it’s a fresh installation, I downloaded
> elphel353-806.tar.gz ), the build.log has grown to more than 70M.
>
> I tried the installation on HP DL380 server yesterday and it didn’t finish
> in 6 hours. I noticed last time when I install version 8.0.3 on laptop, the
> build.log is only 4M.
>
>
>
> Regards,
>
> Robbert
>
>
>  ------------------------------
>
> *From:* Andrey Filippov [mailto:elphel at gmail.com]
> *Sent:* Wednesday, November 25, 2009 12:28 PM
> *To:* Robbert
> *Cc:* support-list at support.elphel.com
> *Subject:* Re: [Elphel-support] link to ssl
>
>
>
> Robbert,
>
> Did you just compile your program separately or included it into the
> distribution and ran top "make" ? When you do "make images" it collects
> required libraries and installs them into the camera file system.
>
> To include the new program you need to add the directory it to subdirs.list
> (in the top installation directory), I would also recommend adding all the
> required source files to the srl.list - in that case the camera will have
> complete set of the source code, including all the custom modifications. So
> it will be easy to restore later - what exactly code is running in that
> particular camera
>
> Andrey
>
> On Tue, Nov 24, 2009 at 6:19 PM, Robbert <rma at vmsys.com> wrote:
>
> Ok, seems "-l ssl" did the trick. But when I run it in Camera, it complains
> missing libssl.so.0.9.7.
>
> -----Original Message-----
> From: Robbert [mailto:rma at vmsys.com]
> Sent: Wednesday, November 25, 2009 11:23 AM
> To: 'Elphel Support | Andrey Filippov'
> Subject: link to ssl
>
> Hi Andrey,
>
> I am trying to compile a simple hmac test program, but can not link to the
> library.
>
> Could you please tell me what's wrong? Thanks!
>
> Robbert
> =======================================================
> Makefile:
> AXIS_USABLE_LIBS = UCLIBC GLIBC
> include $(AXIS_TOP_DIR)/tools/build/Rules.axis
> CC = gcc-cris -mlinux -march=v32
>
> INCDIR     = $(prefix)/include
> PROGS      = hmactest
>
> SRCS = hmactest.c
> OBJS = hmactest.o
> CFLAGS   += -Wall -I$(INCDIR) -I ../target/crisv32-axis-linux-gnu/include/
> -I$(AXIS_KERNEL_DIR)/include
>
> mlib
> =/root/work/elphel353-8.0.3/elphel353/target/crisv32-axis-linux-gnu/lib
> mlib1
> =/root/work/elphel353-8.0.3/elphel353/apps/crypto/openssl-IR0_9_7f-3/openssl/
>
> all: $(PROGS)
>
> $(PROGS): $(OBJS)
>       $(CC) $(LDFLAGS) -L $(mlib) -L $(mlib1)  $^ $(LDLIBS)  -o $@
> #       cris-strip -s $@
> clean:
>       rm -rf $(PROGS) *.o core
> dependency:
>       make depend
> depend:
>       makedepend -Y -- $(CFLAGS) -- $(SRCS) 2>/dev/null
>       touch dependency
> # DO NOT DELETE
>
> ======================================================
> And make output:
> subdirs=
> gcc-cris -mlinux -march=v32
>  -L/root/work/elphel353-8.0.3/elphel353/target/host/lib
> -L/root/work/elphel353-8.0.3/elphel353/target/host/usr/lib
> -Wl,-rpath-link,/root/work/elphel353-8.0.3/elphel353/target/host/lib,-rpath-link,/root/work/elphel353-8.0.3/elphel353/target/host/usr/lib
>  -L /root/work/elphel353-8.0.3/elphel353/target/crisv32-axis-linux-gnu/lib
> -L
> /root/work/elphel353-8.0.3/elphel353/apps/crypto/openssl-IR0_9_7f-3/openssl/
>  hmactest.o    -o hmactest
> hmactest.o: In function `main':
> hmactest.o(.text+0xae): undefined reference to `HMAC_CTX_init'
> hmactest.o(.text+0xb6): undefined reference to `EVP_md5'
> hmactest.o(.text+0xc6): undefined reference to `HMAC_Init_ex'
> hmactest.o(.text+0x10e): undefined reference to `HMAC_Update'
> hmactest.o(.text+0x142): undefined reference to `HMAC_Final'
> hmactest.o(.text+0x14a): undefined reference to `HMAC_CTX_cleanup'
> collect2: ld returned 1 exit status
> make: *** [hmactest] Error 1
>
>   _______________________________________________
> Support-list mailing list
> Support-list at support.elphel.com
> http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com
>
>
>
> No virus found in this incoming message.
>
> Checked by AVG - www.avg.com
> Version: 8.5.425 / Virus Database: 270.14.80/2523 - Release Date: 11/24/09
> 07:46:00
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://support.elphel.com/pipermail/support-list_support.elphel.com/attachments/20091124/8e542538/attachment-0002.html>


More information about the Support-list mailing list