Opened 12 years ago

Closed 12 years ago

#857 closed defect (fixed)

build problem

Reported by: ossi@… Owned by: diego@…
Priority: normal Component: build system
Version: HEAD Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:

Description

i'm getting this error:

libavcodec/libavcodec.a(allcodecs.o): In function `avcodec_register_all':
/usr/local/src/mplayer/libavcodec/allcodecs.c:97: undefined reference to `libxvid_encoder'

system is debian unstable. i have libxvidcore4{,-dev} 1.1.2 installed.

Attachments (3)

config.h (44.3 KB) - added by ossi@… 12 years ago.
config.h
config.mak (15.5 KB) - added by ossi@… 12 years ago.
config.mak
configure.log (99.7 KB) - added by ossi@… 12 years ago.
configure.log

Download all attachments as: .zip

Change History (15)

Changed 12 years ago by ossi@…

config.h

comment:1 Changed 12 years ago by ossi@…

Changed 12 years ago by ossi@…

config.mak

comment:2 Changed 12 years ago by ossi@…

comment:3 Changed 12 years ago by diego@…

  • Resolution set to fixed
  • Status changed from new to closed

Should be fixed, rerun configure and recompile.

comment:4 Changed 12 years ago by ossi@…

  • Resolution fixed deleted
  • Status changed from closed to reopened

nope, still exactly the same.

comment:5 Changed 12 years ago by diego@…

Did you run 'make distclean'? Did you run 'svn up'? What revision are you at?

comment:6 Changed 12 years ago by ossi@…

i did an svn-clean, to be precise - this is as clean as it gets.
r23713. your configure change did have an effect on config.h, but some #ifdefs seem to be missing/wrong.

comment:7 Changed 12 years ago by diego@…

(In reply to comment #6)

i did an svn-clean, to be precise - this is as clean as it gets.

What would that be? It's not a Makefile target.

r23713. your configure change did have an effect on config.h, but some #ifdefs
seem to be missing/wrong.

It should also have had an effect on config.mak.

And anyway, what is your configure command? Where is your configure.log?

Changed 12 years ago by ossi@…

configure.log

comment:8 Changed 12 years ago by ossi@…

(In reply to comment #7)

(In reply to comment #6)

i did an svn-clean, to be precise - this is as clean as it gets.

What would that be? It's not a Makefile target.

http://websvn.kde.org/*checkout*/trunk/KDE/kdesdk/scripts/svn-clean

r23713. your configure change did have an effect on config.h,

It should also have had an effect on config.mak.

it did not.

And anyway, what is your configure command?

it's long, but nothing about divx.
fwiw, you should print it into configure.log.

Where is your configure.log?

your howto does not request it for build problems. ;)

comment:9 Changed 12 years ago by diego@…

(In reply to comment #8)

(In reply to comment #7)

(In reply to comment #6)

r23713. your configure change did have an effect on config.h,

It should also have had an effect on config.mak.

it did not.

It should have. Now could you please run 'make distclean', empty all compiler caches etc and run configure and make again?

comment:10 Changed 12 years ago by ossi@…

your configure patch most definitely changed only #defines, the diff is clear enough about that.
you have some confusion with #define HAVE_XVID4 vs. #define CONFIG_LIBXVID vs. CONFIG_LIBXVID_ENCODER= - this is somewhat too convoluted for the occasional passer-by, so i gave up after a short look some weeks ago.

comment:11 Changed 12 years ago by diego@…

(In reply to comment #8)

(In reply to comment #7)

And anyway, what is your configure command?

it's long, but nothing about divx.
fwiw, you should print it into configure.log.

True that. It's printed into configure.log now.

comment:12 Changed 12 years ago by diego@…

  • Resolution set to fixed
  • Status changed from reopened to closed

I think I have really fixed it now. Please report back if it does or not, I cannot properly test this.

Note: See TracTickets for help on using tickets.