Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Oct 2014 20:50:13 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 194724] New: multimedia/libmatroska: error: use of undeclared identifier 'free'
Message-ID:  <bug-194724-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194724

            Bug ID: 194724
           Summary: multimedia/libmatroska: error: use of undeclared
                    identifier 'free'
           Product: Ports Tree
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: Needs Triage
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: multimedia@FreeBSD.org
          Reporter: ohartman@zedat.fu-berlin.de
          Assignee: multimedia@FreeBSD.org
             Flags: maintainer-feedback?(multimedia@FreeBSD.org)

c++ -c  -O2 -pipe -O3 -march=native -fstack-protector -fno-strict-aliasing  
-Wall -Wextra -Wno-unknown-pragmas -D_GNU_SOURCE -Wshadow
-I/usr/ports/multimedia/libmatroska/work/libmatroska-1.4.1/make/linux/../..
-I/usr/local/include -o
/usr/ports/multimedia/libmatroska/work/libmatroska-1.4.1/make/linux/../../src/KaxAttachments.o
/usr/ports/multimedia/libmatroska/work/libmatroska-1.4.1/make/linux/../../src/KaxAttachments.cpp
In file included from
/usr/ports/multimedia/libmatroska/work/libmatroska-1.4.1/make/linux/../../src/KaxAttachments.cpp:37:
In file included from
/usr/ports/multimedia/libmatroska/work/libmatroska-1.4.1/make/linux/../../matroska/KaxSemantic.h:42:
/usr/local/include/ebml/EbmlBinary.h:81:5: error: use of undeclared identifier
'free'
                                free(Data);
                                ^
/usr/local/include/ebml/EbmlBinary.h:82:21: error: use of undeclared identifier
'malloc'
                        Data = (binary *)malloc(BufferSize * sizeof(binary));
                                         ^
In file included from
/usr/ports/multimedia/libmatroska/work/libmatroska-1.4.1/make/linux/../../src/KaxContexts.cpp:36:
In file included from /usr/local/include/ebml/EbmlHead.h:40:
In file included from /usr/local/include/ebml/EbmlMaster.h:44:
In file included from /usr/local/include/ebml/EbmlCrc32.h:43:
/usr/local/include/ebml/EbmlBinary.h:81:5: error: use of undeclared identifier
'free'
                                free(Data);
                                ^
/usr/local/include/ebml/EbmlBinary.h:82:21: error: use of undeclared identifier
'malloc'
                        Data = (binary *)malloc(BufferSize * sizeof(binary));
                                         ^
2 errors generated.
Makefile:97: recipe for target
'/usr/ports/multimedia/libmatroska/work/libmatroska-1.4.1/make/linux/../../src/KaxAttachments.o'
failed
gmake[3]: ***
[/usr/ports/multimedia/libmatroska/work/libmatroska-1.4.1/make/linux/../../src/KaxAttachments.o]
Error 1
gmake[3]: *** Waiting for unfinished jobs....
In file included from
/usr/ports/multimedia/libmatroska/work/libmatroska-1.4.1/make/linux/../../src/KaxContexts.cpp:38:
/usr/ports/multimedia/libmatroska/work/libmatroska-1.4.1/make/linux/../../matroska/KaxBlock.h:124:5:
error: use of undeclared identifier 'free'
                                free(_Buffer);
                                ^
3 errors generated.
Makefile:97: recipe for target
'/usr/ports/multimedia/libmatroska/work/libmatroska-1.4.1/make/linux/../../src/KaxContexts.o'
failed
gmake[3]: ***
[/usr/ports/multimedia/libmatroska/work/libmatroska-1.4.1/make/linux/../../src/KaxContexts.o]
Error 1
gmake[3]: Leaving directory
'/usr/ports/multimedia/libmatroska/work/libmatroska-1.4.1/make/linux'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/multimedia/libmatroska
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/multimedia/vlc
*** Error code 1

Stop.
make: stopped in /usr/ports/multimedia/vlc

--- Comment #1 from Bugzilla Automation <bugzilla@FreeBSD.org> ---
Auto-assigned to maintainer multimedia@FreeBSD.org

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-194724-13>