ns: [code omitted because of length] - cygwin

I have installed NS2 on Windows XP using Cygwin. There was no error during installation (I used this tutorial), but I'm not able to use NS because of this error below. After entering ./ns.exe :
ns: [code omitted because of length] : invalid command name "Agent/TCP/Newreno/AP" while executing "Agent/TCP/Newreno/AP set n_factor_ 4"
When I configured the output is:
$ ./configure
No .configure file found in current directory
Continuing with default options...
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking target system type... i686-pc-cygwin
checking for gcc... gcc
checking for C compiler default output... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for string.h... (cached) yes
checking for main in -lXbsd... no
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... no
checking for dcgettext in -lintl... yes
checking for getnodebyname in -ldnet_stub... no
checking that g++ can handle -O2... no
checking if C++ libraries work without any namespace... no
checking if C++ libraries work with namespace std... yes
checking if STL works without any namespace... no
checking if STL works with namespace std... yes
checking should use STL... yes
checking for tcl.h... -I../include
checking for libtcl8.4... -L../lib -ltcl8.4
checking for init.tcl... ../lib/tcl8.4
checking for tclsh8.4.5... no
checking for tclsh8.4... no
checking for tclsh... ../tcl8.4.5/unix/tclsh
checking for tk.h... -I../include
checking for libtk8.4... -L../lib -ltk8.4
checking for tk.tcl... ../lib/tk8.4
checking for otcl.h... -I../otcl-1.9
checking for libotcl1.9... -L../otcl-1.9 -lotcl
checking for tclcl.h... -I../tclcl-1.16
checking for libtclcl... -L../tclcl-1.16 -ltclcl
checking for tcl2c++... ../tclcl-1.16
checking for X11 header files
checking for X11 library archive
checking for XOpenDisplay in -lX11... no
checking for libXext.a
warning: compiling without -lXext
checking for libtcldbg... -L/home/rihanna/ns-allinone-naderi-modified/ns-2.28/..
/tcl-debug-2.0 -ltcldbg
checking dmalloc... not requested with --with-dmalloc
checking for perl... /usr/bin
checking for ANSI C header files... (cached) yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fenv.h usability... no
checking fenv.h presence... no
checking for fenv.h... no
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking net/ethernet.h usability... no
checking net/ethernet.h presence... no
checking for net/ethernet.h... no
checking for main in -lm... yes
checking for bcopy... yes
checking for bzero... yes
checking for fesetprecision... no
checking for feenableexcept... no
checking for getrusage... yes
checking for sbrk... yes
checking for snprintf... yes
checking return type of random... int
checking for int8_t... yes
checking for int16_t... yes
checking for int32_t... yes
checking for u_int8_t... yes
checking for u_int16_t... yes
checking for u_int32_t... yes
checking for u_char... yes
checking for u_int... yes
checking for strtoq... no
checking for strtoll... yes
checking for long... yes
checking size of long... 4
checking for __int64_t... no
checking for long long... yes
checking for int64_t... yes
checking which kind of 64-bit int to use... int64_t
checking for struct ether_header... not found
checking for struct ether_addr... not found
checking for addr2ascii... no
checking for Linux compliant tcphdr... not found
checking for BSD compliant tcphdr... found
checking for socklen_t... yes
checking for main in -lpcap... no
checking to make nse... no
Explicitly disabling static compilation
no dynamic load lib
checking for a BSD-compatible install... /usr/bin/install -c
configure: creating ./config.status
config.status: creating Makefile
config.status: creating tcl/lib/ns-autoconf.tcl
config.status: creating indep-utils/webtrace-conv/ucb/Makefile
config.status: creating indep-utils/webtrace-conv/dec/Makefile
config.status: creating indep-utils/webtrace-conv/nlanr/Makefile
config.status: creating indep-utils/webtrace-conv/epa/Makefile
config.status: creating indep-utils/cmu-scen-gen/setdest/Makefile
config.status: creating autoconf.h
config.status: autoconf.h is unchanged
The next step is make clean
$ make clean
rm -f ns nse nsx ns.dyn tools/random.o tools/rng.o tools/ranvar.o common/misc.o
common/timer-handler.o common/scheduler.o common/object.o common/packet.o commo
n/ip.o routing/route.o common/connector.o common/ttl.o trace/trace.o trace/trace
-ip.o classifier/classifier.o classifier/classifier-addr.o classifier/classifier
-hash.o classifier/classifier-virtual.o classifier/classifier-mcast.o classifier
/classifier-bst.o classifier/classifier-mpath.o mcast/replicator.o classifier/cl
assifier-mac.o classifier/classifier-qs.o classifier/classifier-port.o src_rtg/c
lassifier-sr.o src_rtg/sragent.o src_rtg/hdr_src.o adc/ump.o qs/qsagent.o qs/hdr
_qs.o apps/app.o apps/telnet.o tcp/tcplib-telnet.o tools/trafgen.o trace/traffic
trace.o tools/pareto.o tools/expoo.o tools/cbr_traffic.o tools/poisson.o adc/tbf
.o adc/resv.o adc/sa.o tcp/saack.o tools/measuremod.o adc/estimator.o adc/adc.o
adc/ms-adc.o adc/timewindow-est.o adc/acto-adc.o adc/pointsample-est.o adc/salin
k.o adc/actp-adc.o adc/hb-adc.o adc/expavg-est.o adc/param-adc.o adc/null-estima
tor.o adc/adaptive-receiver.o apps/vatrcvr.o adc/consrcvr.o common/agent.o commo
n/message.o apps/udp.o common/session-rtp.o apps/rtp.o tcp/rtcp.o common/ivs.o c
ommon/messpass.o common/tp.o common/tpm.o apps/worm.o tcp/tcp.o tcp/tcp-sink.o t
cp/tcp-reno.o tcp/tcp-newreno.o tcp/tcp-vegas.o tcp/tcp-rbp.o tcp/tcp-full.o tcp
/rq.o baytcp/tcp-full-bay.o baytcp/ftpc.o baytcp/ftps.o tcp/scoreboard.o tcp/sco
reboard-rq.o tcp/tcp-sack1.o tcp/tcp-fack.o tcp/tcp-asym.o tcp/tcp-asym-sink.o t
cp/tcp-fs.o tcp/tcp-asym-fs.o tcp/tcp-qs.o tcp/tcp-int.o tcp/chost.o tcp/tcp-ses
sion.o tcp/nilist.o sctp/sctp.o apps/sctp_app1.o sctp/sctp-timestamp.o sctp/sctp
-hbAfterRto.o sctp/sctp-multipleFastRtx.o sctp/sctp-newreno.o tools/integrator.o
tools/queue-monitor.o tools/flowmon.o tools/loss-monitor.o queue/queue.o queue/
drop-tail.o adc/simple-intserv-sched.o queue/red.o queue/semantic-packetqueue.o
queue/semantic-red.o tcp/ack-recons.o queue/sfq.o queue/fq.o queue/drr.o queue/s
rr.o queue/cbq.o queue/jobs.o queue/marker.o queue/demarker.o link/hackloss.o qu
eue/errmodel.o queue/fec.o link/delay.o tcp/snoop.o gaf/gaf.o link/dynalink.o ro
uting/rtProtoDV.o common/net-interface.o mcast/ctrMcast.o mcast/mcast_ctrl.o mca
st/srm.o common/sessionhelper.o queue/delaymodel.o mcast/srm-ssm.o mcast/srm-top
o.o apps/mftp.o apps/mftp_snd.o apps/mftp_rcv.o apps/codeword.o routing/alloc-ad
dress.o routing/address.o lib/int.Vec.o lib/int.RVec.o lib/dmalloc_support.o web
cache/http.o webcache/tcp-simple.o webcache/pagepool.o webcache/inval-agent.o we
bcache/tcpapp.o webcache/http-aux.o webcache/mcache.o webcache/webtraf.o webcach
e/webserver.o webcache/logweb.o empweb/empweb.o empweb/empftp.o realaudio/realau
dio.o mac/lanRouter.o classifier/filter.o common/pkt-counter.o common/Decapsulat
or.o common/Encapsulator.o common/encap.o mac/channel.o mac/mac.o mac/ll.o mac/m
ac-802_11.o mac/mac-802_3.o mac/mac-tdma.o mac/smac.o mobile/mip.o mobile/mip-re
g.o mobile/gridkeeper.o mobile/propagation.o mobile/tworayground.o mobile/antenn
a.o mobile/omni-antenna.o mobile/shadowing.o mobile/shadowing-vis.o mobile/dumb-
agent.o common/bi-connector.o common/node.o common/mobilenode.o mac/arp.o mobile
/god.o mobile/dem.o mobile/topography.o mobile/modulation.o queue/priqueue.o que
ue/mypriqueue.o queue/dsr-priqueue.o mac/phy.o mac/wired-phy.o mac/wireless-phy.
o mac/mac-timers.o trace/cmu-trace.o mac/varp.o mac/mac-simple.o dsdv/dsdv.o dsd
v/rtable.o queue/rtqueue.o routing/rttable.o imep/imep.o imep/dest_queue.o imep/
imep_api.o imep/imep_rt.o imep/rxmit_queue.o imep/imep_timers.o imep/imep_util.o
imep/imep_io.o tora/tora.o tora/tora_api.o tora/tora_dest.o tora/tora_io.o tora
/tora_logs.o tora/tora_neighbor.o dsr/dsragent.o dsr/hdr_sr.o dsr/mobicache.o ds
r/path.o dsr/requesttable.o dsr/routecache.o dsr/add_sr.o dsr/dsr_proto.o dsr/fl
owstruct.o dsr/linkcache.o dsr/simplecache.o dsr/sr_forwarder.o aodv/aodv_logs.o
aodv/aodv.o aodv/aodv_rtable.o aodv/aodv_rqueue.o common/ns-process.o satellite
/satgeometry.o satellite/sathandoff.o satellite/satlink.o satellite/satnode.o sa
tellite/satposition.o satellite/satroute.o satellite/sattrace.o rap/raplist.o ra
p/rap.o rap/media-app.o rap/utilities.o common/fsm.o tcp/tcp-abs.o diffusion/dif
fusion.o diffusion/diff_rate.o diffusion/diff_prob.o diffusion/diff_sink.o diffu
sion/flooding.o diffusion/omni_mcast.o diffusion/hash_table.o diffusion/routing_
table.o diffusion/iflist.o tcp/tfrc.o tcp/tfrc-sink.o mobile/energy-model.o apps
/ping.o tcp/tcp-rfc793edu.o queue/rio.o queue/semantic-rio.o tcp/tcp-sack-rh.o t
cp/scoreboard-rh.o plm/loss-monitor-plm.o plm/cbr-traffic-PP.o linkstate/hdr-ls.
o mpls/classifier-addr-mpls.o mpls/ldp.o mpls/mpls-module.o routing/rtmodule.o c
lassifier/classifier-hier.o routing/addr-params.o nix/hdr_nv.o nix/classifier-ni
x.o nix/nixnode.o routealgo/rnode.o routealgo/bfs.o routealgo/rbitmap.o routealg
o/rlookup.o routealgo/routealgo.o nix/nixvec.o nix/nixroute.o diffserv/dsred.o d
iffserv/dsredq.o diffserv/dsEdge.o diffserv/dsCore.o diffserv/dsPolicy.o diffser
v/ew.o diffserv/dewp.o queue/red-pd.o queue/pi.o queue/vq.o queue/rem.o queue/gk
.o pushback/rate-limit.o pushback/rate-limit-strategy.o pushback/ident-tree.o pu
shback/agg-spec.o pushback/logging-data-struct.o pushback/rate-estimator.o pushb
ack/pushback-queue.o pushback/pushback.o common/parentnode.o trace/basetrace.o c
ommon/simulator.o asim/asim.o common/scheduler-map.o common/splay-scheduler.o li
nkstate/ls.o linkstate/rtProtoLS.o pgm/classifier-pgm.o pgm/pgm-agent.o pgm/pgm-
sender.o pgm/pgm-receiver.o mcast/rcvbuf.o mcast/classifier-lms.o mcast/lms-agen
t.o mcast/lms-receiver.o mcast/lms-sender.o mac/802_11e/mac-802_11e.o mac/802_11
e/priq.o mac/802_11e/d-tail.o mac/802_11e/mac-timers_802_11e.o queue/delayer.o n
oah/noah.o mac/forwarder.o mympeg/mytraffictrace.o mympeg/mytraffictrace2.o mymp
eg/mytraffictrace3.o mympeg/mytraffictrace4.o mympeg/mytraffictrace5.o mympeg/my
udp.o mympeg/myudpsink.o mympeg/myudpsink2.o mympeg/myudpsink3.o mympeg/myfifo.o
mympeg/myfifo2.o mympeg/monitor_udpsink.o mympeg/myevalvid.o mympeg/myevalvid_s
ink.o mympeg/myevalvid_sink2.o mympeg/myudpsink1.o mydiffserv/myfifo_etb.o mydif
fserv/myfifo_srtcm.o mydiffserv/myfifo_trtcm.o mflood/mflood.o mflood/mflood-seq
table.o ncs/ncs.o measure/mudp.o measure/mudpsink.o measure/mtcpsink.o evalvid_r
a/vbr_rateadapt.o evalvid_ra/evalvid_ra_udp.o evalvid_ra/evalvid_ra_sink.o wimax
/ofdmphy.o wimax/mac802_16pkt.o wimax/serviceflowqos.o wimax/serviceflow.o wimax
/serviceflowhandler.o wimax/connection.o wimax/connectionmanager.o wimax/peernod
e.o wimax/mac802_16.o wimax/sduclassifier.o wimax/destclassifier.o wimax/mac802_
16timer.o wimax/neighborentry.o wimax/neighbordb.o wimax/scheduling/wimaxschedul
er.o wimax/scheduling/bsscheduler.o wimax/scheduling/ssscheduler.o wimax/schedul
ing/ulsubframetimer.o wimax/scheduling/dlsubframetimer.o wimax/scheduling/burst.
o wimax/scheduling/contentionslot.o wimax/scheduling/contentionrequest.o wimax/s
cheduling/contentiontimer.o wimax/scheduling/dlburst.o wimax/scheduling/ulburst.
o wimax/scheduling/framemap.o wimax/scheduling/phypdu.o wimax/scheduling/profile
.o wimax/scheduling/subframe.o wimax/scheduling/scanningstation.o wimax/scheduli
ng/wimaxctrlagent.o dsshaper/dsshaper.o queue/csfq.o queue/mycsfq.o queue/fred.o
queue/util.o apps/rtpdata.o apps/voip_traffic.o protoname/protoname.o protoname
/protoname_rtable.o xcp/xcpq.o xcp/xcp.o xcp/xcp-end-sys.o wpan/p802_15_4csmaca.
o wpan/p802_15_4fail.o wpan/p802_15_4hlist.o wpan/p802_15_4mac.o wpan/p802_15_4n
am.o wpan/p802_15_4phy.o wpan/p802_15_4sscs.o wpan/p802_15_4timer.o wpan/p802_15
_4trace.o wpan/p802_15_4transac.o diffusion3/lib/nr/nr.o diffusion3/lib/dr.o dif
fusion3/filters/diffusion/one_phase_pull.o diffusion3/filters/diffusion/two_phas
e_pull.o diffusion3/lib/diffapp.o diffusion3/ns/diffagent.o diffusion3/ns/diffrt
g.o diffusion3/ns/difftimer.o diffusion3/filter_core/filter_core.o diffusion3/fi
lter_core/iolog.o diffusion3/filter_core/iostats.o diffusion3/lib/main/attrs.o d
iffusion3/lib/main/events.o diffusion3/lib/main/iodev.o diffusion3/lib/main/ioho
ok.o diffusion3/lib/main/timers.o diffusion3/lib/main/message.o diffusion3/lib/m
ain/tools.o diffusion3/apps/gear_examples/gear_common.o diffusion3/apps/gear_exa
mples/gear_receiver.o diffusion3/apps/gear_examples/gear_sender.o diffusion3/app
s/rmst_examples/rmst_sink.o diffusion3/apps/rmst_examples/rmst_source.o diffusio
n3/apps/ping/1pp_ping_sender.o diffusion3/apps/ping/1pp_ping_receiver.o diffusio
n3/apps/ping/2pp_ping_sender.o diffusion3/apps/ping/2pp_ping_receiver.o diffusio
n3/apps/ping/ping_common.o diffusion3/apps/ping/push_receiver.o diffusion3/apps/
ping/push_sender.o diffusion3/filters/gear/gear_attr.o diffusion3/filters/gear/g
ear.o diffusion3/filters/gear/gear_tools.o diffusion3/filters/misc/log.o diffusi
on3/filters/misc/srcrt.o diffusion3/filters/misc/tag.o diffusion3/filters/rmst/r
mst.o diffusion3/filters/rmst/rmst_filter.o gen/version.o gen/ns_tcl.o gen/ptype
s.o common/win32.o emulate/net-ip.o emulate/net.o emulate/tap.o emulate/ether.o
emulate/internet.o emulate/ping_responder.o emulate/arp.o emulate/icmp.o emulat
e/net-pcap.o emulate/nat.o emulate/iptap.o emulate/tcptap.o emulate/inet.o commo
n/tclAppInit.o gen/* ns.core core core.ns core.nsx core.nse common/ptypes2tcl co
mmon/ptypes2tcl.o
At last I entered make and there isn't any error.

Related

Yocto - building application using wpa-supplicant library (libwpa_client)

I've got a C++ application in a Yocto build that requires the library file libwpa_client.so. This file is provided by wpa-supplicant. I brute forced installation of this file into my Yocto image as the wpa-supplicant recipe wasn't doing it for me. I'm now trying to figure out the proper way to pull this library file in during an autotools build.
The bb recipe for the C++ application includes:
DESCRIPTION = "My C++ Application recipe"
LICENSE = "CLOSED"
PACKAGES = "\
${PN} \
${PN}-dev \
${PN}-dbg \
"
DEPENDS = " libegt sqlite3-native libgpiod wpa-supplicant"
# Add for gpiod.h
RDEPENDS_${PN} = "libgpiod wpa-supplicant"
RDEPENDS_${PN}-dev = "libgpiod wpa-supplicant"
RDEPENDS_${PN}-dbg = "libgpiod wpa-supplicant"
....
& in the configure.ac I have:
PKG_CHECK_MODULES(LIBGPIOD, [libgpiod >= 1.0], [], [
AC_MSG_ERROR(libgpiod not found. This is required.)
])
# note libwpa_client has no version number, just libwpa_client.so
PKG_CHECK_MODULES(LIBWPA_CLIENT, [libwpa_client], [], [
AC_MSG_ERROR(libwpa_client not found. This is required.)
])
Using this produces the output:
Wno-long-long -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi
| checking if libc contains libintl... yes
| checking libintl.h usability... yes
| checking libintl.h presence... yes
| checking for libintl.h... yes
| checking for libegt >= 1.3... yes
| checking for libgpiod >= 1.0... yes
| checking for libwpa_client... no
| configure: error: libwpa_client not found. This is required.
| NOTE: The following config.log files may provide further information.
My application builds fine if I manually specify lwpa_client in Makefile.am as follows:
CUSTOM_LDADD = $(LIBEGT_LIBS) $(top_builddir)/external/libsqlite3.la $(LIBGPIOD_LIBS) $(LIBWPA_CLIENT_LIBS) -lwpa_client
But my questions is how should I properly do this?
Many thanks,

Mac M1 Rust: ld framework not found CoreFoundation M1

I'm facing an issue compiling a crate in Rust after switching to M1. The crate is "sqlx-macros". As discussed in the sqlx repo, it has become apparent that this is not a problem of the crate per se. Digging around the with ld framework not found CoreFoundation M1, I am unable to resolve my problem.
I'm running:
rustc 1.57.0 (f1edd0429 2021-11-29)
rustup default stable-aarch64-apple-darwin
Here is the error in question:
error: linking with `cc` failed: exit status: 1
|
= note: "cc" "-arch" "arm64" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/sqlx_macros-407f772bf8e457dd.sqlx_macros.3789a723-cgu.0.rcgu.o" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/sqlx_macros-407f772bf8e457dd.sqlx_macros.3789a723-cgu.1.rcgu.o" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/sqlx_macros-407f772bf8e457dd.sqlx_macros.3789a723-cgu.10.rcgu.o" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/sqlx_macros-407f772bf8e457dd.sqlx_macros.3789a723-cgu.11.rcgu.o" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/sqlx_macros-407f772bf8e457dd.sqlx_macros.3789a723-cgu.12.rcgu.o" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/sqlx_macros-407f772bf8e457dd.sqlx_macros.3789a723-cgu.13.rcgu.o" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/sqlx_macros-407f772bf8e457dd.sqlx_macros.3789a723-cgu.14.rcgu.o" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/sqlx_macros-407f772bf8e457dd.sqlx_macros.3789a723-cgu.15.rcgu.o" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/sqlx_macros-407f772bf8e457dd.sqlx_macros.3789a723-cgu.2.rcgu.o" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/sqlx_macros-407f772bf8e457dd.sqlx_macros.3789a723-cgu.3.rcgu.o" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/sqlx_macros-407f772bf8e457dd.sqlx_macros.3789a723-cgu.4.rcgu.o" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/sqlx_macros-407f772bf8e457dd.sqlx_macros.3789a723-cgu.5.rcgu.o" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/sqlx_macros-407f772bf8e457dd.sqlx_macros.3789a723-cgu.6.rcgu.o" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/sqlx_macros-407f772bf8e457dd.sqlx_macros.3789a723-cgu.7.rcgu.o" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/sqlx_macros-407f772bf8e457dd.sqlx_macros.3789a723-cgu.8.rcgu.o" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/sqlx_macros-407f772bf8e457dd.sqlx_macros.3789a723-cgu.9.rcgu.o" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/sqlx_macros-407f772bf8e457dd.312opvse87l793yj.rcgu.o" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/sqlx_macros-407f772bf8e457dd.281281m3wpaf90be.rcgu.o" "-L" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps" "-L" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/build/ring-00b2699d202c565f/out" "-L" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libdotenv-bcf0aca3b7bc8cd4.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libheck-626c5462f41d3929.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libunicode_segmentation-4b1977349c37e802.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libsyn-0c9f33ce0d41da04.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libsqlx_core-ae6ab38c5a09aaa7.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libcrc-da62e3c7cbfe97f5.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libcrc_catalog-d8370c27944dfe7a.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libhex-963718e6915ebdf6.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libwhoami-b6636d0fe6b91268.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libdirs-98e36b19a30fbb31.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libdirs_sys-d59a29575635414f.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libtokio_stream-530bb3979e3faf40.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libwebpki_roots-f4d1a9e1a1d281a7.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libsqlformat-db946c9c86afc529.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libunicode_categories-d7806e456d1ab4fc.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libnom-9324692423ffb34a.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libitertools-d0210e435c329f53.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libthiserror-40227fc935d966f7.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libbitflags-53a23abfe027286d.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/liburl-b6579ec0b8c695a0.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libidna-7c6b1ea0f937ef50.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libform_urlencoded-baa7e538d4ef6431.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libmatches-b58d0fe416543617.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libpercent_encoding-b55ac354f0255b20.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libmd5-74915dbb5c56bd05.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libbyteorder-5d34a33e544c853e.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libatoi-fead19dad46f0cbe.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libstringprep-b9be9e9ddfd94a5b.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libunicode_normalization-1980ff400d6709e5.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libtinyvec-58e0d3e4e182f228.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libtinyvec_macros-41736dd33b4ff66e.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libunicode_bidi-407b876b0fa4c956.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/librand-cbdb2958ad4fad90.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/librand_chacha-bed58bf603b9118b.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libppv_lite86-d55f98a5438a00f7.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/librand_core-5208c26a4e220237.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libhmac-71ed912ade899bb7.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libcrypto_mac-56d4f0e9b07e56da.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libsubtle-552b2ce96e9ace11.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libsha2-cec98bdca95d0c85.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libopaque_debug-0f46acc0bcbe7ebb.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libdigest-5dd2957b2c31b03d.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libblock_buffer-0a07dc8582ad511a.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libgeneric_array-edb04608a7cb3595.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libtypenum-c46c02c8c2d27571.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libhashlink-674e6e90a10a40f5.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libhashbrown-5981cabd74cd4e62.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libahash-c5a767a72ff39fe9.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libchrono-110b9ff6cc82c0dd.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libnum_integer-156ed8041665f5a4.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libnum_traits-2f966b2053809582.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libtime-26b95385d2213e8c.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libuuid-9b78316751859aa3.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libgetrandom-73e09dbdfae59109.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libserde_json-773ad93690775692.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libryu-35ba9cc3d5d02dd4.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libitoa-4cdeaf4add7f7fd0.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libserde-59c3b31fd28fffeb.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libsqlx_rt-0055a762dd1794dd.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libactix_rt-c118c1f8d144d5d0.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libtokio_rustls-8bd246f1cb8a9967.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/librustls-97f8c4084bc5ddbc.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libbase64-6e74f6cd80c81bfd.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libsct-ab05719c0e066ee5.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libwebpki-609d9d6de2956b78.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libring-a9c07951cca54be0.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libuntrusted-7dfb22f78fd3918f.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libtokio-bd033529cc1f9fc7.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libsignal_hook_registry-5efdce841beb6fab.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libnum_cpus-739e46d4ad873a11.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libmemchr-c827c82476ce2244.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libonce_cell-5952971dafb2b2ba.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libbytes-e547253afcf8f088.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libmio-0e779c175f479389.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/liblog-6e3fcaf289c0785c.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libcrossbeam_queue-77a82f114d2b20fc.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libcrossbeam_utils-ddfbc5e71e018f2c.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/liblazy_static-81d20f7d7f1f4bd2.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libfutures_intrusive-654c41f3445053f5.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libparking_lot-ecf810bcff890217.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libparking_lot_core-1cca6e92e476ead3.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/liblibc-249ca7d010eefcfe.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libsmallvec-cd4d7a3bc73153b0.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libinstant-3bd2b2afc483c597.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libcfg_if-070e0057f85f12e1.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/liblock_api-3a560b1cbe9bd1bd.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libscopeguard-46314ee240534403.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libeither-630743a902737812.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libfutures_util-e40c3140032e0ba7.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libpin_project_lite-5bad0c04bfff9074.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libfutures_task-3f7fbb78f0996ac8.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libpin_utils-af5505e3a763c822.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libfutures_channel-3151aecc7bea8587.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libfutures_sink-341ec96125dc400e.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libfutures_core-4077c13931d0998f.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libquote-b86e51bb4f102c43.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libproc_macro2-2f754891ab7c601c.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libunicode_xid-deac7a8ae4518802.rlib" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libproc_macro-33d9c5891f008791.rlib" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libstd-81655915c211065a.rlib" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libpanic_unwind-6401d7836ab37fcf.rlib" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libobject-bee3b45bdece0195.rlib" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libmemchr-01c74ed3833459fe.rlib" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libaddr2line-48661015cf0226dd.rlib" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libgimli-f6cb12e379c9f859.rlib" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libstd_detect-01c2377d8875d7d3.rlib" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_demangle-4ecebe9133c1e15e.rlib" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libhashbrown-68b6457fbd59457b.rlib" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_alloc-9d4889633473e617.rlib" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libunwind-7d202cbf8f30fd4c.rlib" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcfg_if-412e60c7c12b3b8f.rlib" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/liblibc-45ccb8237a0071b3.rlib" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/liballoc-24424da3181053ad.rlib" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_core-5789d203d1806d35.rlib" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcore-22574ec029e9d229.rlib" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcompiler_builtins-56bb43a121401f7f.rlib" "-framework" "CoreFoundation" "-framework" "SystemConfiguration" "-framework" "Security" "-liconv" "-lSystem" "-lresolv" "-lc" "-lm" "-liconv" "-L" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib" "-o" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libsqlx_macros-407f772bf8e457dd.dylib" "-Wl,-dead_strip" "-dynamiclib" "-Wl,-dylib" "-nodefaultlibs" "-undefined" "dynamic_lookup"
= note: ld: framework not found CoreFoundation
clang: error: linker command failed with exit code 1 (use -v to see invocation)
At this point I'm a bit clueless as to what to do so any idea would be appreciated.
When upgrading to a new ARM Mac, the linked directories for Command Line Tools for Xcode can break.
The easiest fix is reinstall Command Line Tools for Xcode with:
sudo rm -rf /Library/Developer/CommandLineTools
xcode-select --install
Then build the project with:
cargo build

Android Studio Failed after upgrade from 3.1.4 to 3.2.1

Build of ics-openvpn failed after upgrading to the latest Android studio 3.2.1
it was working fine with 3.1.4
and there were no issues when it was on previous version of android 3.2.1
Please help me fix this issue to build this project file on android studio again
Android studio version 3.2.1
Windows 7 x64
The following is the output log on debug window when building
Build command failed.
Error while executing process C:\Users\Woshi\AppData\Local\Android\sdk1\cmake\3.6.4111459\bin\cmake.exe with arguments {--build C:\Users\Woshi\Downloads\nw\ics-openvpn\main\.externalNativeBuild\cmake\noovpn3Debug\x86 --target ovpn3}
[1/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1.c.o
[2/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1_99.c.o
[3/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1a.c.o
[4/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1a_99.c.o
[5/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1b_1.c.o
[6/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1b_2.c.o
[7/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1b_3.c.o
[8/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1b_4.c.o
[9/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1b_5.c.o
[10/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1b_6.c.o
[11/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1b_7.c.o
[12/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1b_8.c.o
[13/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1b_9.c.o
[14/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1b_99.c.o
[15/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1b_9x.c.o
[16/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1b_cc.c.o
[17/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1b_d1.c.o
[18/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1b_d2.c.o
[19/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1b_rr.c.o
[20/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1b_xx.c.o
[21/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1c_1.c.o
[22/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1c_2.c.o
[23/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1c_3.c.o
[24/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1c_4.c.o
[25/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1c_5.c.o
[26/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1c_6.c.o
[27/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1c_7.c.o
[28/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1c_8.c.o
[29/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1c_9.c.o
[30/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1c_99.c.o
[31/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1c_9x.c.o
[32/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1c_cc.c.o
[33/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1c_d1.c.o
[34/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1c_d2.c.o
[35/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1c_rr.c.o
[36/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1c_xx.c.o
[37/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1f_1.c.o
[38/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1f_9x.c.o
[39/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1f_d1.c.o
[40/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1f_d2.c.o
[41/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1x_1.c.o
[42/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1x_1k.c.o
[43/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1x_1l.c.o
[44/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1x_1o.c.o
[45/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1x_9x.c.o
[46/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1x_d1.c.o
[47/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1x_d2.c.o
[48/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1x_d3.c.o
[49/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1x_o.c.o
[50/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1y_1.c.o
[51/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1y_9x.c.o
[52/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1y_d1.c.o
[53/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1y_d2.c.o
[54/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1y_d3.c.o
[55/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1y_o.c.o
[56/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1z_9x.c.o
[57/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1z_d1.c.o
[58/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1z_d2.c.o
[59/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1z_d3.c.o
[60/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo2a_9x.c.o
[61/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo2a_d1.c.o
[62/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo2a_d2.c.o
[63/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo_crc.c.o
[64/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo_init.c.o
[65/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo_ptr.c.o
[66/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo_str.c.o
[67/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo_util.c.o
[68/156] Building C object CMakeFiles/lz4.dir/lz4/lib/lz4.c.o
[69/156] Building C object mbedtls/library/CMakeFiles/mbedcrypto.dir/aes.c.o
[70/156] Building C object mbedtls/library/CMakeFiles/mbedcrypto.dir/aesni.c.o
[71/156] Building C object mbedtls/library/CMakeFiles/mbedcrypto.dir/arc4.c.o
[72/156] Building C object mbedtls/library/CMakeFiles/mbedcrypto.dir/aria.c.o
FAILED: C:\Users\Woshi\AppData\Local\Android\sdk1\ndk-bundle\toolchains\llvm\prebuilt\windows-x86_64\bin\clang.exe --target=i686-none-linux-android16 --gcc-toolchain=C:/Users/Woshi/AppData/Local/Android/sdk1/ndk-bundle/toolchains/x86-4.9/prebuilt/windows-x86_64 --sysroot=C:/Users/Woshi/AppData/Local/Android/sdk1/ndk-bundle/sysroot -IC:/Users/Woshi/Downloads/nw/ics-openvpn/main/src/main/cpp/mbedtls/include -isystem C:/Users/Woshi/AppData/Local/Android/sdk1/ndk-bundle/sysroot/usr/include/i686-linux-android -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -mstackrealign -Wa,--noexecstack -Wformat -Werror=format-security -Wall -Wextra -W -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -Wimplicit-fallthrough -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wdocumentation -Wno-documentation-deprecated-sync -Wunreachable-code -O0 -g3 -fPIC -MD -MT mbedtls/library/CMakeFiles/mbedcrypto.dir/aes.c.o -MF mbedtls\library\CMakeFiles\mbedcrypto.dir\aes.c.o.d -o mbedtls/library/CMakeFiles/mbedcrypto.dir/aes.c.o -c C:\Users\Woshi\Downloads\nw\ics-openvpn\main\src\main\cpp\mbedtls\library\aes.c
C:\Users\Woshi\Downloads\nw\ics-openvpn\main\src\main\cpp\mbedtls\library\aes.c:29:10: fatal error: 'mbedtls/config.h' file not found
#include "mbedtls/config.h"
^~~~~~~~~~~~~~~~~~
1 error generated.
FAILED: C:\Users\Woshi\AppData\Local\Android\sdk1\ndk-bundle\toolchains\llvm\prebuilt\windows-x86_64\bin\clang.exe --target=i686-none-linux-android16 --gcc-toolchain=C:/Users/Woshi/AppData/Local/Android/sdk1/ndk-bundle/toolchains/x86-4.9/prebuilt/windows-x86_64 --sysroot=C:/Users/Woshi/AppData/Local/Android/sdk1/ndk-bundle/sysroot -IC:/Users/Woshi/Downloads/nw/ics-openvpn/main/src/main/cpp/mbedtls/include -isystem C:/Users/Woshi/AppData/Local/Android/sdk1/ndk-bundle/sysroot/usr/include/i686-linux-android -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -mstackrealign -Wa,--noexecstack -Wformat -Werror=format-security -Wall -Wextra -W -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -Wimplicit-fallthrough -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wdocumentation -Wno-documentation-deprecated-sync -Wunreachable-code -O0 -g3 -fPIC -MD -MT mbedtls/library/CMakeFiles/mbedcrypto.dir/aria.c.o -MF mbedtls\library\CMakeFiles\mbedcrypto.dir\aria.c.o.d -o mbedtls/library/CMakeFiles/mbedcrypto.dir/aria.c.o -c C:\Users\Woshi\Downloads\nw\ics-openvpn\main\src\main\cpp\mbedtls\library\aria.c
C:\Users\Woshi\Downloads\nw\ics-openvpn\main\src\main\cpp\mbedtls\library\aria.c:29:10: fatal error: 'mbedtls/config.h' file not found
#include "mbedtls/config.h"
^~~~~~~~~~~~~~~~~~
1 error generated.
FAILED: C:\Users\Woshi\AppData\Local\Android\sdk1\ndk-bundle\toolchains\llvm\prebuilt\windows-x86_64\bin\clang.exe --target=i686-none-linux-android16 --gcc-toolchain=C:/Users/Woshi/AppData/Local/Android/sdk1/ndk-bundle/toolchains/x86-4.9/prebuilt/windows-x86_64 --sysroot=C:/Users/Woshi/AppData/Local/Android/sdk1/ndk-bundle/sysroot -IC:/Users/Woshi/Downloads/nw/ics-openvpn/main/src/main/cpp/mbedtls/include -isystem C:/Users/Woshi/AppData/Local/Android/sdk1/ndk-bundle/sysroot/usr/include/i686-linux-android -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -mstackrealign -Wa,--noexecstack -Wformat -Werror=format-security -Wall -Wextra -W -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -Wimplicit-fallthrough -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wdocumentation -Wno-documentation-deprecated-sync -Wunreachable-code -O0 -g3 -fPIC -MD -MT mbedtls/library/CMakeFiles/mbedcrypto.dir/arc4.c.o -MF mbedtls\library\CMakeFiles\mbedcrypto.dir\arc4.c.o.d -o mbedtls/library/CMakeFiles/mbedcrypto.dir/arc4.c.o -c C:\Users\Woshi\Downloads\nw\ics-openvpn\main\src\main\cpp\mbedtls\library\arc4.c
C:\Users\Woshi\Downloads\nw\ics-openvpn\main\src\main\cpp\mbedtls\library\arc4.c:28:10: fatal error: 'mbedtls/config.h' file not found
#include "mbedtls/config.h"
^~~~~~~~~~~~~~~~~~
1 error generated.
FAILED: C:\Users\Woshi\AppData\Local\Android\sdk1\ndk-bundle\toolchains\llvm\prebuilt\windows-x86_64\bin\clang.exe --target=i686-none-linux-android16 --gcc-toolchain=C:/Users/Woshi/AppData/Local/Android/sdk1/ndk-bundle/toolchains/x86-4.9/prebuilt/windows-x86_64 --sysroot=C:/Users/Woshi/AppData/Local/Android/sdk1/ndk-bundle/sysroot -IC:/Users/Woshi/Downloads/nw/ics-openvpn/main/src/main/cpp/mbedtls/include -isystem C:/Users/Woshi/AppData/Local/Android/sdk1/ndk-bundle/sysroot/usr/include/i686-linux-android -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -mstackrealign -Wa,--noexecstack -Wformat -Werror=format-security -Wall -Wextra -W -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -Wimplicit-fallthrough -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wdocumentation -Wno-documentation-deprecated-sync -Wunreachable-code -O0 -g3 -fPIC -MD -MT mbedtls/library/CMakeFiles/mbedcrypto.dir/aesni.c.o -MF mbedtls\library\CMakeFiles\mbedcrypto.dir\aesni.c.o.d -o mbedtls/library/CMakeFiles/mbedcrypto.dir/aesni.c.o -c C:\Users\Woshi\Downloads\nw\ics-openvpn\main\src\main\cpp\mbedtls\library\aesni.c
C:\Users\Woshi\Downloads\nw\ics-openvpn\main\src\main\cpp\mbedtls\library\aesni.c:28:10: fatal error: 'mbedtls/config.h' file not found
#include "mbedtls/config.h"
^~~~~~~~~~~~~~~~~~
1 error generated.
ninja: build stopped: subcommand failed.

Building Mplayer from sources in Linux

I've encountered a problem trying to build Mplayer from sources (svn version). I run 'configure' script with no parameters. It indicates no problems. FFmpeg compiles fine, but the last stage, that is building mplayer, fails:
ffmpeg/libavcodec/h263dec.o: In function `ff_h263_decode_frame':
h263dec.c:(.text+0xddb): undefined reference to `ff_h263_find_frame_end'
h263dec.c:(.text+0xfa0): undefined reference to `ff_mpeg4_find_frame_end'
ffmpeg/libavcodec/mlpdec.o: In function `read_access_unit':
mlpdec.c:(.text+0x128a): undefined reference to `ff_mlp_read_major_sync'
ffmpeg/libavcodec/ac3dec_fixed.o: In function `ac3_decode_frame':
ac3dec_fixed.c:(.text+0x73a3): undefined reference to `ff_ac3_parse_header'
ac3dec_fixed.c:(.text+0x7d4f): undefined reference to `ff_ac3_parse_header'
ffmpeg/libavcodec/ac3dec_float.o: In function `ac3_decode_frame':
ac3dec_float.c:(.text+0x687f): undefined reference to `ff_ac3_parse_header'
ac3dec_float.c:(.text+0x727b): undefined reference to `ff_ac3_parse_header'
ffmpeg/libavcodec/eac3_core_bsf.o: In function `eac3_core_filter':
eac3_core_bsf.c:(.text+0x7d): undefined reference to `ff_ac3_parse_header'
ffmpeg/libavcodec/eac3_core_bsf.o:eac3_core_bsf.c:(.text+0x174): more undefined references to `ff_ac3_parse_header' follow
collect2: error: ld returned 1 exit status
Makefile:747: recipe for target 'mplayer' failed
make: *** [mplayer] Error 1
The above resulted from:
cc -o mplayer command.o m_property.o mixer.o mp_fifo.o mplayer.o parser-mpcmd.o pnm_loader.o input/input.o libao2/ao_mpegpes.o libao2/ao_null.o libao2/ao_pcm.o libao2/audio_out.o libvo/aspect.o libvo/geometry.o libvo/video_out.o libvo/vo_mpegpes.o libvo/vo_null.o sub/spuenc.o libvo/vo_aa.o libao2/ao_alsa.o input/appleir.o libvo/vo_caca.o libvo/vo_dga.o libvo/vo_directfb2.o libvo/vo_dfbmga.o libvo/vo_fbdev.o libvo/vo_fbdev2.o libvo/vo_png.o libvo/vo_gif89a.o libvo/gl_common.o libvo/vo_gl.o libvo/csputils.o libvo/sdl_common.o libvo/x11_common.o libvo/vo_gl_tiled.o libao2/ao_jack.o libvo/vo_jpeg.o input/lirc.o libvo/vo_matrixview.o libvo/matrixview.o libvo/vo_md5sum.o libvo/vo_mng.o libao2/ao_nas.o udp_sync.o libao2/ao_openal.o libao2/ao_oss.o libvo/vo_pnm.o libao2/ao_pulse.o libao2/ao_sdl.o libvo/vo_sdl.o libvo/vo_tga.o libvo/vo_v4l2.o libao2/ao_v4l2.o libvo/vo_vdpau.o libvo/vo_cvidix.o libvo/vosub_vidix.o vidix/vidix.o vidix/drivers.o vidix/dha.o vidix/mtrr.o vidix/pci.o vidix/pci_names.o vidix/pci_dev_ids.o vidix/cyberblade_vid.o vidix/mach64_vid.o vidix/mga_vid.o vidix/mga_crtc2_vid.o vidix/nvidia_vid.o vidix/pm2_vid.o vidix/pm3_vid.o vidix/radeon_vid.o vidix/rage128_vid.o vidix/s3_vid.o vidix/sis_vid.o vidix/sis_bridge.o vidix/unichrome_vid.o libvo/vo_x11.o libvo/vo_xover.o libvo/vo_xv.o libvo/vo_xvidix.o libvo/vo_yuv4mpeg.o asxparser.o bstr.o codec-cfg.o cpudetect.o edl.o fmt-conversion.o m_config.o m_option.o m_struct.o mp_msg.o mp_strings.o mpcommon.o parser-cfg.o path.o playtree.o playtreeparser.o subopt-helper.o libaf/af.o libaf/af_center.o libaf/af_channels.o libaf/af_comp.o libaf/af_delay.o libaf/af_dummy.o libaf/af_equalizer.o libaf/af_extrastereo.o libaf/af_format.o libaf/af_gate.o libaf/af_hrtf.o libaf/af_karaoke.o libaf/af_pan.o libaf/af_resample.o libaf/af_scaletempo.o libaf/af_sinesuppress.o libaf/af_stats.o libaf/af_sub.o libaf/af_surround.o libaf/af_sweep.o libaf/af_tools.o libaf/af_volnorm.o libaf/af_volume.o libaf/filter.o libaf/format.o libaf/reorder_ch.o libaf/window.o libmpcodecs/ad.o libmpcodecs/ad_alaw.o libmpcodecs/ad_dvdpcm.o libmpcodecs/ad_hwac3.o libmpcodecs/ad_hwmpa.o libmpcodecs/ad_pcm.o libmpcodecs/dec_audio.o libmpcodecs/dec_teletext.o libmpcodecs/dec_video.o libmpcodecs/img_format.o libmpcodecs/mp_image.o libmpcodecs/pullup.o libmpcodecs/vd.o libmpcodecs/vd_hmblck.o libmpcodecs/vd_lzo.o libmpcodecs/vd_mpegpes.o libmpcodecs/vd_mtga.o libmpcodecs/vd_null.o libmpcodecs/vd_raw.o libmpcodecs/vd_sgi.o libmpcodecs/vd_black.o libmpcodecs/vf.o libmpcodecs/vf_1bpp.o libmpcodecs/vf_2xsai.o libmpcodecs/vf_blackframe.o libmpcodecs/vf_boxblur.o libmpcodecs/vf_crop.o libmpcodecs/vf_cropdetect.o libmpcodecs/vf_decimate.o libmpcodecs/vf_delogo.o libmpcodecs/vf_denoise3d.o libmpcodecs/vf_detc.o libmpcodecs/vf_dint.o libmpcodecs/vf_divtc.o libmpcodecs/vf_down3dright.o libmpcodecs/vf_dsize.o libmpcodecs/vf_dvbscale.o libmpcodecs/vf_eq.o libmpcodecs/vf_eq2.o libmpcodecs/vf_expand.o libmpcodecs/vf_field.o libmpcodecs/vf_fil.o libmpcodecs/vf_filmdint.o libmpcodecs/vf_fixpts.o libmpcodecs/vf_flip.o libmpcodecs/vf_format.o libmpcodecs/vf_framestep.o libmpcodecs/vf_gradfun.o libmpcodecs/vf_halfpack.o libmpcodecs/vf_harddup.o libmpcodecs/vf_hqdn3d.o libmpcodecs/vf_hue.o libmpcodecs/vf_il.o libmpcodecs/vf_ilpack.o libmpcodecs/vf_ivtc.o libmpcodecs/vf_kerndeint.o libmpcodecs/vf_mirror.o libmpcodecs/vf_noformat.o libmpcodecs/vf_noise.o libmpcodecs/vf_ow.o libmpcodecs/vf_palette.o libmpcodecs/vf_perspective.o libmpcodecs/vf_phase.o libmpcodecs/vf_pp7.o libmpcodecs/vf_pullup.o libmpcodecs/vf_rectangle.o libmpcodecs/vf_remove_logo.o libmpcodecs/vf_rgbtest.o libmpcodecs/vf_rotate.o libmpcodecs/vf_sab.o libmpcodecs/vf_scale.o libmpcodecs/vf_smartblur.o libmpcodecs/vf_softpulldown.o libmpcodecs/vf_stereo3d.o libmpcodecs/vf_softskip.o libmpcodecs/vf_swapuv.o libmpcodecs/vf_telecine.o libmpcodecs/vf_test.o libmpcodecs/vf_tfields.o libmpcodecs/vf_tile.o libmpcodecs/vf_tinterlace.o libmpcodecs/vf_unsharp.o libmpcodecs/vf_vo.o libmpcodecs/vf_yadif.o libmpcodecs/vf_yuvcsp.o libmpcodecs/vf_yvu9.o libmpdemux/aac_hdr.o libmpdemux/asfheader.o libmpdemux/aviheader.o libmpdemux/aviprint.o libmpdemux/demuxer.o libmpdemux/demux_aac.o libmpdemux/demux_asf.o libmpdemux/demux_audio.o libmpdemux/demux_avi.o libmpdemux/demux_demuxers.o libmpdemux/demux_film.o libmpdemux/demux_fli.o libmpdemux/demux_lmlm4.o libmpdemux/demux_mf.o libmpdemux/demux_mkv.o libmpdemux/demux_mov.o libmpdemux/demux_mpg.o libmpdemux/demux_nsv.o libmpdemux/demux_pva.o libmpdemux/demux_rawaudio.o libmpdemux/demux_rawvideo.o libmpdemux/demux_realaud.o libmpdemux/demux_real.o libmpdemux/demux_roq.o libmpdemux/demux_smjpeg.o libmpdemux/demux_ts.o libmpdemux/demux_ty.o libmpdemux/demux_ty_osd.o libmpdemux/demux_viv.o libmpdemux/demux_vqf.o libmpdemux/demux_y4m.o libmpdemux/ebml.o libmpdemux/extension.o libmpdemux/mf.o libmpdemux/mp3_hdr.o libmpdemux/mp_taglists.o libmpdemux/mpeg_hdr.o libmpdemux/mpeg_packetizer.o libmpdemux/parse_es.o libmpdemux/parse_mp4.o libmpdemux/video.o libmpdemux/yuv4mpeg.o libmpdemux/yuv4mpeg_ratio.o osdep/getch2.o osdep/timer-linux.o stream/open.o stream/stream.o stream/stream_bd.o stream/stream_cue.o stream/stream_file.o stream/stream_mf.o stream/stream_null.o stream/url.o sub/eosd.o sub/find_sub.o sub/osd.o sub/spudec.o sub/sub.o sub/sub_cc.o sub/subreader.o sub/vobsub.o stream/ai_alsa.o stream/ai_oss.o sub/font_load.o stream/stream_cdda.o stream/cdinfo.o stream/stream_cddb.o stream/dvb_tune.o stream/stream_dvb.o stream/stream_dvdnav.o stream/stream_dvd.o stream/stream_dvd_common.o libmpcodecs/ad_faad.o libvo/aclib.o av_helpers.o av_opts.o libaf/af_lavcac3enc.o libaf/af_lavcresample.o libmpcodecs/ad_ffmpeg.o libmpcodecs/ad_spdif.o libmpcodecs/vd_ffmpeg.o libmpcodecs/vf_geq.o libmpcodecs/vf_lavc.o libmpcodecs/vf_lavcdeint.o libmpcodecs/vf_screenshot.o libmpdemux/demux_lavf.o stream/stream_ffmpeg.o sub/av_sub.o libmpcodecs/vf_fspp.o libmpcodecs/vf_qp.o libmpcodecs/vf_spp.o libmpcodecs/vf_uspp.o sub/font_load_ft.o stream/stream_ftp.o libmpdemux/demux_gif.o libmpcodecs/vf_bmovl.o libaf/af_export.o osdep/mmap_anon.o libmpcodecs/vd_ijpg.o libaf/af_ladspa.o libmpcodecs/ad_liba52.o libmpcodecs/vf_ass.o sub/ass_mp.o sub/subassconvert.o stream/stream_bluray.o libaf/af_bs2b.o libmpcodecs/ad_libdca.o libmpcodecs/ad_libdv.o libmpcodecs/vd_libdv.o libmpdemux/demux_rawdv.o libmpcodecs/ad_libmad.o libmpcodecs/vd_libmpeg2.o stream/stream_smb.o libmpcodecs/vd_theora.o libmpdemux/demux_mng.o libmpcodecs/ad_mpg123.o stream/stream_rtsp.o stream/freesdp/common.o stream/freesdp/errorlist.o stream/freesdp/parser.o stream/librtsp/rtsp.o stream/librtsp/rtsp_rtp.o stream/librtsp/rtsp_session.o stream/stream_netstream.o stream/asf_mmst_streaming.o stream/asf_streaming.o stream/cookies.o stream/http.o stream/network.o stream/pnm.o stream/rtp.o stream/udp.o stream/tcp.o stream/stream_rtp.o stream/stream_udp.o stream/realrtsp/asmrp.o stream/realrtsp/real.o stream/realrtsp/rmff.o stream/realrtsp/sdpplin.o stream/realrtsp/xbuffer.o libmpcodecs/vd_mpng.o libmpcodecs/vf_pp.o stream/stream_pvr.o libmpcodecs/ad_realaud.o libmpcodecs/vd_realvid.o libmpcodecs/ad_speex.o stream/cache2.o stream/frequencies.o stream/stream_tv.o stream/tv.o stream/tvi_dummy.o stream/tvi_v4l2.o stream/audio_in.o sub/unrar_exec.o stream/stream_vcd.o libmpcodecs/ad_libvorbis.o libmpdemux/demux_ogg.o stream/stream_vstream.o libmpcodecs/vd_xanim.o libmpcodecs/vd_xvid4.o osdep/shmem.o ffmpeg/libpostproc/libpostproc.a ffmpeg/libavfilter/libavfilter.a ffmpeg/libavformat/libavformat.a ffmpeg/libavcodec/libavcodec.a ffmpeg/libswscale/libswscale.a ffmpeg/libswresample/libswresample.a ffmpeg/libavutil/libavutil.a -Wl,--version-script,binary.ver -Wl,-z,noexecstack -ffast-math -fpie -pie -lncurses -lrt -lgnutls -lsmbclient -lpng -lz -lmng -lz -ljpeg -lgif -lasound -ldl -lpthread -lbluray -ldvdread -lcdio_cdda -lcdio -lcdio_paranoia -lfreetype -lfontconfig -lfribidi -lass -lenca -lz -llzo2 -lmad -logg -lvorbisidec -lspeex -lgsm -ltheoradec -logg -lmpg123 -la52 -lmpeg2 -ldca -lfaad -lopus -lbs2b -lrtmp -ldv -lcrystalhd -lxvidcore -lvstream-client -lpthread -ldl -rdynamic -L/usr/lib/x86_64-linux-gnu -ldvdnav -lpthread -lm -ldirectfb -lXext -lX11 -lpthread -lXss -lXv -lvdpau -lXinerama -lXxf86vm -lXxf86dga -laa -lcaca -lSDL -lGL -ldl -laudio -lXt -lpulse -ljack -lopenal -lx264 -lpthread -lmp3lame -llirc_client
Any hints or ideas? I will appreciate any help.
ac3_parser.c, h263_parser.c in ffmpeg/libavcodec failed to compile, perhaps others. Try updating the svn version. If that doesn't work try workaround:
cd ffmpeg/libavcodec
cc -I../.. -I.. -c -o ac3_parser.o ac3_parser.c
ar rT libavcodec.a ac3_parser.o
repeat as necessary for what is missing...
cd -
make all

error while compiling x264 in linux

Hey all
I'm trying to compile x264 under linux (x64). But it keeps throwing me an error. I've googled around but found nothing. Here's the commandline history:
spin#around:~/x264$ git clone git://git.videolan.org/x264.git
Cloning into x264...
remote: Counting objects: 13539, done.
remote: Compressing objects: 100% (4416/4416), done.
remote: Total 13539 (delta 11005), reused 11225 (delta 9082)
Receiving objects: 100% (13539/13539), 3.29 MiB | 2.79 MiB/s, done.
Resolving deltas: 100% (11005/11005), done.
spin#around:~/x264/x264$ ./configure
Found no assembler
Minimum version is yasm-0.7.0
If you really want to compile without asm, configure with --disable-asm.
spin#around:~/x264/x264$ ./configure --disable-asm
Platform: X86_64
System: LINUX
asm: no
avs: no
lavf: no
ffms: no
gpac: no
gpl: yes
thread: posix
filters: crop select_every
debug: no
gprof: no
PIC: no
shared: no
visualize: no
bit depth: 8
You can run 'make' or 'make fprofiled' now.
spin#around:~/x264/x264$ make
gcc -Wshadow -O3 -ffast-math -Wall -I. -std=gnu99 -s -fomit-frame-pointer -fno-tree-vectorize -c -o x264.o x264.c
In file included from common/common.h:864,
from x264.c:33:
common/rectangle.h: In function āx264_macroblock_cache_rectā:
common/rectangle.h:84: error: āv4siā undeclared (first use in this function)
common/rectangle.h:84: error: (Each undeclared identifier is reported only once
common/rectangle.h:84: error: for each function it appears in.)
common/rectangle.h:84: error: expected ā;ā before āv16ā
common/rectangle.h:86: error: ā__m128ā undeclared (first use in this function)
common/rectangle.h:86: error: expected ā;ā before āv16ā
common/rectangle.h:87: error: expected ā;ā before āv16ā
common/rectangle.h:89: error: expected ā;ā before āv16ā
common/rectangle.h:90: error: expected ā;ā before āv16ā
make: *** [x264.o] Error 1
spin#around:~/x264/x264$
and here is the file, from line 83 to 91:
#if HAVE_VECTOREXT && defined(__SSE__)
v4si v16 = {v,v,v,v};
M128( d+s*0+0 ) = (__m128)v16;
M128( d+s*1+0 ) = (__m128)v16;
if( h == 2 ) return;
M128( d+s*2+0 ) = (__m128)v16;
M128( d+s*3+0 ) = (__m128)v16;
#else
v4si is a SSE identifier, which only exists when -msse is passed to gcc. Report a bug upstream.

Resources