Opened 17 years ago

Closed 17 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: no Analyzed by developer: no

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@… 17 years ago.
config.h
config.mak (15.5 KB ) - added by ossi@… 17 years ago.
config.mak
configure.log (99.7 KB ) - added by ossi@… 17 years ago.
configure.log

Download all attachments as: .zip

Change History (15)

by ossi@…, 17 years ago

Attachment: config.h added

config.h

comment:1 by ossi@…, 17 years ago

by ossi@…, 17 years ago

Attachment: config.mak added

config.mak

comment:2 by ossi@…, 17 years ago

comment:3 by diego@…, 17 years ago

Resolution: fixed
Status: newclosed

Should be fixed, rerun configure and recompile.

comment:4 by ossi@…, 17 years ago

Resolution: fixed
Status: closedreopened

nope, still exactly the same.

comment:5 by diego@…, 17 years ago

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

comment:6 by ossi@…, 17 years ago

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 by diego@…, 17 years ago

(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?

by ossi@…, 17 years ago

Attachment: configure.log added

configure.log

comment:8 by ossi@…, 17 years ago

(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 by diego@…, 17 years ago

(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 by ossi@…, 17 years ago

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 by diego@…, 17 years ago

(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 by diego@…, 17 years ago

Resolution: fixed
Status: reopenedclosed

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.