Opened 11 years ago

Closed 11 years ago

#7331 closed defect (invalid)

libmyth-0.22.dll fails still to build

Reported by: markdavidoff@… Owned by: Nigel
Priority: minor Milestone: unknown
Component: Ports - Windows Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

This ticket was closed recently, but I still have the same problems with revision 22487

http://svn.mythtv.org/trac/ticket/7326

P.S. I am using the win32-packer.pl with the -k parameter (as I want a setup file) if that makes any difference

Change History (9)

comment:1 Changed 11 years ago by robertm

Summary: libmyth-0.22.dll fails STILL to build (why was this closed? Was it tested?)libmyth-0.22.dll fails still to build

Changing subject to something less insulting/inflammatory, please remain courteous, we are not slaves.

comment:2 Changed 11 years ago by robertm

Milestone: 0.22unknown
Priority: blockerminor

comment:3 Changed 11 years ago by anonymous

Mark, don't take it the wrong way but if youre going to take donations on your webpage for the windows builds, maybe you should take some time to learn how to best interface with the developers and even learn some programming to contribute. For example your bug reports are way too scare on details and dont even show the actual error, just the ending result. I think theres a wiki page on submitting good bug reports.

comment:4 Changed 11 years ago by markdavidoff@…

thanks for the criticism. I am learning to program, and I will contribute in the future. Also, I would post more detail, but the trac system keeps blacklisting my posts for "spam" because of "recognized blacklisted patterns". It won't let me attach logs files either. I would normally post a lot of detail about the output of the error, and the lines in the script that are causing the problems and a possible solution that I may have even tried.

Until I can learn to program well, I will be contributing with bug reports. At least it's a start.

comment:5 Changed 11 years ago by Mark Edwards <irish@…>

You don't need to be able to program, just be able to add a "-v" to the end of the command line and paste the end of the log like so, illustrating a problem in lcddevice.cpp and of course mention the build you were using, below is from 22494:

Makefile:186: warning: overriding commands for target `version.cpp' Makefile:183: warning: ignoring old commands for target `version.cpp' g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-rel oc -Wl,-s -shared -mthreads -Wl -Wl,--out-implib,liblibmythdb-0.22.a -o libmythd b-0.22.dll object_script.libmythdb-0.22 -L'c:/Qt/4.5.1/lib' -lpthread -lws2_32 -L/C/mythtv/buildlib -lQtSql4 -lQtGui4 -lQtNetwork4 -lQtCore4 make[2]: Entering directory `/C/mythtv/mythtv/libs/libavformat' make[2]: Nothing to be done for `first'. make[2]: Leaving directory `/C/mythtv/mythtv/libs/libavformat' Creating library file: liblibmythdb-0.22.a./lcddevice.o:lcddevice.cpp:(.text+0x8 142): undefined reference to `codec_id_string ' collect2: ld returned 1 exit status make[2]: * [libmythdb-0.22.dll] Error 1 make[2]: Leaving directory `/C/mythtv/mythtv/libs/libmythdb' make[1]: * [sub-libmythdb-make_default] Error 2 make[1]: Leaving directory `/C/mythtv/mythtv/libs' make: * [sub-libs-make_default-ordered] Error 2 EFFECT FAILED (newer -> shell): mtime of file (C:/mythtv/mythtv/libs/libmyth/lib myth-0.22.dll) should be greater than file (C:/mythtv/mythtv/last_build.txt). [0] [1255649037]

comment:6 Changed 11 years ago by Mark Edwards <irish@…>

Commenting out the above VERBOSE call in lcddevice.cpp permits the build to get further, but it still fails for me in mythmainwindow.cpp of libmythui: mythmainwindow.cpp: In member function 'void MythMainWindow::SetDrawEnabled?(bool )': mythmainwindow.cpp:954: error: 'usleep' was not declared in this scope make[2]: * [mythmainwindow.o] Error 1

and yeah mythmainwindow.cpp does now contain the include for compat.h

comment:7 Changed 11 years ago by Nigel

I have built r23234 several times over the last few days, so unless you need the particular revision you were trying, try -k -r 23234

comment:8 Changed 11 years ago by markdavidoff@…

It seems to be working now. Feel free to close this

comment:9 Changed 11 years ago by Stuart Auchterlonie

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.