[Elphel-support] link to ssl

Robbert rma at vmsys.com
Tue Nov 24 18:28:18 PST 2009


Andrey,

 

I have Fedora 10 with gcc-4.3.2-7 but cris-compiler not happy with that so I
switched to Red Hat with gcc-4.1.2.

 

I copied old distfiles directory from laptop and then run
elphel353_80_install_from_cvs.sh and it tooks more than 6 hours and didn’t
finish, and then I tried elphel353-806.tar.gz without using the old
distfiles, same thing happened.

I suspect the install_elphel run in a loop and can not exit and I am
guessing some necessary tools missed. I will have a look.

 

Regards,

Robbert

 

  _____  

From: elphel at gmail.com [mailto:elphel at gmail.com] On Behalf Of Andrey
Filippov
Sent: Wednesday, November 25, 2009 1:08 PM
To: Robbert
Cc: support-list at support.elphel.com
Subject: Re: [Elphel-support] link to ssl

 

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-fromcv
s/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

 

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/20091125/8f87e1e3/attachment-0002.html>


More information about the Support-list mailing list