Re: Thumbs up for Zinf in Solaris 8 on SPARC architecture
On Thu, 2002-07-25 at 03:41, Anders Nordby wrote: > Hello, > > On Thu, Jul 25, 2002 at 01:40:17AM -0400, Ed Sweetman wrote: > > I'd just like to clear up something first. Is this the cvs version of > > zinf or what? > > The patches are relative to the Zinf 2.2.0 for Linux tar.gz source > distribution. The packages are also made with this source. > > > If it's the cvs version ...heh. well you know. It's > > likely to change drastically still from the final release that I see > > rapidly approaching. We're getting the win32 build cleaned up rather > > quickly now and soon we'll have the cdpmo tackled for unix (as soon as i > > get time to really write the thing) and as for cdplayback in other > > OS's.. heh. that's gonna be an adventure. I just mention this because > > if you're going to make solaris packages of zinf you should know that > > there are serious aspects of zinf that are compilable but not functional > > yet. > > CD playback isn't all that interesting to me, I hope it will be easy to > disable. Anyway, please try to write portable code. :) I hope you are > not intending to turn Zinf over to be a Win32 project mostly? God no. haha. But the win32 build is pretty significant since it also requires the most specific code to the OS. The point of the CD playback rewrite is for portability and simply fitting in with the rest of Zinf. the zinf cvs has numerous changes over 2.2.0 and most of them deal with making the code re-usable and less bloated and bugfixes. cdplayback is one of the serious non-portable aspects of zinf ...hopefully the new plugin will change that. > > Awesome to get some feedback on other OS's though. :) I'll take a look > > at these patches and merge them in if all checks out. > > Thanks. > > Cheers, > > -- > Anders. > ___ > [EMAIL PROTECTED] > http://www.freeamp.org/mailman/listinfo/freeamp-dev ___ [EMAIL PROTECTED] http://www.freeamp.org/mailman/listinfo/freeamp-dev
Re: Thumbs up for Zinf in Solaris 8 on SPARC architecture
Hello, On Thu, Jul 25, 2002 at 01:40:17AM -0400, Ed Sweetman wrote: > I'd just like to clear up something first. Is this the cvs version of > zinf or what? The patches are relative to the Zinf 2.2.0 for Linux tar.gz source distribution. The packages are also made with this source. > If it's the cvs version ...heh. well you know. It's > likely to change drastically still from the final release that I see > rapidly approaching. We're getting the win32 build cleaned up rather > quickly now and soon we'll have the cdpmo tackled for unix (as soon as i > get time to really write the thing) and as for cdplayback in other > OS's.. heh. that's gonna be an adventure. I just mention this because > if you're going to make solaris packages of zinf you should know that > there are serious aspects of zinf that are compilable but not functional > yet. CD playback isn't all that interesting to me, I hope it will be easy to disable. Anyway, please try to write portable code. :) I hope you are not intending to turn Zinf over to be a Win32 project mostly? > Awesome to get some feedback on other OS's though. :) I'll take a look > at these patches and merge them in if all checks out. Thanks. Cheers, -- Anders. ___ [EMAIL PROTECTED] http://www.freeamp.org/mailman/listinfo/freeamp-dev
Re: Thumbs up for Zinf in Solaris 8 on SPARC architecture
I'd just like to clear up something first. Is this the cvs version of zinf or what? If it's the cvs version ...heh. well you know. It's likely to change drastically still from the final release that I see rapidly approaching. We're getting the win32 build cleaned up rather quickly now and soon we'll have the cdpmo tackled for unix (as soon as i get time to really write the thing) and as for cdplayback in other OS's.. heh. that's gonna be an adventure. I just mention this because if you're going to make solaris packages of zinf you should know that there are serious aspects of zinf that are compilable but not functional yet. Awesome to get some feedback on other OS's though. :) I'll take a look at these patches and merge them in if all checks out. On Wed, 2002-07-24 at 20:35, Anders Nordby wrote: > Hello, > > >From to time I have played a little with trying to make Freeamp work in > Solaris, as I use Solaris quite much on the desktop. Today I finally had > some success. At least it runs without crashing, and I can stream files > + play MP3s from disk. With /usr/dt/bin/sdtaudiocontrol, I can select > whether I want to use the internal speaker, the internal sound card, or > both. It seems stable too! > > Test setup: > > * Sun Blade 100 running Solaris 8 10/01 with GNOME 2 beta 1 from > www.sun.com/software. > * Gcc 3.1, glib 1.2.10, gtk 1.2.10, gdkpixbuf 0.11.0 and freetype 1.3.1 > from sunfreeware.com. > > Packages made: > > * http://anders.fix.no/solaris/pkg/sol8/sparc32-64/zinf-2.2.0-sol8-sparc64-local.gz > * >http://anders.fix.no/solaris/pkg/sol8/sparc32-64/musicbrainz-1.1.0-sol8-sparc64-local.gz > > Patches used: > > * Attached. > > Screenshot of player in use: > > * http://anders.fix.no/test/grab_solaris8+gnome2+zinf.png > > If there is some interest in Solaris support in the CVS repository, I'll > consider trying to maintain it. > > Thanks for making such a nice sound player - the best opensource one > IMHO! > > Cheers, > > -- > Anders. > ___ [EMAIL PROTECTED] http://www.freeamp.org/mailman/listinfo/freeamp-dev
Thumbs up for Zinf in Solaris 8 on SPARC architecture
Hello, >From to time I have played a little with trying to make Freeamp work in Solaris, as I use Solaris quite much on the desktop. Today I finally had some success. At least it runs without crashing, and I can stream files + play MP3s from disk. With /usr/dt/bin/sdtaudiocontrol, I can select whether I want to use the internal speaker, the internal sound card, or both. It seems stable too! Test setup: * Sun Blade 100 running Solaris 8 10/01 with GNOME 2 beta 1 from www.sun.com/software. * Gcc 3.1, glib 1.2.10, gtk 1.2.10, gdkpixbuf 0.11.0 and freetype 1.3.1 from sunfreeware.com. Packages made: * http://anders.fix.no/solaris/pkg/sol8/sparc32-64/zinf-2.2.0-sol8-sparc64-local.gz * http://anders.fix.no/solaris/pkg/sol8/sparc32-64/musicbrainz-1.1.0-sol8-sparc64-local.gz Patches used: * Attached. Screenshot of player in use: * http://anders.fix.no/test/grab_solaris8+gnome2+zinf.png If there is some interest in Solaris support in the CVS repository, I'll consider trying to maintain it. Thanks for making such a nice sound player - the best opensource one IMHO! Cheers, -- Anders. --- lib/http/src/Http.cpp.orig Thu Jun 20 08:40:07 2002 +++ lib/http/src/Http.cpp Thu Jul 25 00:19:13 2002 @@ -42,6 +42,10 @@ #include #endif +#if defined(solaris) +#define INADDR_NONE 0x +#endif + #if defined(unix) || defined(__BEOS__) || defined(_BSD_SOURCE) #define SOCKET int #endif --- ui/musicbrowser/unix/src/fileselector.cpp.orig Thu Jun 20 08:41:53 2002 +++ ui/musicbrowser/unix/src/fileselector.cpp Thu Jul 25 01:23:32 2002 @@ -34,6 +34,12 @@ #include "utility.h" #include "preferences.h" +#if defined(solaris) +#include +#include /* for MAXPATHLEN */ +#include +#endif + char old_path[PATH_MAX]="/\0"; FileSelector::FileSelector(FAContext *context,const char *windowtitle) @@ -68,11 +74,19 @@ { DIR *dir=NULL; struct dirent *current=NULL; +#if defined(solaris) +struct stat *s; +#endif if ((dir = opendir(subdirs))!=NULL){ current = readdir(dir); current = readdir(dir); while((current=readdir(dir))!=NULL){ +#if defined(solaris) + stat(subdirs, s); +if (s->st_mode & S_IFDIR) { +#else if(current->d_type==DT_DIR){ +#endif char temp_subdir[PATH_MAX]; strncpy(temp_subdir, subdirs,PATH_MAX); strcat(temp_subdir,"/"); --- ui/zinf/unix/src/GTKFileSelector.cpp.orig Thu Jun 20 08:42:46 2002 +++ ui/zinf/unix/src/GTKFileSelector.cppThu Jul 25 01:37:15 2002 @@ -25,6 +25,12 @@ #include #include +#if defined(solaris) +#include +#include /* for MAXPATHLEN */ +#include +#endif + char old_path[PATH_MAX]; GTKFileSelector::GTKFileSelector(FAContext *context,const char *windowtitle) @@ -59,11 +65,19 @@ { DIR *dir=NULL; struct dirent *current=NULL; +#if defined(solaris) +struct stat *s; +#endif if ((dir = opendir(subdirs))!=NULL){ current = readdir(dir); current = readdir(dir); while((current=readdir(dir))!=NULL){ +#if defined(solaris) + stat(subdirs, s); + if (s->st_mode & S_IFDIR) { +#else if(current->d_type==DT_DIR){ +#endif char temp_subdir[PATH_MAX]; strncpy(temp_subdir, subdirs,PATH_MAX); strcat(temp_subdir,"/");
Error compiling on SOlaris 2.7
I'm having a problem compiling freeamp on Solaris 2.7. c++ -I. -I. -I./config -DUNIX_LIBDIR=\"/usr/local/lib\" -Dsolaris -I. -I./lib/gd bm -I./base/include -I./config -I./io/include -I./ui/include -I./lmc/include -I. /base/unix/include -I./base/unix/solaris/include -I./io/soundcard/unix/solaris/i nclude -I./lmc/xingmp3/include -I./lmc/cd/include -I./plm/portable/pmp300/sba -I ./lib/xml/include -I./lib/zlib/include -I./lib/unzip/include -I./io/cd/unix/incl ude -I./base/aps -I./io/wavout/include -I./ui/lcd/include -I./ui/irman/include - I./lib/http/include -I./io/signature/include -I./lmc/vorbis/include -O2 -fpermis sive -D_REENTRANT-c base/aps/apsinterface.cpp -o base/aps/apsinterface.o base/aps/apsinterface.cpp:56: musicbrainz/mb_c.h: No such file or directory gmake: *** [base/aps/apsinterface.o] Error 1 I also had to remove an include (I think fstream.h) from a file as it caused a confilct in a function (I'm sorry about being vague it was late night a couple of days ago). Steve -- NetTek Ltd tel +44-(0)20 7483 1169 fax +44-(0)20 7483 2455 Flat 2,43 Howitt Road, Belsize Park,London NW3 4LU mobile 07775 755503 Epage [EMAIL PROTECTED] [body only] ___ [EMAIL PROTECTED] http://www.freeamp.org/mailman/listinfo/freeamp-dev
Re: solaris shared library/plugin problem?
Isaac Richards wrote: > > Can't ask you to upgrade to a newer version of solaris, can I? =) > > Isaac > No >:->, I want to upgrade but the upgrade to a newer solaris version is organised by our organisation. And they are slooow. When do we get a newer version? Unkown. Bye, Erik ___ [EMAIL PROTECTED] http://www.freeamp.org/mailman/listinfo/freeamp-dev
RE: solaris shared library/plugin problem?
Can't ask you to upgrade to a newer version of solaris, can I? =) Isaac On 04-Oct-2000 Erik van der Knaap wrote: > I have for a long time problems executing freeamp on my solaris machine. > The source of freeamp is "almost" without changes compileable. Good work! > With the older "beta" versions there were more problems. Also the configure > script is improving day by day. The problem I have is in opening the plugin > libraries. > It seems that some symbols are unknown by the plugin because it's defined in > an > other plugin. Is there a special c++ compiler flag needed? > > I am using gcc version 2.95.2 19991024 (release) on a SunOS 5.6 sun4u sparc > SUNW,Ultra-5_10 machine. > > In the function LoadLibrary the error is occurring in. > freeamp/base/unix/src/win32impl.cpp > HINSTANCE hInst = dlopen(lpLibFileName, RTLD_NOW | RTLD_GLOBAL); > > I added some debug code, so Ignore. Found file:, Trying to load:, Error: > Trying to load module:. > > I searched the search engines about a solution for this but I couldn't find a > correct solution. > > I hope somebody knows the answer! > > Have a nice day, > Erik ___ [EMAIL PROTECTED] http://www.freeamp.org/mailman/listinfo/freeamp-dev
solaris shared library/plugin problem?
I have for a long time problems executing freeamp on my solaris machine. The source of freeamp is "almost" without changes compileable. Good work! With the older "beta" versions there were more problems. Also the configure script is improving day by day. The problem I have is in opening the plugin libraries. It seems that some symbols are unknown by the plugin because it's defined in an other plugin. Is there a special c++ compiler flag needed? I am using gcc version 2.95.2 19991024 (release) on a SunOS 5.6 sun4u sparc SUNW,Ultra-5_10 machine. In the function LoadLibrary the error is occurring in. freeamp/base/unix/src/win32impl.cpp HINSTANCE hInst = dlopen(lpLibFileName, RTLD_NOW | RTLD_GLOBAL); I added some debug code, so Ignore. Found file:, Trying to load:, Error: Trying to load module:. I searched the search engines about a solution for this but I couldn't find a correct solution. I hope somebody knows the answer! Have a nice day, Erik --- snip snip --- Found file: cd.lmc Trying to load: /local/lib/freeamp/plugins/cd.lmc ld.so.1: freeamp: fatal: relocation error: file /local/lib/freeamp/plugins/cd.lmc: symbol Clear__10PullBuffer: referenced symbol not found Error: Trying to load module: /local/lib/freeamp/plugins/cd.lmc Found file: vorbis.lmc Trying to load: /local/lib/freeamp/plugins/vorbis.lmc ld.so.1: freeamp: fatal: relocation error: file /local/lib/freeamp/plugins/vorbis.lmc: symbol Pause__12PipelineUnit: referenced symbol not found Error: Trying to load module: /local/lib/freeamp/plugins/vorbis.lmc Found file: xingmp3.lmc Trying to load: /local/lib/freeamp/plugins/xingmp3.lmc ld.so.1: freeamp: fatal: relocation error: file /local/lib/freeamp/plugins/xingmp3.lmc: symbol kOutputBufferSizePref: referenced symbol not found Error: Trying to load module: /local/lib/freeamp/plugins/xingmp3.lmc Found file: httpinput.pmi Trying to load: /local/lib/freeamp/plugins/httpinput.pmi ld.so.1: freeamp: fatal: relocation error: file /local/lib/freeamp/plugins/httpinput.pmi: symbol kUseProxyPref: referenced symbol not found Error: Trying to load module: /local/lib/freeamp/plugins/httpinput.pmi etc. ___ [EMAIL PROTECTED] http://www.freeamp.org/mailman/listinfo/freeamp-dev
Re: Solaris version
On Thu, Aug 10, 2000 at 11:43:27AM -0700, [EMAIL PROTECTED] wrote: > On 10 Aug, Steve Kennedy wrote: > > What the cvs command to get the Solaris version, I downloaded > > the latest beta from the Freeamp site, but this has a few > > problems. > That's because we don't have Solaris support. Unless you're going to fix > some problems or volunteer to maintain the Solaris port, please don't > keep pointing out that FreeAmp has problems on Solaris. We know! I thought there was some work going on in that direction and there was an unstable branch with "some" Solaris support. I'm willing to help as much as I can, though I'm not a C++ person. I can offer an account on a system with Solaris v2.6 and 2.7 ... Steve -- NetTek Ltd tel +44-(0)20 7483 1169 fax +44-(0)20 7483 2455 Flat 2,43 Howitt Road, Belsize Park,London NW3 4LU mobile 07775 755503 Epage [EMAIL PROTECTED] [body only] ___ [EMAIL PROTECTED] http://www.freeamp.org/mailman/listinfo/freeamp-dev
Re: Solaris version
On 10 Aug, Steve Kennedy wrote: > What the cvs command to get the Solaris version, I downloaded > the latest beta from the Freeamp site, but this has a few > problems. That's because we don't have Solaris support. Unless you're going to fix some problems or volunteer to maintain the Solaris port, please don't keep pointing out that FreeAmp has problems on Solaris. We know! --ruaok Freezerburn! All else is only icing. -- Soul Coughing Robert Kaye -- [EMAIL PROTECTED] http://moon.eorbit.net/~robert ___ [EMAIL PROTECTED] http://www.freeamp.org/mailman/listinfo/freeamp-dev
Solaris version
What the cvs command to get the Solaris version, I downloaded the latest beta from the Freeamp site, but this has a few problems. Steve -- NetTek Ltd tel +44-(0)20 7483 1169 fax +44-(0)20 7483 2455 Flat 2,43 Howitt Road, Belsize Park,London NW3 4LU mobile 07775 755503 Epage [EMAIL PROTECTED] [body only] ___ [EMAIL PROTECTED] http://www.freeamp.org/mailman/listinfo/freeamp-dev
Re: Solaris build error (was Re: freeamp UI MouseMove)
On Tue, Jul 11, 2000 at 02:53:23PM -0500, Hiromasa Kato wrote: > You also need to update the header file > io/soundcard/unix/solaris/include/soundcardpmo.h, too. > I don't know how you control stereo balance on solaris. > Completely untested, but what about: > diff -r1.7 soundcardpmo.h > diff -r1.18 soundcardpmo.cpp Ahh, I see now ;) compiles ... Major problems loading now : - 0x3f8 /usr/local/lib/libncurses.a(unct rl.o) 0x3fc /usr/local/lib/libncurses.a(unct rl.o) 0x24/usr/local/lib/libncurses.a(unct rl.o) 0x2c/usr/local/lib/libncurses.a(unct rl.o) 0x38/usr/local/lib/libncurses.a(unct rl.o) 0x34/usr/local/lib/libncurses.a(unct rl.o) 0x0 /usr/local/lib/libncurses.a(unct rl.o) 0x1b0 /usr/local/lib/libncurses.a(lib_ tparm.o) 0x4 /usr/local/lib/libncurses.a(unct rl.o) ld: fatal: relocations remain against allocatable but non-writable sections collect2: ld returned 1 exit status gmake[1]: *** [plugins/ncurses.ui] Error 1 gmake[1]: Leaving directory `/home/steve/freeamp' gmake: *** [plugins-cc] Error 2 Steve -- NetTek Ltd tel +44-(0)20 7483 1169 fax +44-(0)20 7483 2455 Flat 2,43 Howitt Road, Belsize Park,London NW3 4LU mobile 07775 755503 Epage [EMAIL PROTECTED] [body only] ___ [EMAIL PROTECTED] http://www.freeamp.org/mailman/listinfo/freeamp-dev
Re: Solaris build error (was Re: freeamp UI MouseMove)
Steve Kennedy wrote: > I changed the source files above (only adding the int32 stuff) > io/soundcard/unix/solaris/src/soundcardpmo.cpp: In function `class PhysicalMedia > Output * Initialize(FAContext *)': > io/soundcard/unix/solaris/src/soundcardpmo.cpp:50: cannot allocate an object of > type `SoundCardPMO' > io/soundcard/unix/solaris/src/soundcardpmo.cpp:50: since the following virtual > functions are abstract: > io/include/pmo.h:74:void PhysicalMediaOutput::GetVolume(int32 &, int32 &) > io/include/pmo.h:75:void PhysicalMediaOutput::SetVolume(int, int) > io/soundcard/unix/solaris/src/soundcardpmo.cpp: At top level: > io/soundcard/unix/solaris/src/soundcardpmo.cpp:103: prototype for `void SoundCar > dPMO::SetVolume(int, int)' does not match any in class `SoundCardPMO' > io/soundcard/unix/solaris/include/soundcardpmo.h:68: candidate is: void SoundCar > dPMO::SetVolume(int) > io/soundcard/unix/solaris/src/soundcardpmo.cpp: In method `void SoundCardPMO::Se > tVolume(int, int)': > io/soundcard/unix/solaris/src/soundcardpmo.cpp:108: `v' undeclared (first use th > is function) > io/soundcard/unix/solaris/src/soundcardpmo.cpp:108: (Each undeclared identifier > is reported only once > io/soundcard/unix/solaris/src/soundcardpmo.cpp:108: for each function it appears > in.) > io/soundcard/unix/solaris/src/soundcardpmo.cpp: At top level: > io/soundcard/unix/solaris/src/soundcardpmo.cpp:115: prototype for `void SoundCar > dPMO::GetVolume(int32 &, int32 &)' does not match any in class `SoundCardPMO' > io/soundcard/unix/solaris/include/soundcardpmo.h:67: candidate is: int32 SoundCa > rdPMO::GetVolume() > io/soundcard/unix/solaris/src/soundcardpmo.cpp: In method `void SoundCardPMO::Ge > tVolume(int32 &, int32 &)': > io/soundcard/unix/solaris/src/soundcardpmo.cpp:125: `return' with a value, in fu > nction returning void > gmake[1]: *** [io/soundcard/unix/solaris/src/soundcardpmo.o] Error 1 > gmake[1]: Leaving directory `/home/steve/freeamp' > gmake: *** [plugins-cc] Error 2 You also need to update the header file io/soundcard/unix/solaris/include/soundcardpmo.h, too. I don't know how you control stereo balance on solaris. Completely untested, but what about: diff -r1.7 soundcardpmo.h 67,68c67,68 < int32 GetVolume(void); < void SetVolume(int32); --- > void GetVolume(int32 &left, int32 &right); > void SetVolume(int32 left, int32 right); diff -r1.18 soundcardpmo.cpp 102c102 < void SoundCardPMO::SetPrefInt32(kVolumePref, int32 v) --- > void SoundCardPMO::SetVolume(int32 left, int32 right) 108c108 < ainfo.play.gain = (v*255)/100; --- > ainfo.play.gain = ((left + right)/2*255)/100; 114c114 < int32 SoundCardPMO::GetPrefInt32(kVolumePref, ) --- > void SoundCardPMO::GetVolume(int32 &left, int32 &right) 125c125 < return volume; --- > left = right = volume; -- Hiromasa Kato [EMAIL PROTECTED] ___ [EMAIL PROTECTED] http://www.freeamp.org/mailman/listinfo/freeamp-dev
errors compiling latest beta on Solaris
gcc gmake -f Makefile-plugins - plugins-cc gmake[1]: Entering directory `/home/steve/freeamp' c++ -I. -I. -I./config -DUNIX_LIBDIR=\"/usr/local/lib\" -Dsolaris -I./lib/gdbm -I./base/include -Iconfig -I./io/include -I./ui/include -I./lmc/include -I./base/unix/include -I./base/unix/solaris/include -I./io/soundcard/unix/solaris/include -I./ui/lcd/include -I./ui/irman/include -I./lmc/xingmp3/include -I./lmc/cd/include -I./plm/portable/pmp300/sba -I./lib/xml/include -I./lib/zlib/include -I./lib/unzip/include -I./io/cd/include -I./io/cd/unix/include -I./io/wavout/include -I./lib/http/include -Wall -g -O2 -D_REENTRANT -fPIC -c io/soundcard/unix/solaris/src/soundcardpmo.cpp -o io/soundcard/unix/solaris/src/soundcardpmo.o io/soundcard/unix/solaris/src/soundcardpmo.cpp: In function `class PhysicalMediaOutput * Initialize(FAContext *)': io/soundcard/unix/solaris/src/soundcardpmo.cpp:50: cannot allocate an object of type `SoundCardPMO' io/soundcard/unix/solaris/src/soundcardpmo.cpp:50: since the following virtual functions are abstract: io/include/pmo.h:75:void PhysicalMediaOutput::GetVolume(int32 &, int32 &) io/include/pmo.h:76:void PhysicalMediaOutput::SetVolume(int, int) gmake[1]: *** [io/soundcard/unix/solaris/src/soundcardpmo.o] Error 1 gmake[1]: Leaving directory `/home/steve/freeamp' gmake: *** [plugins-cc] Error 2 Steve -- NetTek Ltd tel +44-(0)20 7483 1169 fax +44-(0)20 7483 2455 Flat 2,43 Howitt Road, Belsize Park,London NW3 4LU mobile 07775 755503 Epage [EMAIL PROTECTED] [body only] ___ [EMAIL PROTECTED] http://www.freeamp.org/mailman/listinfo/freeamp-dev
Re: Compile problem on Solaris
On Fri, Mar 17, 2000 at 10:02:43AM +, Steve Kennedy wrote: > On Fri, Mar 17, 2000 at 02:13:50AM +0100, Björn Wingman wrote: > > > base/src/downloadmanager.cpp:724: passing `const sockaddr *' as argument 2 of `c > > > onnect(int, sockaddr *, int)' discards qualifiers > > > gmake: *** [base/src/downloadmanager.o] Error 1 > > Hmm...it compiles nicely for me, no warnings at all on my: > > SunOS 5.7 Generic_106541-07 sun4u sparc SUNW,Ultra-5_10 > > with gcc 2.95.2. > I compiled on Sun Sparc20, Solaris 2.6, gcc 2.95.1 Now failing on c++ -I. -I. -I./config -DUNIX_LIBDIR=\"/usr/local/lib\" -Dsolaris -I./lib/gdbm - I./base/include -Iconfig -I./io/include -I./ui/include -I./lmc/include -I./base/ unix/include -I./base/unix/solaris/include -I./io/soundcard/unix/solaris/include -I./ui/lcd/include -I./ui/irman/include -I./lmc/xingmp3/include -I./lmc/cd/incl ude -I./plm/portable/pmp300/sba -I./lib/xml/include -I./lib/zlib/include -I./io/ cd/include -I./io/cd/unix/include -Wall -Wno-return-type -g -O2 -D_REENTRANT -c io/src/tstream.cpp -o io/src/tstream.o io/src/tstream.cpp: In method `void TitleStreamServer::WorkerThread()': io/src/tstream.cpp:271: passing `unsigned int *' as argument 6 of `recvfrom(int, char *, int, int, sockaddr *, int *)' changes signedness gmake: *** [io/src/tstream.o] Error 1 Steve -- NetTek Ltd tel +44-(0)20 7483 1169 fax +44-(0)20 7483 2455 Flat 2,43 Howitt Road, Belsize Park,London NW3 4LU mobile 07775 755503 Epage [EMAIL PROTECTED] [body only] ___ [EMAIL PROTECTED] http://www.freeamp.org/mailman/listinfo/freeamp-dev
Re: Compile problem on Solaris
On Fri, Mar 17, 2000 at 02:13:50AM +0100, Björn Wingman wrote: > > base/src/downloadmanager.cpp:724: passing `const sockaddr *' as argument 2 of `c > > onnect(int, sockaddr *, int)' discards qualifiers > > gmake: *** [base/src/downloadmanager.o] Error 1 > Hmm...it compiles nicely for me, no warnings at all on my: > SunOS 5.7 Generic_106541-07 sun4u sparc SUNW,Ultra-5_10 > with gcc 2.95.2. I compiled on Sun Sparc20, Solaris 2.6, gcc 2.95.1 Steve -- NetTek Ltd tel +44-(0)20 7483 1169 fax +44-(0)20 7483 2455 Flat 2,43 Howitt Road, Belsize Park,London NW3 4LU mobile 07775 755503 Epage [EMAIL PROTECTED] [body only] ___ [EMAIL PROTECTED] http://www.freeamp.org/mailman/listinfo/freeamp-dev
Re: Compile problem on Solaris
> base/src/downloadmanager.cpp:724: passing `const sockaddr *' as argument 2 of `c > onnect(int, sockaddr *, int)' discards qualifiers > gmake: *** [base/src/downloadmanager.o] Error 1 Hmm...it compiles nicely for me, no warnings at all on my: SunOS 5.7 Generic_106541-07 sun4u sparc SUNW,Ultra-5_10 with gcc 2.95.2. However, when starting freeamp, I still get this: FreeAmp has been compiled with mutex debugging enabled. To dump mutex info: kill -SIGUSR1 620 ld.so.1: freeamp: fatal: relocation error: file /home/bjowi/local/lib/freeamp/plugins/cd.lmc: symbol Clear__10PullBuffer: referenced symbol not found ld.so.1: freeamp: fatal: relocation error: file /home/bjowi/local/lib/freeamp/plugins/xingmp3.lmc: symbol Clear__10PullBuffer: referenced symbol not found ld.so.1: freeamp: fatal: relocation error: file /home/bjowi/local/lib/freeamp/plugins/httpinput.pmi: symbol kUseProxyPref: referenced symbol not found ld.so.1: freeamp: fatal: relocation error: file /home/bjowi/local/lib/freeamp/plugins/localfileinput.pmi: symbol Clear__10PullBuffer: referenced symbol not found ld.so.1: freeamp: fatal: relocation error: file /home/bjowi/local/lib/freeamp/plugins/obsinput.pmi: symbol kAlternateNICAddressPref: referenced symbol not found ld.so.1: freeamp: fatal: relocation error: file /home/bjowi/local/lib/freeamp/plugins/cd.pmo: symbol kPreBufferPref: referenced symbol not found ld.so.1: freeamp: fatal: relocation error: file /home/bjowi/local/lib/freeamp/plugins/soundcard.pmo: symbol kPreBufferPref: referenced symbol not found ld.so.1: freeamp: fatal: relocation error: file /home/bjowi/local/lib/freeamp/plugins/freeampcmd.ui: symbol SetShuffleMode__15PlaylistManagerb: referenced symbol not found ld.so.1: freeamp: fatal: relocation error: file /home/bjowi/local/lib/freeamp/plugins/irman.ui: symbol SetCurrentIndex__15PlaylistManagerUi: referenced symbol not found ld.so.1: freeamp: fatal: relocation error: file /home/bjowi/local/lib/freeamp/plugins/lcd.ui: symbol Release__5Mutex: referenced symbol not found ld.so.1: freeamp: fatal: relocation error: file /home/bjowi/local/lib/freeamp/plugins/mpg123.ui: symbol SetShuffleMode__15PlaylistManagerb: referenced symbol not found ld.so.1: freeamp: fatal: relocation error: file /home/bjowi/local/lib/freeamp/plugins/ncurses.ui: symbol SetShuffleMode__15PlaylistManagerb: referenced symbol not found ld.so.1: freeamp: fatal: relocation error: file /home/bjowi/local/lib/freeamp/plugins/download.ui: symbol CancelDownload__15DownloadManagerP12DownloadItemb: referenced symbol not found ld.so.1: freeamp: fatal: relocation error: file /home/bjowi/local/lib/freeamp/plugins/freeamp.ui: symbol kALSADevicePref: referenced symbol not found ld.so.1: freeamp: fatal: relocation error: file /home/bjowi/local/lib/freeamp/plugins/musicbrowser.ui: symbol kWelcomePref: referenced symbol not found ld.so.1: freeamp: fatal: relocation error: file /home/bjowi/local/lib/freeamp/plugins/m3u.plf: symbol URLToFilePath__FPCcPcPUi: referenced symbol not found ld.so.1: freeamp: fatal: relocation error: file /home/bjowi/local/lib/freeamp/plugins/pls.plf: symbol URLToFilePath__FPCcPcPUi: referenced symbol not found ld.so.1: freeamp: fatal: relocation error: file /home/bjowi/local/lib/freeamp/plugins/cddb.mdf: symbol kDatabaseDirPref: referenced symbol not found ld.so.1: freeamp: fatal: relocation error: file /home/bjowi/local/lib/freeamp/plugins/id3v1.mdf: symbol URLToFilePath__FPCcPcPUi: referenced symbol not found ld.so.1: freeamp: fatal: relocation error: file /home/bjowi/local/lib/freeamp/plugins/id3v2.mdf: symbol URLToFilePath__FPCcPcPUi: referenced symbol not found ld.so.1: freeamp: fatal: relocation error: file /home/bjowi/local/lib/freeamp/plugins/misc.mdf: symbol __8Registry: referenced symbol not found ld.so.1: freeamp: fatal: relocation error: file /home/bjowi/local/lib/freeamp/plugins/rmp.dlf: symbol URLToFilePath__FPCcPcPUi: referenced symbol not found No UI plugin in '.:~/.freeamp:/home/bjowi/local/lib/freeamp' matched 'plugins/' or 'plugins/.ui.' FreeAmp will quit. /Björn Wingman ___ [EMAIL PROTECTED] http://www.freeamp.org/mailman/listinfo/freeamp-dev
Compile problem on Solaris
As requested: - c++ -I. -I. -I./config -DUNIX_LIBDIR=\"/usr/local/lib\" -Dsolaris -I./lib/gdbm - I./base/include -Iconfig -I./io/include -I./ui/include -I./lmc/include -I./base/ unix/include -I./base/unix/solaris/include -I./io/soundcard/unix/solaris/include -I./ui/lcd/include -I./ui/irman/include -I./lmc/xingmp3/include -I./lmc/cd/incl ude -I./plm/portable/pmp300/sba -I./lib/xml/include -I./lib/zlib/include -I./io/ cd/include -I./io/cd/unix/include -Wall -Wno-return-type -g -O2 -D_REENTRANT -c base/src/downloadmanager.cpp -o base/src/downloadmanager.o base/src/downloadmanager.cpp: In method `enum Error DownloadManager::Download(Do wnloadItem *)': base/src/downloadmanager.cpp:724: passing `const sockaddr *' as argument 2 of `c onnect(int, sockaddr *, int)' discards qualifiers gmake: *** [base/src/downloadmanager.o] Error 1 Steve -- NetTek Ltd tel +44-(0)20 7483 1169 fax +44-(0)20 7483 2455 Flat 2,43 Howitt Road, Belsize Park,London NW3 4LU mobile 07775 755503 Epage [EMAIL PROTECTED] [body only] ___ [EMAIL PROTECTED] http://www.freeamp.org/mailman/listinfo/freeamp-dev
Solaris!
> Running a dual P-III 600 with SBLive, work fine with FreeAmp, however > the system does seem to go unstable after a while, but I've been told > that this is due to the number of cards I've got in the system (and it > loses interrupts of something, ps NT4 SP6+). > > Steve You're a Solaris guy, right? If you (and any Solaris folks) could please try to check out the solaris-port-branch (cvs co -rsolaris-port-branch) and see if you can compile/use Freeamp on Solaris? Tom Dilligan just completed the port and we'd both like some feedback on it. --ruaok Freezerburn! All else is only icing. -- Soul Coughing Robert Kaye -- [EMAIL PROTECTED] http://moon.eorbit.net/~robert ___ [EMAIL PROTECTED] http://www.freeamp.org/mailman/listinfo/freeamp-dev
Re: Freeamp on Solaris
Björn Wingman wrote: > > > ld.so.1: freeamp: fatal: relocation error: file > > /usr/lib/libpthread.so.1: symbol __pthread_init: referenced symbol > > not found > > Killed > > Ignore that part. The wrong library was found during runtime. > > I now get a bus error instead. :) > > /Björn Wingman (searching for bugs) > ___ > [EMAIL PROTECTED] > http://www.freeamp.org/mailman/listinfo/freeamp-dev Björn, Maybe you know what the problem is? I compiled everything but always linking fails. I think it's a gcc problem, the shared library is not ok! Do you know how I can solve this. Regards, Erik --- snip snip snip --- ld: warning: file /local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.2/libstdc++.a ignored: unable to locate archive symbol table Undefined first referenced symbol in file __eh_pc /swdev/tools/lib/libstdc++.a(stdexcepti.o) ld: fatal: Symbol referencing errors. No output written to freeamp collect2: ld returned 1 exit status *** Error code 1 ___ [EMAIL PROTECTED] http://www.freeamp.org/mailman/listinfo/freeamp-dev
Freeamp on Solaris
> ld.so.1: freeamp: fatal: relocation error: file > /usr/lib/libpthread.so.1: symbol __pthread_init: referenced symbol > not found > Killed Ignore that part. The wrong library was found during runtime. I now get a bus error instead. :) /Björn Wingman (searching for bugs) ___ [EMAIL PROTECTED] http://www.freeamp.org/mailman/listinfo/freeamp-dev
Freeamp on Solaris
I'm trying to get freeamp working on Solaris (sources from cvs). I had to change a few things to get it to compile, but eventually it got through nicely. It won't run, though. I get this: ld.so.1: freeamp: fatal: relocation error: file /usr/lib/libpthread.so.1: symbol __pthread_init: referenced symbol not found Killed I haven't managed to find any call to pthread_init, maybe someone knows where it may be? Does anyone want the changes I made to get the latest cvs version to compile on solaris? I could send patches. Is it better to work on the latest released version? I don't know if anyone is actively working on the solaris port. /Björn Wingman ___ [EMAIL PROTECTED] http://www.freeamp.org/mailman/listinfo/freeamp-dev
Solaris compilation
Hi All, I am attempting to compile freeamp for Solaris 2.6 (Sparc) with little success. Can one of the solaris developers maybe let me know what platform/libraries they are using? I'd like to help if I can, but I think it would mainly be testing as my C++ is not up to much (yet). - Keith -- Keith M Findlater Integrated Systems Group (Vision Systems) Department of Electrical Engineering The University of Edinburgh King's Buildings Mayfield Rd Edinburgh EH9 3JL (Int +44) 131 650 5665 (enquiries) [EMAIL PROTECTED] ___ [EMAIL PROTECTED] http://www.freeamp.org/mailman/listinfo/freeamp-dev
(solaris) hang in theme.ui playlist editor
This is after opening a playlist. It whirs quite a bit, and then hangs here in this gigantic backtrace: Thread 4 (LWP4): #0 0xff1179b0 in ___lwp_mutex_lock () from /usr/lib/libc.so.1 #1 0xff03c674 in _mutex_lwp_lock () from /usr/lib/libthread.so.1 #2 0xff03c370 in _cmutex_lock () from /usr/lib/libthread.so.1 #3 0xfe3befb4 in gdk_threads_enter () at gdk.c:1415 #4 0xfe5c2544 in MusicBrowserUI::LoadPlaylist (this=0x16ca38, path=0x16cb90 "/usr/local/src/fa15/biteme.m3u") at ui/musicbrowser/unix/musicbrowser.cpp:312 #5 0xfe5bfeac in open_list () at ui/musicbrowser/unix/gtkmusicbrowser.cpp:765 #6 0xfe4b4f28 in gtk_item_factory_callback_marshal (widget=0x0, func_data=0x191d00) at gtkitemfactory.c:258 #7 0xfe4cb200 in gtk_marshal_NONE__NONE (object=0x18fce8, func=0xfe4b4f00 , func_data=0x191d00, args=0xfde7ee20) at gtkmarshal.c:312 #8 0xfe50cb30 in gtk_handlers_run (handlers=0x183b10, signal=0xfde7ed68, object=0x18fce8, params=0xfde7ee20, after=0) at gtksignal.c:1909 #9 0xfe50ba0c in gtk_signal_real_emit (object=0x18fce8, signal_id=71, params=0xfde7ee20) at gtksignal.c:1469 #10 0xfe508aac in gtk_signal_emit (object=0x18fce8, signal_id=71) at gtksignal.c:552 #11 0xfe553630 in gtk_widget_activate (widget=0x1) at gtkwidget.c:2869 #12 0xfe4d61c8 in gtk_menu_shell_activate_item (menu_shell=0x191970, menu_item=0x18fce8, force_deactivate=1) at gtkmenushell.c:839 #13 0xfe4d4cc8 in gtk_menu_shell_button_release (widget=0x191970, event=0x184a78) at gtkmenushell.c:485 #14 0xfe4caf90 in gtk_marshal_BOOL__POINTER (object=0x191970, func=0xfe4d4a30 , func_data=0x0, args=0xfde7f460) at gtkmarshal.c:28 #15 0xfe50ba54 in gtk_signal_real_emit (object=0x191970, signal_id=21, params=0xfde7f460) at gtksignal.c:1484 #16 0xfe508aac in gtk_signal_emit (object=0x191970, signal_id=21) at gtksignal.c:552 #17 0xfe553390 in gtk_widget_event (widget=0x191970, event=0x184a78) at gtkwidget.c:2843 #18 0xfe4caf1c in gtk_propagate_event (widget=0x191970, event=0x184a78) at gtkmain.c:1313 #19 0xfe4c9d54 in gtk_main_do_event (event=0x184a78) at gtkmain.c:770 #20 0xfe3ccd7c in gdk_event_dispatch (source_data=0x184a78, current_time=0xfde7fa30, user_data=0x0) at gdkevents.c:2129 #21 0xfe326fe8 in g_main_dispatch (current_time=0xfde7fa30) at gmain.c:656 #22 0xfe327800 in g_main_iterate (block=-30096544, dispatch=1) at gmain.c:874 #23 0xfe327a10 in g_main_run (loop=0x174b78) at gmain.c:932 #24 0xfe4c9444 in gtk_main () at gtkmain.c:476 #25 0xfe5c1804 in MusicBrowserUI::GTKEventService (this=0x16ca38) at ui/musicbrowser/unix/musicbrowser.cpp:99 #26 0xfe5c16c4 in MusicBrowserUI::gtkServiceFunction (p=0x16ca38) at ui/musicbrowser/unix/musicbrowser.cpp:75 #27 0x48e94 in solarisThread::InternalThreadFunction (this=0x0) at base/unix/solaris/src/solaristhread.cpp:78 #28 0x48e6c in solarisThread::internalThreadFunction (arg=0x9bdf0) at base/unix/solaris/src/solaristhread.cpp:64 Thread 1 (LWP1): #0 0xff117a74 in _lwp_sema_wait () from /usr/lib/libc.so.1 #1 0xff03b04c in _park () from /usr/lib/libthread.so.1 #2 0xff03ad40 in _swtch () from /usr/lib/libthread.so.1 #3 0xff039654 in cond_timedwait () from /usr/lib/libthread.so.1 #4 0xff049838 in sleep () from /usr/lib/libthread.so.1 #5 0xfe251554 in GTKWindow::Run (this=0x17c220, oPos=@0x400) at ui/theme/unix/src/GTKWindow.cpp:156 #6 0xfe224e1c in Theme::Run (this=0x17c17c, oWindowPos=@0x17c200) at ui/theme/src/Theme.cpp:339 #7 0xfe2438c8 in FreeAmpTheme::WorkerThread (this=0x17c178) at ui/theme/src/FreeAmpTheme.cpp:106 #8 0xfe2439ac in WorkerThreadStart (arg=0x17c178) at ui/theme/src/FreeAmpTheme.cpp:119 #9 0x48e94 in solarisThread::InternalThreadFunction (this=0x0) at base/unix/solaris/src/solaristhread.cpp:78 #10 0x48e6c in solarisThread::internalThreadFunction (arg=0x17e6d0) at base/unix/solaris/src/solaristhread.cpp:64 #0 0xff117a74 in _lwp_sema_wait () from /usr/lib/libc.so.1 (the last line is wacky because I attached with gdb after the fact. At least, I hope that's the reason.)
Re: extreme solaris wackiness
> > Well, I think I'm getting closer to finding what's causing the > > Solaris strangeness; for one, it appears that sometimes the LWP > > or Reader gets stuck, and so WasteTime() gets called an awful > > lot. A side effect seems to be the creation of several hundred > > threads. :) > > Wow -- there is some *strange* shit going on over there. Have you taken > a look at the solaris implementation of all the Thread/Mutex/Semaphore > stuff? Yeah, I have. With the difference of everything that says 'linux' saying 'solaris' instead, minor differences in spacing, and the fact that the solaris bit does pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_ERRORCHECK); if under Sol 2.7, the two sources are identical. I'm gonna try disabling the errorcheck mutexen, but I ain't hopeful that it'll do much good.
Re: extreme solaris wackiness
On 20 Sep, Tom Spindler wrote: > Well, I think I'm getting closer to finding what's causing the > Solaris strangeness; for one, it appears that sometimes the LWP > or Reader gets stuck, and so WasteTime() gets called an awful > lot. A side effect seems to be the creation of several hundred > threads. :) Wow -- there is some *strange* shit going on over there. Have you taken a look at the solaris implementation of all the Thread/Mutex/Semaphore stuff? --ruaok Freezerburn! All else is only icing. -- Soul Coughing Robert Kaye -- [EMAIL PROTECTED] http://moon.eorbit.net/~robert
even more solaris ranting
I've gotten the strangest hang yet. It's hanging inside of Player::EventServiceThreadfunc, at pP->m_eventSem->Wait(). The kicker is that there are no other threads alive that even reference that semaphore! In fact, the only place that this particular variable is used is player.cpp. a (long) backtrace follows. (gdb) set height 0 (gdb) thr ap al bt Thread 14 (Thread 4 (LWP 6)): #0 0xff115c90 in _poll () from /usr/lib/libc.so.1 #1 0xff0ce674 in select () from /usr/lib/libc.so.1 #2 0xff04b1d4 in select () from /usr/lib/libthread.so.1 #3 0xff2f3514 in _XRead () from /usr/openwin/lib/libX11.so.4 #4 0xff2f7e58 in _XReadEvents () from /usr/openwin/lib/libX11.so.4 #5 0xff2f445c in XNextEvent () from /usr/openwin/lib/libX11.so.4 #6 0xfe5325ec in FreeAmpUI::X11EventService (this=0x8cb08) at ui/freeamp/unix/src/freeamp.cpp:545 #7 0xfe532528 in FreeAmpUI::x11ServiceFunction (p=0x8cb08) at ui/freeamp/unix/src/freeamp.cpp:509 #8 0x417d0 in solarisThread::InternalThreadFunction (this=0x0) at base/unix/solaris/src/solaristhread.cpp:78 #9 0x417a8 in solarisThread::internalThreadFunction (arg=0x87768) at base/unix/solaris/src/solaristhread.cpp:64 Thread 13 (LWP13): #0 0xff11501c in door_restart () from /usr/lib/libc.so.1 Thread 12 (LWP12): #0 0xff117a28 in ___lwp_cond_wait () from /usr/lib/libc.so.1 #1 0xff10f7c0 in _lwp_cond_timedwait () from /usr/lib/libc.so.1 #2 0xff03a730 in _age () from /usr/lib/libthread.so.1 Thread 11 (LWP11): #0 0xff117a28 in ___lwp_cond_wait () from /usr/lib/libc.so.1 #1 0xff10f7c0 in _lwp_cond_timedwait () from /usr/lib/libc.so.1 #2 0xff03a730 in _age () from /usr/lib/libthread.so.1 Thread 10 (LWP10): #0 0xff117a28 in ___lwp_cond_wait () from /usr/lib/libc.so.1 #1 0xff10f7c0 in _lwp_cond_timedwait () from /usr/lib/libc.so.1 #2 0xff03a730 in _age () from /usr/lib/libthread.so.1 Thread 9 (LWP9): #0 0xff117a28 in ___lwp_cond_wait () from /usr/lib/libc.so.1 #1 0xff10f7c0 in _lwp_cond_timedwait () from /usr/lib/libc.so.1 #2 0xff03a730 in _age () from /usr/lib/libthread.so.1 Thread 8 (LWP8): #0 0xff117a28 in ___lwp_cond_wait () from /usr/lib/libc.so.1 #1 0xff10f7c0 in _lwp_cond_timedwait () from /usr/lib/libc.so.1 #2 0xff03a730 in _age () from /usr/lib/libthread.so.1 Thread 7 (LWP7): #0 0xff117a28 in ___lwp_cond_wait () from /usr/lib/libc.so.1 #1 0xff10f7c0 in _lwp_cond_timedwait () from /usr/lib/libc.so.1 #2 0xff03a730 in _age () from /usr/lib/libthread.so.1 Thread 6 (LWP6): #0 0xff115c90 in _poll () from /usr/lib/libc.so.1 #1 0xff0ce674 in select () from /usr/lib/libc.so.1 #2 0xff04b1d4 in select () from /usr/lib/libthread.so.1 #3 0xff2f3514 in _XRead () from /usr/openwin/lib/libX11.so.4 #4 0xff2f7e58 in _XReadEvents () from /usr/openwin/lib/libX11.so.4 #5 0xff2f445c in XNextEvent () from /usr/openwin/lib/libX11.so.4 #6 0xfe5325ec in FreeAmpUI::X11EventService (this=0x8cb08) at ui/freeamp/unix/src/freeamp.cpp:545 #7 0xfe532528 in FreeAmpUI::x11ServiceFunction (p=0x8cb08) at ui/freeamp/unix/src/freeamp.cpp:509 #8 0x417d0 in solarisThread::InternalThreadFunction (this=0x0) at base/unix/solaris/src/solaristhread.cpp:78 #9 0x417a8 in solarisThread::internalThreadFunction (arg=0x87768) at base/unix/solaris/src/solaristhread.cpp:64 Thread 5 (LWP5): #0 0xff117a28 in ___lwp_cond_wait () from /usr/lib/libc.so.1 #1 0xff10f7c0 in _lwp_cond_timedwait () from /usr/lib/libc.so.1 #2 0xff03a730 in _age () from /usr/lib/libthread.so.1 Thread 4 (LWP4): #0 0xff117544 in _sigsuspend () from /usr/lib/libc.so.1 #1 0xff0499f4 in sigsuspend () from /usr/lib/libthread.so.1 #2 0xff0d6c44 in _usleep () from /usr/lib/libc.so.1 #3 0xff04b274 in usleep () from /usr/lib/libthread.so.1 #4 0x417d0 in solarisThread::InternalThreadFunction (this=0x0) at base/unix/solaris/src/solaristhread.cpp:78 #5 0x417a8 in solarisThread::internalThreadFunction (arg=0x87790) at base/unix/solaris/src/solaristhread.cpp:64 Thread 3 (LWP3): #0 0xff117a74 in _lwp_sema_wait () from /usr/lib/libc.so.1 #1 0xff03b04c in _park () from /usr/lib/libthread.so.1 #2 0xff03ad40 in _swtch () from /usr/lib/libthread.so.1 #3 0xff039a00 in cond_wait () from /usr/lib/libthread.so.1 #4 0xff039924 in pthread_cond_wait () from /usr/lib/libthread.so.1 #5 0x41b5c in Semaphore::Wait (this=0x886e8) at base/unix/solaris/src/semaphore.cpp:50 #6 0x313c8 in Player::EventServiceThreadFunc (pPlayer=0x885a0) at base/src/player.cpp:585 #7 0x417d0 in solarisThread::InternalThreadFunction (this=0x0) at base/unix/solaris/src/solaristhread.cpp:78 #8 0x417a8 in solarisThread::internalThreadFunction (arg=0x877b8) at base/unix/solaris/src/solaristhread.cpp:64 Thread 2 (LWP2): #0 0xff117444 in _signotifywait () from /usr/lib/libc.so.1 #1 0xff03f598 in _dynamiclwps () from /usr/lib/libthread.so.1 Th
extreme solaris wackiness
Well, I think I'm getting closer to finding what's causing the Solaris strangeness; for one, it appears that sometimes the LWP or Reader gets stuck, and so WasteTime() gets called an awful lot. A side effect seems to be the creation of several hundred threads. :) (gdb) info threads 640 Thread 511 0xff04b7dc in _restorefsr () from /usr/lib/libthread.so.1 639 Thread 510 0xff04b7dc in _restorefsr () from /usr/lib/libthread.so.1 and so on.
Re: more solaris errors.
try to update again... you might have checked out in the middle of one of my check ins. elrod Timothy Ball wrote: > Still building on solaris (I'm depermined to get the compile to work... > If it play's then I'm just extra lucky :)) I get the error that: > plm/portable/pmp300/pmp300.cpp:695: `kError_FeatureNotSupported' > undeclared > I've grepped areound and can't seem to find it... Anyone know what > happens if I just define it as (-1)? > > --timball
more solaris errors.
Still building on solaris (I'm depermined to get the compile to work... If it play's then I'm just extra lucky :)) I get the error that: plm/portable/pmp300/pmp300.cpp:695: `kError_FeatureNotSupported' undeclared I've grepped areound and can't seem to find it... Anyone know what happens if I just define it as (-1)? --timball
RE: Solaris build almost works...
> (note to robert: did you really mean to comment p, q, a[] and b[] from > cdct.c? it fails to compile on non x86 systems... naughty.) I had to uncomment those to get it to build w/o x86 optimizations. > Does freeamp compile/build/work without the x86 optimizations? Yes, but since there isn't a ./configure option to disable x86 optimizations, I had to hack the makefiles and config.h to get there. I suggest that you add a --disable-all-x86-optimizations or something like that; then it's easier to test it without x86 optimizations. :) > what does `nm icdct.o | grep coef32` say? It ought to have the coef32 > and wincoef symbols there. It's there: " b coef32", according to nm. I haven't the faintest idea why ld was barfing on the nasm and gas stuff. It works fine now without the optimizations, which is okay by me since I am using freeamp to decode from MP3 to PCM data files, not real-time playing. > What exactly is the generated 'XINGLMCOBJC +=' line for you, before you > have to edit it? Sounds like configure may not be doing the right things. > (and for what it's worth, cc/gcc SHOULD know what to do with a .s file, > and there's already a .asm rule, although that requires perl [although > it should probably use sed. :)]. feh.) The XINGLMCOBJC += file is coming out as "lmc/xingmp3/src/{cdct,cwin,cwin8,mdct,msis}asm.o". I noticed that configure.in is trying to use the shell to expand that by default, but for some reason it isn't working. cc/gcc do know what to do with a .s file; they send it through gcc with the -S (?) assemble option. The problem is that gcc doesn't seem to be able to assemble the asm files by itself. This is why I had to put in the implicit rule. My solaris-x86-2.5.1 machine has no Sparcworks stuff, just gcc and binutils downloaded from sunfreeware.com. --pat