Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Dec 2013 08:36:20 -0800
From:      Mark Atkinson <atkin901@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: opencv update
Message-ID:  <l7nllp$c2k$1@ger.gmane.org>
In-Reply-To: <CA%2Bt49PJ-R_EaXQJYC4wEGOTzFSnGmv6xVeDaUNXvYtRrg3Uetg@mail.gmail.com>
References:  <9791025.9uybD67rLo@lumiwa.farms.net> <CA%2Bt49PJ-R_EaXQJYC4wEGOTzFSnGmv6xVeDaUNXvYtRrg3Uetg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/04/2013 05:33, Daniel Nebdal wrote:
> On Wed, Dec 4, 2013 at 2:10 PM, Ajtim <lumiwa@gmail.com> wrote:
> 
>> I did what is in /usr/ports/UPDATING and looks like I am in
>> trouble now. My system is FreeBSD 10.0-BETA4 (amd64):
>> 
>> ===>   FreeBSD 10 autotools fix applied to 
>> /usr/ports/multimedia/ffmpeg0/work/ffmpeg-0.7.16/configure ERROR:
>> opencv-core not found
>> 
>> If you think configure made a mistake, make sure you are using
>> the latest version from Git.  If the latest version fails, report
>> the problem to the ffmpeg-user@ffmpeg.org mailing list or IRC
>> #ffmpeg on irc.freenode.net. Include the log file "config.log"
>> produced by configure as this will help solving the problem. ===>
>> Script "configure" failed unexpectedly. Please report the problem
>> to wg@FreeBSD.org [maintainer] and attach the 
>> "/usr/ports/multimedia/ffmpeg0/work/ffmpeg-0.7.16/config.err"
>> including the output of the failure of your make command. Also,
>> it might be a good idea to provide an overview of all packages
>> installed on your system (e.g. a /usr/local/sbin/pkg-static info
>> -g -Ea). *** Error code 1
>> 
>> Stop. make[1]: stopped in /usr/ports/multimedia/ffmpeg0 *** Error
>> code 1
>> 
>> Stop. make: stopped in /usr/ports/multimedia/ffmpeg0
>> 
>> ===>>> make failed for multimedia/ffmpeg0 ===>>> Aborting update
>> 
>> ===>>> Update for multimedia/ffmpeg0 failed ===>>> Aborting
>> update
>> 
>> ===>>> Killing background jobs Terminated ===>>> The following
>> actions were performed: Installation of graphics/opencv-core
>> (opencv-core-2.4.7) Upgrade of ffmpeg-2.1.1,1 to
>> ffmpeg-2.1.1_1,1
>> 
>> 
>> ===>>> You can restart from the point of failure with this
>> command line: portmaster <flags> multimedia/ffmpeg0 
>> graphics/gstreamer-plugins-opencv graphics/opencv
>> graphics/openimageio x11/xterm
>> 
>> Thank you. -- Mitja ------- 
>> http://www.redbubble.com/people/lumiwa
> 
> 
> 
> I ran into something like that when the relevant files were
> installed, but didn't work (missing symbols in something it was
> linked to, I believe). What does the config.err file say?
> 


BEGIN /tmp/ffconf.h5eweeVe.c
    1   #include <opencv2/core/core_c.h>
    2   long check_cvCreateImageHeader(void) { return (long)
cvCreateImageHeader; }
    3   int main(void) { return 0; }
END /tmp/ffconf.h5eweeVe.c
cc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC
- -O2 -pipe -march=native -msse -fno-strict-aliasing
- -I/usr/local/include/vorbis -I/usr/local/include -std=c99
- -fomit-frame-pointer -fPIC -I/usr/local/include/freetype2
- -I/usr/local/include -I/usr/local/include/opencv -I/usr/local/include
/usr/local/lib/libopencv_core.so /usr/local/lib/libopencv_imgproc.so
- -c -o /tmp/ffconf.KAxUBGTa.o /tmp/ffconf.h5eweeVe.c
cc: warning: /usr/local/lib/libopencv_core.so: 'linker' input unused
cc: warning: /usr/local/lib/libopencv_imgproc.so: 'linker' input unused
cc -L/usr/local/lib -Wl,--as-needed -I/usr/local/include/opencv
- -I/usr/local/include /usr/local/lib/libopencv_core.so
/usr/local/lib/libopencv_imgproc.so -o /tmp/ffconf.OA02kgLA
/tmp/ffconf.KAxUBGTa.o -L/usr/local/lib -lfreetype -lm -lbz2 -lz -pthread
/tmp/ffconf.KAxUBGTa.o: In function `check_cvCreateImageHeader':
/tmp/ffconf.h5eweeVe.c:(.text+0x3): undefined reference to
`cvCreateImageHeader'
cc: error: linker command failed with exit code 1 (use -v to see
invocation)


$ nm -a /usr/local/lib/libopencv_core.so.2
nm: /usr/local/lib/libopencv_core.so.2: no symbols

$ nm -a /usr/local/lib/libopencv_imgproc.so.2
nm: /usr/local/lib/libopencv_imgproc.so.2: no symbols
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlKfWgQACgkQrDN5kXnx8yZkPwCfTIIT5UzopcSi2K5CuYyAU/SM
ly8AnjwJXvn9OcHVq6MwbFIBFN1A12ab
=dX+E
-----END PGP SIGNATURE-----




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?l7nllp$c2k$1>