View Issue Details

IDProjectCategoryView StatusLast Update
0000163JVT JM H.264/AVC reference softwareencoderpublic2009-06-03 11:51
ReporterFraz Assigned ToAlexis Michael Tourapis  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product VersionJM 15.1 
Fixed in VersionJM 16.0 
Summary0000163: On comiling the encoder error given
Descriptioncreating binary "../bin/lencod.exe"
ld_classic: can't locate file for: -lcrt0.o
collect2: ld returned 1 exit status
make: *** [bin] Error 1
TagsNo tags attached.

Activities

Karsten Suehring

2009-02-27 12:35

administrator   ~0000294

I cannot reproduce the issue on my Linux installations (Ubuntu 32 and 64 bit). What system are you using?

This looks like an error in the configuration of your build environment, not the JM release.

Fraz

2009-03-02 16:49

reporter   ~0000296

I have compiled this again on Visual studio, and this has solved the compiling issue. I have another issue which I will raise.

Dorna B

2009-06-02 06:00

reporter   ~0000313

Last edited: 2009-06-02 06:01

The problem is with static compilation in OS X. I got the same problem, and in Makefile you have to set "static compilation"to 0. This is supposed to get rid of this issue, which it does, but gives another error to me:

creating binary "../bin/lencod.exe"
ld: absolute addressing (perhaps -mdynamic-no-pic) used in _rc_init_GOP from obj/rc_quadratic.o not allowed in slidable image. Use '-read_only_relocs suppress' to enable text relocs
collect2: ld returned 1 exit status
make: *** [bin] Error 1


I still haven't been able to compile the encoder on my Mac OS X 10.5.5, with gcc: i686-apple-darwin9-gcc-4.0.1
Let me know if anyone fixed this...
Dorna

Karsten Suehring

2009-06-03 11:39

administrator   ~0000314

I have just tried it on my MacBook (OS 10.5.7, same gcc version).

It seems that the problem only occurs if you are running make in the "lencod" sub-directory. If you type make in the JM directory everything compiles fine.

It seems to relate to the additional paramters that are set in the top level make file.

Karsten Suehring

2009-06-03 11:48

administrator   ~0000315

Setting STC?= 0 in the lencod Makefile fixes that for me.

After that change you need to recompile the whole code (make clean; make) to avoid the absolute addressing linker problem.

Karsten Suehring

2009-06-03 11:51

administrator   ~0000316

It's already fixed in the JM-15.1-dev branch.

Issue History

Date Modified Username Field Change
2009-02-26 15:35 Fraz New Issue
2009-02-27 12:35 Karsten Suehring Note Added: 0000294
2009-02-27 12:35 Karsten Suehring Status new => feedback
2009-03-02 16:49 Fraz Note Added: 0000296
2009-06-02 06:00 Dorna B Note Added: 0000313
2009-06-02 06:01 Dorna B Note Edited: 0000313
2009-06-03 11:39 Karsten Suehring Note Added: 0000314
2009-06-03 11:48 Karsten Suehring Note Added: 0000315
2009-06-03 11:48 Karsten Suehring Assigned To => Alexis Michael Tourapis
2009-06-03 11:48 Karsten Suehring Status feedback => confirmed
2009-06-03 11:51 Karsten Suehring Note Added: 0000316
2009-06-03 11:51 Karsten Suehring Status confirmed => resolved
2009-06-03 11:51 Karsten Suehring Fixed in Version => JM 15.1-dev
2009-06-03 11:51 Karsten Suehring Resolution open => fixed