You can subscribe to this list here.
2003 |
Jan
|
Feb
(3) |
Mar
(16) |
Apr
(11) |
May
(3) |
Jun
(109) |
Jul
(70) |
Aug
(22) |
Sep
(19) |
Oct
(4) |
Nov
(25) |
Dec
(46) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(68) |
Feb
(52) |
Mar
(54) |
Apr
(57) |
May
(13) |
Jun
(15) |
Jul
(16) |
Aug
(3) |
Sep
(43) |
Oct
(95) |
Nov
(106) |
Dec
(142) |
2005 |
Jan
(62) |
Feb
(190) |
Mar
(75) |
Apr
(117) |
May
(123) |
Jun
(64) |
Jul
(122) |
Aug
(95) |
Sep
(63) |
Oct
(102) |
Nov
(99) |
Dec
(85) |
2006 |
Jan
(59) |
Feb
(64) |
Mar
(138) |
Apr
(82) |
May
(62) |
Jun
(62) |
Jul
(72) |
Aug
(50) |
Sep
(21) |
Oct
(95) |
Nov
(95) |
Dec
(29) |
2007 |
Jan
(26) |
Feb
(36) |
Mar
(45) |
Apr
(12) |
May
(53) |
Jun
(38) |
Jul
(19) |
Aug
(87) |
Sep
(63) |
Oct
(272) |
Nov
(102) |
Dec
(63) |
2008 |
Jan
(54) |
Feb
(19) |
Mar
(84) |
Apr
(111) |
May
(17) |
Jun
(26) |
Jul
(18) |
Aug
(10) |
Sep
(14) |
Oct
(9) |
Nov
(4) |
Dec
(12) |
2009 |
Jan
(5) |
Feb
(7) |
Mar
(4) |
Apr
(8) |
May
(4) |
Jun
(7) |
Jul
|
Aug
(1) |
Sep
(2) |
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
(6) |
Mar
(6) |
Apr
(1) |
May
(1) |
Jun
(2) |
Jul
(3) |
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
|
2012 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
From: Steve K. <st...@st...> - 2004-04-18 14:15:32
|
On Apr 16, 2004, at 9:37 PM, Adam Hart wrote: > Sorry :| That's pretty bad and I've never heard of it before (I guess > it's a hardware issue) 90% of games run on QueryPerformanceCounter() > so I guess it can't be too common. I'll fix up firefly, thanks for the > information. I guess they must compensate in some way for the jumps; You could use QueryPerformanceCounter along with GetTickCount, and when they don't match, reset your "baseline" to what GetTickCount returns. Then you'd still sometimes be off by up to 10ms. All I know is that I have two or three machines which seem to suffer from this. I only actually saw it happening on one, but three suffer from the same symptoms, and the fix fixed all three. -SteveK > > Anything else I can 'help' you with :) > > -Adam > > Steve Kann wrote: > >> >> Hey Adam, >> >> We took you advice here [thanks!], and used something based on >> your code below, which was nice _most_ of the time. >> >> However, in my office, I have 3 different machines [out of only >> about a dozen or so we've been using this code on regularly], where >> this fails spectacularly. >> >> The problem is described here, and it is not theoretical. It >> causes real problems for timing! >> >> http://support.microsoft.com/?id=274323 >> >> So, I've disabled this in iaxclient for now. My suggestion to >> you for firefly is to just use GetTickCount, and deal with it's 10ms >> accuracy. The 10ms for us isn't a problem, but the 5 second jumps I >> saw really are! >> >> >> -SteveK >> >> >> Adam Hart wrote: >> >>> Why don't you guys just use my code from firefly, it's has nanosecond >>> accuracy. Beats the hell out of 10ms accuaracy >>> >>> static __int64 freq,start; >>> static int inited = 0; >>> >>> //static time_t startuptime; >>> >>> BOOL APIENTRY DllMain( HANDLE hModule, >>> DWORD ul_reason_for_call, >>> LPVOID lpReserved >>> ) >>> { >>> if(!inited) >>> { >>> >>> inited = 1; >>> QueryPerformanceFrequency((LARGE_INTEGER*)&freq); >>> QueryPerformanceCounter((LARGE_INTEGER*)&start); >>> } >>> return TRUE; >>> } >>> >>> void gettimeofday(struct timeval *tv, struct timezone *tz) >>> { >>> __int64 time; >>> double elapsed; >>> >>> QueryPerformanceCounter((LARGE_INTEGER*)&time); >>> >>> elapsed = (double)(time - start) / (double)freq; >>> >>> tv->tv_sec = (long)elapsed; >>> tv->tv_usec = (long)((elapsed-tv->tv_sec) * 1000000); >>> } >>> >>> enjoy, >>> Adam >>> >>> ----- Original Message ----- From: "Steven Sokol" >>> <ss...@so...> >>> To: <iax...@li...> >>> Sent: Thursday, February 05, 2004 11:34 AM >>> Subject: RE: [Iaxclient-devel] Some data related to the new bug... >>> >>> >>> >>>> Yes. Guilty as charged. It always happens UNDER WINDOWS. >>>> >>>> I believe that the gettimeofday() is being replaced by a function >>>> based on >>>> GetTickCount(). I wonder if that doesn't have something to do with >>>> it. >>>> >>>> Steve S >>>> >>>> -----Original Message----- >>>> From: iax...@li... >>>> [mailto:iax...@li...] On Behalf Of >>>> Steve >>>> Underwood >>>> Sent: Wednesday, February 04, 2004 5:48 PM >>>> To: iax...@li... >>>> Subject: Re: [Iaxclient-devel] Some data related to the new bug... >>>> >>>> Steven Sokol wrote: >>>> >>>> >>>>> More notes: >>>>> >>>>> 1. It ALWAYS happens. It is not an intermittent issue. This >>>>> happens >>>>> >>> for >>> >>>>> EVERY IAX2-to-IAX2 call made using iaxClient. >>>>> >>>>> >>>>> >>>> Not EVERY call. I make hour long calls using iaxclient IAX2-to-IAX2 >>>> and >>>> have no trouble. I use Linux. Is that the difference? >>>> >>>> >>>>> 2. The timing is uncanny. It ALWAYS happens after 65-67 seconds. >>>>> >>>>> 3. The audio dies but the call in not immediately torn down. The >>>>> call >>>>> eventually is eventually killed when the PING/PONG cycle times out >>>>> some >>>>> seconds later (perhaps over a minute in some of my tests). >>>>> >>>>> 4. In EVERY case, the Asterisk kicks out the aforementioned voice >>>>> frame >>>>> retransmit message. >>>>> >>>>> >>>>> >>>> As Adam said, there is something wrong if a voice frame is being >>>> retransmitted at that point in the call. Perhaps checking places >>>> where >>>> the frame is tagged for retransmission would home in on the problem. >>>> >>>> >>>>> 5. I don't see registration messages coming through at the same >>>>> time. I >>>>> was originally guessing that this happened during the re-reg >>>>> process. >>>>> >>> Not >>> >>>>> so (or at least that doesn't seem to be the case -- could be that >>>>> the >>>>> >>>> re-reg >>>> >>>>> that takes place prior to the error causes a problem). >>>>> >>>>> >>>>> >>>> Regards, >>>> Steve >>>> >>>> >>>> >>>> >> > |
From: Adam H. <ad...@te...> - 2004-04-17 01:40:28
|
Sorry :| That's pretty bad and I've never heard of it before (I guess it's a hardware issue) 90% of games run on QueryPerformanceCounter() so I guess it can't be too common. I'll fix up firefly, thanks for the information. Anything else I can 'help' you with :) -Adam Steve Kann wrote: > > Hey Adam, > > We took you advice here [thanks!], and used something based on > your code below, which was nice _most_ of the time. > > However, in my office, I have 3 different machines [out of only > about a dozen or so we've been using this code on regularly], where > this fails spectacularly. > > The problem is described here, and it is not theoretical. It > causes real problems for timing! > > http://support.microsoft.com/?id=274323 > > So, I've disabled this in iaxclient for now. My suggestion to you > for firefly is to just use GetTickCount, and deal with it's 10ms > accuracy. The 10ms for us isn't a problem, but the 5 second jumps I > saw really are! > > > -SteveK > > > Adam Hart wrote: > >>Why don't you guys just use my code from firefly, it's has nanosecond >>accuracy. Beats the hell out of 10ms accuaracy >> >>static __int64 freq,start; >>static int inited = 0; >> >>//static time_t startuptime; >> >>BOOL APIENTRY DllMain( HANDLE hModule, >> DWORD ul_reason_for_call, >> LPVOID lpReserved >> ) >>{ >> if(!inited) >> { >> >> inited = 1; >> QueryPerformanceFrequency((LARGE_INTEGER*)&freq); >> QueryPerformanceCounter((LARGE_INTEGER*)&start); >> } >> return TRUE; >>} >> >>void gettimeofday(struct timeval *tv, struct timezone *tz) >>{ >> __int64 time; >> double elapsed; >> >> QueryPerformanceCounter((LARGE_INTEGER*)&time); >> >> elapsed = (double)(time - start) / (double)freq; >> >> tv->tv_sec = (long)elapsed; >> tv->tv_usec = (long)((elapsed-tv->tv_sec) * 1000000); >>} >> >>enjoy, >> Adam >> >>----- Original Message ----- >>From: "Steven Sokol" <ss...@so...> >>To: <iax...@li...> >>Sent: Thursday, February 05, 2004 11:34 AM >>Subject: RE: [Iaxclient-devel] Some data related to the new bug... >> >> >> >> >>>Yes. Guilty as charged. It always happens UNDER WINDOWS. >>> >>>I believe that the gettimeofday() is being replaced by a function based on >>>GetTickCount(). I wonder if that doesn't have something to do with it. >>> >>>Steve S >>> >>>-----Original Message----- >>>From: iax...@li... >>>[mailto:iax...@li...] On Behalf Of Steve >>>Underwood >>>Sent: Wednesday, February 04, 2004 5:48 PM >>>To: iax...@li... >>>Subject: Re: [Iaxclient-devel] Some data related to the new bug... >>> >>>Steven Sokol wrote: >>> >>> >>> >>>>More notes: >>>> >>>>1. It ALWAYS happens. It is not an intermittent issue. This happens >>>> >>>> >>for >> >> >>>>EVERY IAX2-to-IAX2 call made using iaxClient. >>>> >>>> >>>> >>>> >>>Not EVERY call. I make hour long calls using iaxclient IAX2-to-IAX2 and >>>have no trouble. I use Linux. Is that the difference? >>> >>> >>> >>>>2. The timing is uncanny. It ALWAYS happens after 65-67 seconds. >>>> >>>>3. The audio dies but the call in not immediately torn down. The call >>>>eventually is eventually killed when the PING/PONG cycle times out some >>>>seconds later (perhaps over a minute in some of my tests). >>>> >>>>4. In EVERY case, the Asterisk kicks out the aforementioned voice frame >>>>retransmit message. >>>> >>>> >>>> >>>> >>>As Adam said, there is something wrong if a voice frame is being >>>retransmitted at that point in the call. Perhaps checking places where >>>the frame is tagged for retransmission would home in on the problem. >>> >>> >>> >>>>5. I don't see registration messages coming through at the same time. I >>>>was originally guessing that this happened during the re-reg process. >>>> >>>> >>Not >> >> >>>>so (or at least that doesn't seem to be the case -- could be that the >>>> >>>> >>>re-reg >>> >>> >>>>that takes place prior to the error causes a problem). >>>> >>>> >>>> >>>> >>>Regards, >>>Steve >>> >>> >>> >>> >>> > |
From: John <st...@un...> - 2004-04-16 23:04:34
|
On Fri, Apr 16, 2004 at 06:51:37PM -0400, Steve Kann wrote: > John wrote: > > >On Fri, Apr 16, 2004 at 12:23:04PM -0400, Steve Kann wrote: > > > > > >>John wrote: > >> > >>The code in question here is simply: > >>static struct iax_event *iax_net_read(void) > >>{ > >> char buf[65536]; > >> int res; > >> struct sockaddr_in sin; > >> int sinlen; > >> sinlen = sizeof(sin); > >> res = recvfrom(netfd, buf, sizeof(buf), 0, (struct sockaddr *) > >>&sin, &sinlen); > >> > >> > >>I have no idea why you would segfault when calling sizeof an automatic > >>variable. That should probably be a constant assignment by the compiler.. > >> > >>Maybe the segfault is actually somewhere else, and you can find it if > >>you compile without optimization.. > >> > >>-SteveK > >> > >> > > > >here is a copy of the build. > > > >http://mail.unixjunkie.com/iaxcomm.build.txt > > > > > > > Did you add the -W flags to your CFLAGS? Those aren't in there by default.. > > Anyway, there's lots of warnings, but they seem to be due to the DEBU(G > macro invention that Kram uses.. > > Try just compiling but not assembling the output, and then look at the > assembly.. > > Just replace -c with -S in the compile line, and call the output .s -- > > cc -Igsm/inc -Iportaudio/pa_common -Iportaudio/pablio -Iportmixer/px_common > -g -Wall -Wpointer-arith -Ilibiax2/src -DIAXC_IAX2 -DLIBIAX > -DSPEEX_PREPROCESS=1 -DSPEEX_EC=1 -DLINUX -S -o libiax2/src/iax.s > libiax2/src/iax.c > > > Then look for iax_net_read in there.. > > > Well i didn't know how much of that you wanted to see.. http://mail.unixjunkie.com/iax.s.gz |
From: Steve K. <st...@st...> - 2004-04-16 22:51:40
|
John wrote: >On Fri, Apr 16, 2004 at 12:23:04PM -0400, Steve Kann wrote: > > >>John wrote: >> >>The code in question here is simply: >>static struct iax_event *iax_net_read(void) >>{ >> char buf[65536]; >> int res; >> struct sockaddr_in sin; >> int sinlen; >> sinlen = sizeof(sin); >> res = recvfrom(netfd, buf, sizeof(buf), 0, (struct sockaddr *) >>&sin, &sinlen); >> >> >>I have no idea why you would segfault when calling sizeof an automatic >>variable. That should probably be a constant assignment by the compiler.. >> >>Maybe the segfault is actually somewhere else, and you can find it if >>you compile without optimization.. >> >>-SteveK >> >> > >here is a copy of the build. > >http://mail.unixjunkie.com/iaxcomm.build.txt > > > Did you add the -W flags to your CFLAGS? Those aren't in there by default.. Anyway, there's lots of warnings, but they seem to be due to the DEBU(G macro invention that Kram uses.. Try just compiling but not assembling the output, and then look at the assembly.. Just replace -c with -S in the compile line, and call the output .s -- cc -Igsm/inc -Iportaudio/pa_common -Iportaudio/pablio -Iportmixer/px_common -g -Wall -Wpointer-arith -Ilibiax2/src -DIAXC_IAX2 -DLIBIAX -DSPEEX_PREPROCESS=1 -DSPEEX_EC=1 -DLINUX -S -o libiax2/src/iax.s libiax2/src/iax.c Then look for iax_net_read in there.. |
From: John <st...@un...> - 2004-04-16 22:43:58
|
oh btw i change the lib/Makefile to increase error output. This is what i had for the build CFLAGS:= $(CFLAGS) -g -Wall -Wpointer-arith #CFLAGS:= $(CFLAGS) -g it was.. #CFLAGS:= $(CFLAGS) -g -Wall -Wpointer-arith CFLAGS:= $(CFLAGS) -g |
From: John <st...@un...> - 2004-04-16 22:41:04
|
On Fri, Apr 16, 2004 at 12:23:04PM -0400, Steve Kann wrote: > John wrote: > > The code in question here is simply: > static struct iax_event *iax_net_read(void) > { > char buf[65536]; > int res; > struct sockaddr_in sin; > int sinlen; > sinlen = sizeof(sin); > res = recvfrom(netfd, buf, sizeof(buf), 0, (struct sockaddr *) > &sin, &sinlen); > > > I have no idea why you would segfault when calling sizeof an automatic > variable. That should probably be a constant assignment by the compiler.. > > Maybe the segfault is actually somewhere else, and you can find it if > you compile without optimization.. > > -SteveK here is a copy of the build. http://mail.unixjunkie.com/iaxcomm.build.txt |
From: Steve K. <st...@st...> - 2004-04-16 18:40:26
|
Hey Adam, We took you advice here [thanks!], and used something based on your code below, which was nice _most_ of the time. However, in my office, I have 3 different machines [out of only about a dozen or so we've been using this code on regularly], where this fails spectacularly. The problem is described here, and it is not theoretical. It causes real problems for timing! http://support.microsoft.com/?id=274323 So, I've disabled this in iaxclient for now. My suggestion to you for firefly is to just use GetTickCount, and deal with it's 10ms accuracy. The 10ms for us isn't a problem, but the 5 second jumps I saw really are! -SteveK Adam Hart wrote: >Why don't you guys just use my code from firefly, it's has nanosecond >accuracy. Beats the hell out of 10ms accuaracy > >static __int64 freq,start; >static int inited = 0; > >//static time_t startuptime; > >BOOL APIENTRY DllMain( HANDLE hModule, > DWORD ul_reason_for_call, > LPVOID lpReserved > ) >{ > if(!inited) > { > > inited = 1; > QueryPerformanceFrequency((LARGE_INTEGER*)&freq); > QueryPerformanceCounter((LARGE_INTEGER*)&start); > } > return TRUE; >} > >void gettimeofday(struct timeval *tv, struct timezone *tz) >{ > __int64 time; > double elapsed; > > QueryPerformanceCounter((LARGE_INTEGER*)&time); > > elapsed = (double)(time - start) / (double)freq; > > tv->tv_sec = (long)elapsed; > tv->tv_usec = (long)((elapsed-tv->tv_sec) * 1000000); >} > >enjoy, > Adam > >----- Original Message ----- >From: "Steven Sokol" <ss...@so...> >To: <iax...@li...> >Sent: Thursday, February 05, 2004 11:34 AM >Subject: RE: [Iaxclient-devel] Some data related to the new bug... > > > > >>Yes. Guilty as charged. It always happens UNDER WINDOWS. >> >>I believe that the gettimeofday() is being replaced by a function based on >>GetTickCount(). I wonder if that doesn't have something to do with it. >> >>Steve S >> >>-----Original Message----- >>From: iax...@li... >>[mailto:iax...@li...] On Behalf Of Steve >>Underwood >>Sent: Wednesday, February 04, 2004 5:48 PM >>To: iax...@li... >>Subject: Re: [Iaxclient-devel] Some data related to the new bug... >> >>Steven Sokol wrote: >> >> >> >>>More notes: >>> >>>1. It ALWAYS happens. It is not an intermittent issue. This happens >>> >>> >for > > >>>EVERY IAX2-to-IAX2 call made using iaxClient. >>> >>> >>> >>> >>Not EVERY call. I make hour long calls using iaxclient IAX2-to-IAX2 and >>have no trouble. I use Linux. Is that the difference? >> >> >> >>>2. The timing is uncanny. It ALWAYS happens after 65-67 seconds. >>> >>>3. The audio dies but the call in not immediately torn down. The call >>>eventually is eventually killed when the PING/PONG cycle times out some >>>seconds later (perhaps over a minute in some of my tests). >>> >>>4. In EVERY case, the Asterisk kicks out the aforementioned voice frame >>>retransmit message. >>> >>> >>> >>> >>As Adam said, there is something wrong if a voice frame is being >>retransmitted at that point in the call. Perhaps checking places where >>the frame is tagged for retransmission would home in on the problem. >> >> >> >>>5. I don't see registration messages coming through at the same time. I >>>was originally guessing that this happened during the re-reg process. >>> >>> >Not > > >>>so (or at least that doesn't seem to be the case -- could be that the >>> >>> >>re-reg >> >> >>>that takes place prior to the error causes a problem). >>> >>> >>> >>> >>Regards, >>Steve >> >> >> >> >>------------------------------------------------------- >>The SF.Net email is sponsored by EclipseCon 2004 >>Premiere Conference on Open Tools Development and Integration >>See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. >>http://www.eclipsecon.org/osdn >>_______________________________________________ >>Iaxclient-devel mailing list >>Iax...@li... >>https://lists.sourceforge.net/lists/listinfo/iaxclient-devel >> >> >> >> >>------------------------------------------------------- >>The SF.Net email is sponsored by EclipseCon 2004 >>Premiere Conference on Open Tools Development and Integration >>See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. >>http://www.eclipsecon.org/osdn >>_______________________________________________ >>Iaxclient-devel mailing list >>Iax...@li... >>https://lists.sourceforge.net/lists/listinfo/iaxclient-devel >> >> > > > >------------------------------------------------------- >The SF.Net email is sponsored by EclipseCon 2004 >Premiere Conference on Open Tools Development and Integration >See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. >http://www.eclipsecon.org/osdn >_______________________________________________ >Iaxclient-devel mailing list >Iax...@li... >https://lists.sourceforge.net/lists/listinfo/iaxclient-devel > > > |
From: Steve K. <st...@st...> - 2004-04-16 16:34:32
|
Michael Van Donselaar wrote: >On Fri, 16 Apr 2004 16:35:08 +0200, daniel huhardeaux <de...@to...> wrote: > > > >>Michael Van Donselaar a écrit : >> >> >> >>>Good morning, Daniel >>> >>>On Fri, 16 Apr 2004 14:35:01 +0200, daniel huhardeaux <de...@to...> wrote: >>> >>> >>> >>> >>> >>>>hi list, >>>> >>>>I try to play around iaxcomm PRE CVS 28/02/2004 and face some problems. >>>> >>>>1) in options->account seems that lable of zone are not correct (host >>>>means username area, username means password, password and confirm >>>>password are host) >>>> >>>> >>>> >>>> >>>Do you mean that the Options/Accounts dialog box (with window title "Manage >>>Accounts") reflects different information than what you entered in the Add >>>Account window? >>> >>>I cant duplicate this. I just downloaded it and cleared out my reg info on a >>>fairly standard RH9 box. >>> >>> >>> >>> >>Yes. I'm running iaxcomm in terminal and see what is send. If I put it >>as I said, I will see following >> >>Scheduling retransmission 1 >>refreshing registration username:password@hostname >> >> > >Aaahh. I never noticed that. It looks like it's saying > > refreshing registration username:password@hostname > >but according to the the iaxclient_lib.c code, it is *really* printing > > refreshing registration hostname:username@password > >So, everything is OK. (You might want to double check at the asterisk console by >doing an "iax2 debug") > >Steve Kann: maybe we should change the debug info > > refreshing registration username:password@hostname > > Done. |
From: John <st...@un...> - 2004-04-16 15:49:23
|
Oh, i just noticed this. This happens on the console of a xterm when i launch iaxcomm. Gtk-CRITICAL **: file gtkwindow.c: line 401 (gtk_window_set_title): assertion `window != NULL' failed. Gtk-CRITICAL **: file gtkmain.c: line 872 (gtk_grab_add): assertion `widget != NULL' failed. at the same time i get a new window saying. "xrc resource 'AddAccount' (class wxDialog) Not Found!" with the option to save the error to a log file which i've already posted. once i hit ok the error goes away and then i'm suck with a proc not doing anything. 4777 strgout 2 0 13776K 9044K poll 0:00 0.00% 0.00% iaxcomm no mem or cpu spike. |
From: daniel h. <de...@to...> - 2004-04-16 15:44:33
|
Michael Van Donselaar a =E9crit : > [...] > >Aaahh. I never noticed that. It looks like it's saying > > refreshing registration username:password@hostname > >but according to the the iaxclient_lib.c code, it is *really* printing > > refreshing registration hostname:username@password > >So, everything is OK. (You might want to double check at the asterisk co= nsole by >doing an "iax2 debug") > >Steve Kann: maybe we should change the debug info=20 > > refreshing registration username:password@hostname > =20 > Ok. So what you tell me that account configuration is ok, it's only the=20 display. Ok. IAX2 show me effectively my good username putting=20 everything in order ;-) Thanks. > =20 > >>... >> >>which mean from account box information, Host:Username@Password area! >> >> =20 >> >>>=20 >>> >>> =20 >>> >>>>2) I'm running RH90 with alsa (alsa oss included) and in=20 >>>>options->devices I have /dev/dsp as input *and* output device at all=20 >>>>positions, and I'm unable to change them! >>>> =20 >>>> >>>> =20 >>>> >>>Can someone with multiple sound cards check on this? I only have one = linux box >>>with a sound card in it, and it only has one sound card. >>>=20 >>> >>> =20 >>> >>Misunderstanding: I don't have 2 sound cards, just one. Saying alsa oss= =20 >>included mean that oss-alsa modules are installed. So, as iaxcomm is no= t=20 >>able to work with alsa drivers, I should find for input an microphone=20 >>entry. I know that my installation is ok as I use GnomeMeeting (H323)=20 >>all days, in alsa or alsa-oss emulation. >> =20 >> If I have input=3D/dev/dsp and output=3D/dev/dsp in my preferences, is th= is=20 setup ok? I have doubt about this, I was thinking I should have=20 different entry for input and output Other, is there a po for translation? or is english hard coded? Where=20 should I look for this matter? Thanks for your help. --=20 Daniel |
From: Michael V. D. <mv...@va...> - 2004-04-16 15:02:54
|
On Fri, 16 Apr 2004 16:35:08 +0200, daniel huhardeaux <de...@to...> = wrote: >Michael Van Donselaar a =E9crit : > >>Good morning, Daniel >> >>On Fri, 16 Apr 2004 14:35:01 +0200, daniel huhardeaux = <de...@to...> wrote: >> >> =20 >> >>>hi list, >>> >>>I try to play around iaxcomm PRE CVS 28/02/2004 and face some = problems. >>> >>>1) in options->account seems that lable of zone are not correct (host=20 >>>means username area, username means password, password and confirm=20 >>>password are host) >>> =20 >>> >> >>Do you mean that the Options/Accounts dialog box (with window title = "Manage >>Accounts") reflects different information than what you entered in the = Add >>Account window? >> >>I cant duplicate this. I just downloaded it and cleared out my reg = info on a >>fairly standard RH9 box. >> =20 >> >Yes. I'm running iaxcomm in terminal and see what is send. If I put it=20 >as I said, I will see following > >Scheduling retransmission 1 >refreshing registration username:password@hostname Aaahh. I never noticed that. It looks like it's saying refreshing registration username:password@hostname but according to the the iaxclient_lib.c code, it is *really* printing refreshing registration hostname:username@password So, everything is OK. (You might want to double check at the asterisk = console by doing an "iax2 debug") Steve Kann: maybe we should change the debug info=20 refreshing registration username:password@hostname >... > >which mean from account box information, Host:Username@Password area! > >> =20 >> >>>2) I'm running RH90 with alsa (alsa oss included) and in=20 >>>options->devices I have /dev/dsp as input *and* output device at all=20 >>>positions, and I'm unable to change them! >>> =20 >>> >> >>Can someone with multiple sound cards check on this? I only have one = linux box >>with a sound card in it, and it only has one sound card. >> =20 >> >Misunderstanding: I don't have 2 sound cards, just one. Saying alsa oss=20 >included mean that oss-alsa modules are installed. So, as iaxcomm is not= =20 >able to work with alsa drivers, I should find for input an microphone=20 >entry. I know that my installation is ok as I use GnomeMeeting (H323)=20 >all days, in alsa or alsa-oss emulation. > OK >> =20 >> >>>3) in address book, choosing a ring tone for an entry and asking = preview=20 >>>give a segfault. In general references it's ok >>> =20 >>> >> >>Can anyone else duplicate this? I only have one linux box upon which = to test >>this, but it works fine. >> =20 >> >>>Thanks for comments >>> =20 >>> >> >>I'm sorry I couldn't give you better info at this point. Maybe someone= else has >>sokme ideas. >> =20 >> >No problem. I know it's not easy ;-) BTW, are there some .deb packages=20 >(SID)? I don't have a debian machine to build them. I'd be happy to put any = user contributed packages on the iaxcomm web page. (I'd even put up any precompiled *BSD packages, bigotry notwithstanding) |
From: Steve K. <st...@st...> - 2004-04-16 14:41:06
|
daniel huhardeaux wrote: > Michael Van Donselaar a écrit : > >> Good morning, Daniel >> >> On Fri, 16 Apr 2004 14:35:01 +0200, daniel huhardeaux >> <de...@to...> wrote: >> >>> 2) I'm running RH90 with alsa (alsa oss included) and in >>> options->devices I have /dev/dsp as input *and* output device at all >>> positions, and I'm unable to change them! >>> >> >> >> Can someone with multiple sound cards check on this? I only have one >> linux box >> with a sound card in it, and it only has one sound card. >> >> > Misunderstanding: I don't have 2 sound cards, just one. Saying alsa > oss included mean that oss-alsa modules are installed. So, as iaxcomm > is not able to work with alsa drivers, I should find for input an > microphone entry. I know that my installation is ok as I use > GnomeMeeting (H323) all days, in alsa or alsa-oss emulation. The "device" selection just lets you choose the audio device (a.k.a. chipset or soundcard) to use for audio; if you had more than one device (i.e. two or more soundcards, USB audio devices, etc), you could choose amongst them. Selecting an actual input source from the device's mixer isn't presently part of iaxclient; for Alsa, I use gnome-alsamixer.. -SteveK > No problem. I know it's not easy ;-) BTW, are there some .deb packages > (SID)? No, but it works OK under Debian (that's what I'm using these days; but I wish there was a wxrc package for debian. you get so spoiled by debian..). -SteveK |
From: daniel h. <de...@to...> - 2004-04-16 14:34:29
|
Michael Van Donselaar a =E9crit : >Good morning, Daniel > >On Fri, 16 Apr 2004 14:35:01 +0200, daniel huhardeaux <de...@to...>= wrote: > > =20 > >>hi list, >> >>I try to play around iaxcomm PRE CVS 28/02/2004 and face some problems. >> >>1) in options->account seems that lable of zone are not correct (host=20 >>means username area, username means password, password and confirm=20 >>password are host) >> =20 >> > >Do you mean that the Options/Accounts dialog box (with window title "Man= age >Accounts") reflects different information than what you entered in the A= dd >Account window? > >I cant duplicate this. I just downloaded it and cleared out my reg info= on a >fairly standard RH9 box. > =20 > Yes. I'm running iaxcomm in terminal and see what is send. If I put it=20 as I said, I will see following Scheduling retransmission 1 refreshing registration username:password@hostname ... which mean from account box information, Host:Username@Password area! > =20 > >>2) I'm running RH90 with alsa (alsa oss included) and in=20 >>options->devices I have /dev/dsp as input *and* output device at all=20 >>positions, and I'm unable to change them! >> =20 >> > >Can someone with multiple sound cards check on this? I only have one li= nux box >with a sound card in it, and it only has one sound card. > =20 > Misunderstanding: I don't have 2 sound cards, just one. Saying alsa oss=20 included mean that oss-alsa modules are installed. So, as iaxcomm is not=20 able to work with alsa drivers, I should find for input an microphone=20 entry. I know that my installation is ok as I use GnomeMeeting (H323)=20 all days, in alsa or alsa-oss emulation. > =20 > >>3) in address book, choosing a ring tone for an entry and asking previe= w=20 >>give a segfault. In general references it's ok >> =20 >> > >Can anyone else duplicate this? I only have one linux box upon which to= test >this, but it works fine. > =20 > >>Thanks for comments >> =20 >> > >I'm sorry I couldn't give you better info at this point. Maybe someone = else has >sokme ideas. > =20 > No problem. I know it's not easy ;-) BTW, are there some .deb packages=20 (SID)? --=20 daniel |
From: Michael V. D. <mv...@va...> - 2004-04-16 13:54:17
|
Good morning, Daniel On Fri, 16 Apr 2004 14:35:01 +0200, daniel huhardeaux <de...@to...> = wrote: >hi list, > >I try to play around iaxcomm PRE CVS 28/02/2004 and face some problems. > >1) in options->account seems that lable of zone are not correct (host=20 >means username area, username means password, password and confirm=20 >password are host) Do you mean that the Options/Accounts dialog box (with window title = "Manage Accounts") reflects different information than what you entered in the = Add Account window? I cant duplicate this. I just downloaded it and cleared out my reg info = on a fairly standard RH9 box. >2) I'm running RH90 with alsa (alsa oss included) and in=20 >options->devices I have /dev/dsp as input *and* output device at all=20 >positions, and I'm unable to change them! Can someone with multiple sound cards check on this? I only have one = linux box with a sound card in it, and it only has one sound card. >3) in address book, choosing a ring tone for an entry and asking preview= =20 >give a segfault. In general references it's ok Can anyone else duplicate this? I only have one linux box upon which to = test this, but it works fine. > >Thanks for comments I'm sorry I couldn't give you better info at this point. Maybe someone = else has sokme ideas. |
From: daniel h. <de...@to...> - 2004-04-16 12:34:22
|
hi list, I try to play around iaxcomm PRE CVS 28/02/2004 and face some problems. 1) in options->account seems that lable of zone are not correct (host means username area, username means password, password and confirm password are host) 2) I'm running RH90 with alsa (alsa oss included) and in options->devices I have /dev/dsp as input *and* output device at all positions, and I'm unable to change them! 3) in address book, choosing a ring tone for an entry and asking preview give a segfault. In general references it's ok Thanks for comments -- daniel |
From: John <st...@un...> - 2004-04-15 15:21:34
|
> >Oooh, i see how it is.. put suse (linux) in the subject and everything is > >coo. > >Sure we'll help, no problem! But change the subject to FreeBSD and all > >the OS bigots come out of the woodwork! > > > >... oh wait that's me (OS bigot) ... never mind :) > > > > > I think that we (a) don't quite understand what you're asking, and (b) > don't have FreeBSD machines around to test things out. A) That wouldn't be the first time someone has said that to me :). Well i have access to many freebsd boxes, and if need be i could even give access to someone who wanted to test something on FreeBSD. Keep in mind i'm completely willing to do all the testing under FreeBSD. B) Well after getting things to compile cleanly i get the following error. 19:38:03: Deleted stale lock file '/home/strgout/iaxcomm.lock'. 19:38:03: XRC resource 'AddAccount' (class 'wxDialog') not found! I sent this a few emails ago to the list. >$ uname -a >FreeBSD unicron.unixjunkie.com 4.9-RELEASE-p3 FreeBSD 4.9-RELEASE-p3 #4: Thu Apr 8 17:21:40 CDT 2004 st...@un...:/usr/obj/usr/src/sys/NVIDIA +i386 > >$/usr/bin/wxrc >Usage: wxrc [-h] [-v] [-c] [-p] [-g] [-n <str>] [-o <str>] input file(s)... > -h, --help show help message > -v, --verbose be verbose > -c, --cpp-code output C++ source rather than .rsc file > -p, --python-code output wxPython source rather than .rsc file > -g, --gettext output list of translatable strings (to stdout or file if -o used) > -n, --function=<str> C++/Python function name (with -c or -p) [InitXmlResource] > -o, --output=<str> output file [resource.xrs/cpp] > >$ ldd /usr/bin/wxrc >/usr/bin/wxrc: > libwx_gtk_xrc-2.4.so => /usr/X11R6/lib/libwx_gtk_xrc-2.4.so (0x28070000) > libwx_gtk-2.4.so => /usr/X11R6/lib/libwx_gtk-2.4.so (0x280ed000) > libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x285e1000) > libgtk12.so.2 => /usr/X11R6/lib/libgtk12.so.2 (0x286cf000) > libgdk12.so.2 => /usr/X11R6/lib/libgdk12.so.2 (0x287f7000) > libgmodule12.so.3 => /usr/local/lib/libgmodule12.so.3 (0x2882b000) > libgthread12.so.3 => /usr/local/lib/libgthread12.so.3 (0x2882e000) > libglib12.so.3 => /usr/local/lib/libglib12.so.3 (0x28831000) > libintl.so.6 => /usr/local/lib/libintl.so.6 (0x28853000) > libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x2885c000) > libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x28864000) > libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x28872000) > libpng.so.5 => /usr/local/lib/libpng.so.5 (0x2892e000) > libjpeg.so.9 => /usr/local/lib/libjpeg.so.9 (0x28951000) > libtiff.so.4 => /usr/local/lib/libtiff.so.4 (0x2896f000) > libz.so.2 => /usr/lib/libz.so.2 (0x289b8000) > libm.so.2 => /usr/lib/libm.so.2 (0x289c5000) > libstdc++.so.3 => /usr/lib/libstdc++.so.3 (0x289e0000) > libc_r.so.4 => /usr/lib/libc_r.so.4 (0x28a25000) > libXThrStub.so.6 => /usr/X11R6/lib/libXThrStub.so.6 (0x28adb000) > > >shouldn't that mean i have xrc support? just a little more info.. wxrc -vc rc/*xrc -o xrc_res.cc processing rc/devices.xrc... processing rc/directory.xrc... processing rc/frame.xrc... processing rc/menubar.xrc... processing rc/panel.xrc... adding rc/logo.xpm... processing rc/prefs.xrc... creating C++ source file /home/strgout/iaxclient/simpleclient/iaxcomm/xrc_res.cc... Just to proove i had xrc compiled on the system. > > >Sooo... anyone have any simple code i could compile to test xrc support? > > > > > wxWidgets comes with samples. I believe there are xrc samples in with > the xrc stuff. > > -SteveK > > ok i compiled xrcdemo and it seems to work just fine. wxGTK-2.4.2/contrib/samples/xrc <- from this dir. |
From: Steve K. <st...@st...> - 2004-04-15 13:22:32
|
John wrote: >On Tue, Apr 13, 2004 at 03:58:24PM -0500, John wrote: > > >>>Yes, it looks like you do. I don't know what is causing the error. >>> >>> >>kind of sounds like you just gave up. ;) >> >>Anyone know how to debug this? i played around with ktracing (strace like) >>the ->bin<- but didn't see anything useful. >> >> >> > >Oooh, i see how it is.. put suse (linux) in the subject and everything is coo. >Sure we'll help, no problem! But change the subject to FreeBSD and all >the OS bigots come out of the woodwork! > >... oh wait that's me (OS bigot) ... never mind :) > > I think that we (a) don't quite understand what you're asking, and (b) don't have FreeBSD machines around to test things out. >Sooo... anyone have any simple code i could compile to test xrc support? > > wxWidgets comes with samples. I believe there are xrc samples in with the xrc stuff. -SteveK |
From: John <st...@un...> - 2004-04-15 01:51:31
|
On Tue, Apr 13, 2004 at 03:58:24PM -0500, John wrote: > > Yes, it looks like you do. I don't know what is causing the error. > kind of sounds like you just gave up. ;) > > Anyone know how to debug this? i played around with ktracing (strace like) > the ->bin<- but didn't see anything useful. > Oooh, i see how it is.. put suse (linux) in the subject and everything is coo. Sure we'll help, no problem! But change the subject to FreeBSD and all the OS bigots come out of the woodwork! ... oh wait that's me (OS bigot) ... never mind :) Sooo... anyone have any simple code i could compile to test xrc support? |
From: John <st...@un...> - 2004-04-13 20:55:38
|
> Yes, it looks like you do. I don't know what is causing the error. kinf of sounds like you just gave up. ;) Anyone know how to debug this? i played around with ktracing (strace like) the lib but didn't see anything useful. |
From: Michael V. D. <mv...@va...> - 2004-04-13 01:30:45
|
On Mon, 12 Apr 2004 19:44:30 -0500, John <st...@un...> wrote: >On Mon, Apr 12, 2004 at 07:41:45PM -0400, Steve Kann wrote: >>=20 >> CC: Micheal w.r.t. iaxcomm questions. >>=20 >>=20 >> John wrote: >>=20 >> >>Yeah, the iaxc_unquelch thing you need to deal with first, obviously= :) >> >> >> >>After that, if you want to help us make things work under FreeBSD, = I'd=20 >> >>be glad to take patches. If they're outside of libiax2, things are=20 >> >>simpler (the Makefile, for example); if they're inside libiax2, Mark= =20 >> >>might want you to disclaim the changes (just sending a fax is=20 >> >>sufficient), but this might not be necessary for the small things = you're=20 >> >>writing. >> >> >> >>-SteveK >> >> =20 >> >> >> > >> >fax? why is iax2 under some odd license? Not that i really care, i'll= send >> >in what ever you want to get patches pushed up the chain. >> >=20 >> > >> Mark likes to keep his libraries under his copyright, so that he can=20 >> license it under licenses different than the GPL (or in this case,=20 >> LGPL). One reason is to sell commercial licenses. Another is to do=20 >> things like make exceptions for proprietary codecs, etc. Basically, = he=20 >> won't accept stuff that isn't disclaimed, and I'd prefer to try to = keep=20 >> our copy of libiax2 in sync with his. Since it's no big deal (we're=20 >> really just contributing bugfixes), we disclaim. Richard Stallman=20 >> wouldn't approve [although, the FSF required the same disclaimers for=20 >> GNU software). >>=20 >> >in the mean time i did download the new snapshot. Next problem.. >> > >> >I don't know a thing about wxgtk so maybe you can explain.. >> >what is wxrc and why do i need it? for whatever reason it isn't = compiled >> >by default from freebsd's port. I'll take this up with those folks, = but >> >i'd like to know what i'm talking about (or at least enought to fake = it:) ) >> >=20 >> > >>=20 >> I'm sure there's a FAQ on the wxWindows (or wxWidgets now) site. It's= =20 >> basically an XML UI representation. It will be standard in the next=20 >> release of wxwindows 2.5, but for now it's optional. >>=20 >> >also i think the `wx-config --static --libs` maybe a problem also. Is= =20 >> >there some >> >config option i need to pass when compiling wxgtk in order to support= that? >> >=20 >> > >>=20 >> You might want to compile with --disable-shared (and=20 >> --enable-optimize). If you're just making binaries for yourself, you=20 >> can probably do dynamic linking if you want.=20 >>=20 >> >Oh sorry btw the snapshot did fix calls.cc problem. >> > >> >=20 >> > >> Great. >>=20 >> -SteveK >>=20 >>=20 >19:38:03: Deleted stale lock file '/home/strgout/iaxcomm.lock'. This is the lockfile that iacomm makes to insure that only one instnce = runs. >19:38:03: XRC resource 'AddAccount' (class 'wxDialog') not found! Did you compile xrc support? I just sent you a mail about this, so you = probably haven't. PEEVE: wxWidgets distros should start incuding xrc support built in. > >That mean anything to you? i've got it to compile on freebsd without = errors >(no --static). > > > >------------------------------------------------------- >This SF.Net email is sponsored by: IBM Linux Tutorials >Free Linux tutorial presented by Daniel Robbins, President and CEO of >GenToo technologies. Learn everything from fundamentals to system >administration.http://ads.osdn.com/?ad_id=3D1470&alloc_id=3D3638&op=3Dcl= ick >_______________________________________________ >Iaxclient-devel mailing list >Iax...@li... >https://lists.sourceforge.net/lists/listinfo/iaxclient-devel |
From: John <st...@un...> - 2004-04-13 00:41:51
|
On Mon, Apr 12, 2004 at 07:41:45PM -0400, Steve Kann wrote: > > CC: Micheal w.r.t. iaxcomm questions. > > > John wrote: > > >>Yeah, the iaxc_unquelch thing you need to deal with first, obviously :) > >> > >>After that, if you want to help us make things work under FreeBSD, I'd > >>be glad to take patches. If they're outside of libiax2, things are > >>simpler (the Makefile, for example); if they're inside libiax2, Mark > >>might want you to disclaim the changes (just sending a fax is > >>sufficient), but this might not be necessary for the small things you're > >>writing. > >> > >>-SteveK > >> > >> > > > >fax? why is iax2 under some odd license? Not that i really care, i'll send > >in what ever you want to get patches pushed up the chain. > > > > > Mark likes to keep his libraries under his copyright, so that he can > license it under licenses different than the GPL (or in this case, > LGPL). One reason is to sell commercial licenses. Another is to do > things like make exceptions for proprietary codecs, etc. Basically, he > won't accept stuff that isn't disclaimed, and I'd prefer to try to keep > our copy of libiax2 in sync with his. Since it's no big deal (we're > really just contributing bugfixes), we disclaim. Richard Stallman > wouldn't approve [although, the FSF required the same disclaimers for > GNU software). > > >in the mean time i did download the new snapshot. Next problem.. > > > >I don't know a thing about wxgtk so maybe you can explain.. > >what is wxrc and why do i need it? for whatever reason it isn't compiled > >by default from freebsd's port. I'll take this up with those folks, but > >i'd like to know what i'm talking about (or at least enought to fake it:) ) > > > > > > I'm sure there's a FAQ on the wxWindows (or wxWidgets now) site. It's > basically an XML UI representation. It will be standard in the next > release of wxwindows 2.5, but for now it's optional. > > >also i think the `wx-config --static --libs` maybe a problem also. Is > >there some > >config option i need to pass when compiling wxgtk in order to support that? > > > > > > You might want to compile with --disable-shared (and > --enable-optimize). If you're just making binaries for yourself, you > can probably do dynamic linking if you want. > > >Oh sorry btw the snapshot did fix calls.cc problem. > > > > > > > Great. > > -SteveK > > 19:38:03: Deleted stale lock file '/home/strgout/iaxcomm.lock'. 19:38:03: XRC resource 'AddAccount' (class 'wxDialog') not found! That mean anything to you? i've got it to compile on freebsd without errors (no --static). |
From: Steve K. <st...@st...> - 2004-04-12 20:36:09
|
John wrote: > >Ok... i checked out the src and here is what needs to be done to compile on >freebsd (so far..) > > >Well after some hacking i'm at the same error on my freebsd box. >I'll checkout cvs (head?) and see if that fixes my problems. > >BTW some things i've had to do to get to this point... > >replace make with gmake in all the make files. > >iaxclient/lib/libiax2/src/md5.c > there is a FreeBSD ifdef, however no FreeBSD OSTYPE in the Makefile. > >iaxclient/lib/libiax2/src/iax.c > Seems to want to use MAXOSX + LINUX include lines > FreeBSD doesn't have a error.h and stdlib.h replaces malloc.h > at least from the thats what the warning said. > FreeBSD also wants > #include <sys/types.h> > include before > #include <sys/socket.h> > #define IAX_SOCKOPTS MSG_DONTWAIT | MSG_NOSIGNAL <- no idea > what MSG_NOSIGNAL is or should be in freebsd but > removing the | MSG_NOSIGNAL is the last step. > >at this point the lib compiles clean. >even though it thinks this is Linux ;) > >ok so next... >i installed >wxgtk (wxgtk-2.4.2_7) >wxgtk-common (wxgtk-common-2.4.2_1) >from the ports/x11-toolkits dir.. > >and that got me to the >" >Makefile:27: OSTYPE cannot be detected, assuming Linux >(cd ../../lib; gmake libiaxclient.a) >gmake[1]: Entering directory `/home/strgout/iaxclient/lib' >Makefile:92: OSTYPE cannot be detected, assuming Linux >gmake[1]: `libiaxclient.a' is up to date. >gmake[1]: Leaving directory `/home/strgout/iaxclient/lib' >g++ -I../../lib -g -Wall `wx-config --cflags` `gtk-config --cflags` -c -o calls.o calls.cc >calls.cc: In method `void CallList::OnSelect(wxListEvent &)': >calls.cc:125: implicit declaration of function `int iaxc_unquelch(...)' >gmake: *** [calls.o] Error 1 >" >under FreeBSD. > >who needs linulation anyways ;) > >i also just noticed the cvs commit message, so i'll check out and try again. > > Yeah, the iaxc_unquelch thing you need to deal with first, obviously :) After that, if you want to help us make things work under FreeBSD, I'd be glad to take patches. If they're outside of libiax2, things are simpler (the Makefile, for example); if they're inside libiax2, Mark might want you to disclaim the changes (just sending a fax is sufficient), but this might not be necessary for the small things you're writing. -SteveK |
From: John <st...@un...> - 2004-04-12 17:26:55
|
On Mon, Apr 12, 2004 at 10:08:17AM -0400, Steve Kann wrote: > John wrote: > > >i'm trying to compile the snapshot > >http://iaxclient.sourceforge.net/snapshots/iaxclient.tar.gz > >seems to be from 11-Apr-2004 22:05 > > > >This is the error i'm getting. > > > > > > Sorry about that. I think Michael committed his iaxcomm code before > some associated changes to the library, including the iaxc_unquelch > API. You'll probably need to use CVS to get a slightly earlier version > of iaxcomm sources in order to make things work, until this is > resolved. [you could still use the latest lib/* sources, though]. > > > >make > > > > > >(cd ../../lib; make libiaxclient.a) > >make[1]: Entering directory `/home/strgout/iaxclient/lib' > >make[1]: `libiaxclient.a' is up to date. > >make[1]: Leaving directory `/home/strgout/iaxclient/lib' > >g++ -I../../lib -g -Wall `wx-config --cflags` `gtk-config --cflags` -c > >-o main.o main.cc > >g++ -I../../lib -g -Wall `wx-config --cflags` `gtk-config --cflags` -c > >-o prefs.o prefs.cc > >g++ -I../../lib -g -Wall `wx-config --cflags` `gtk-config --cflags` -c > >-o calls.o calls.cc > >calls.cc: In member function `void CallList::OnSelect(wxListEvent&)': > >calls.cc:125: error: `iaxc_unquelch' undeclared (first use this function) > >calls.cc:125: error: (Each undeclared identifier is reported only once for > >each > > function it appears in.) > >calls.cc: In member function `int > > CallList::HandleStateEvent(iaxc_ev_call_state)': > >calls.cc:244: error: `iaxc_unquelch' undeclared (first use this function) > >make: *** [calls.o] Error 1 > > > > > >The end result i'd like to work towards is a staticly link iaxcomm binary > >so that i can dump this onto my freebsd box. > > > > > Do you need _everything_ linked statically? The binaries on the > sourceforge pages should be linked against wxwindows statically, and > dynamically to the standard system libs. It is my understanding that > linking glibc statically these days is pretty impossible. [the library > itself uses dynamic loading for parts of itself, I think]. > > >or if someone has a patch set for freebsd .. :) > > > Someone early on contributed, and we merged, patches for the library to > compile on FreeBSD. Everything also works with MacOSX, which is based > on FreeBSD, so it might not be hard to compile on FreeBSD itself. > > -SteveK > > Ok... i checked out the src and here is what needs to be done to compile on freebsd (so far..) Well after some hacking i'm at the same error on my freebsd box. I'll checkout cvs (head?) and see if that fixes my problems. BTW some things i've had to do to get to this point... replace make with gmake in all the make files. iaxclient/lib/libiax2/src/md5.c there is a FreeBSD ifdef, however no FreeBSD OSTYPE in the Makefile. iaxclient/lib/libiax2/src/iax.c Seems to want to use MAXOSX + LINUX include lines FreeBSD doesn't have a error.h and stdlib.h replaces malloc.h at least from the thats what the warning said. FreeBSD also wants #include <sys/types.h> include before #include <sys/socket.h> #define IAX_SOCKOPTS MSG_DONTWAIT | MSG_NOSIGNAL <- no idea what MSG_NOSIGNAL is or should be in freebsd but removing the | MSG_NOSIGNAL is the last step. at this point the lib compiles clean. even though it thinks this is Linux ;) ok so next... i installed wxgtk (wxgtk-2.4.2_7) wxgtk-common (wxgtk-common-2.4.2_1) from the ports/x11-toolkits dir.. and that got me to the " Makefile:27: OSTYPE cannot be detected, assuming Linux (cd ../../lib; gmake libiaxclient.a) gmake[1]: Entering directory `/home/strgout/iaxclient/lib' Makefile:92: OSTYPE cannot be detected, assuming Linux gmake[1]: `libiaxclient.a' is up to date. gmake[1]: Leaving directory `/home/strgout/iaxclient/lib' g++ -I../../lib -g -Wall `wx-config --cflags` `gtk-config --cflags` -c -o calls.o calls.cc calls.cc: In method `void CallList::OnSelect(wxListEvent &)': calls.cc:125: implicit declaration of function `int iaxc_unquelch(...)' gmake: *** [calls.o] Error 1 " under FreeBSD. who needs linulation anyways ;) i also just noticed the cvs commit message, so i'll check out and try again. |
From: Michael V. D. <mv...@va...> - 2004-04-12 16:55:54
|
I just posted the changes to CVS |
From: Steve K. <st...@st...> - 2004-04-12 14:08:19
|
John wrote: >i'm trying to compile the snapshot >http://iaxclient.sourceforge.net/snapshots/iaxclient.tar.gz >seems to be from 11-Apr-2004 22:05 > >This is the error i'm getting. > > Sorry about that. I think Michael committed his iaxcomm code before some associated changes to the library, including the iaxc_unquelch API. You'll probably need to use CVS to get a slightly earlier version of iaxcomm sources in order to make things work, until this is resolved. [you could still use the latest lib/* sources, though]. >make > > >(cd ../../lib; make libiaxclient.a) >make[1]: Entering directory `/home/strgout/iaxclient/lib' >make[1]: `libiaxclient.a' is up to date. >make[1]: Leaving directory `/home/strgout/iaxclient/lib' >g++ -I../../lib -g -Wall `wx-config --cflags` `gtk-config --cflags` -c -o main.o main.cc >g++ -I../../lib -g -Wall `wx-config --cflags` `gtk-config --cflags` -c -o prefs.o prefs.cc >g++ -I../../lib -g -Wall `wx-config --cflags` `gtk-config --cflags` -c -o calls.o calls.cc >calls.cc: In member function `void CallList::OnSelect(wxListEvent&)': >calls.cc:125: error: `iaxc_unquelch' undeclared (first use this function) >calls.cc:125: error: (Each undeclared identifier is reported only once for each > function it appears in.) >calls.cc: In member function `int > CallList::HandleStateEvent(iaxc_ev_call_state)': >calls.cc:244: error: `iaxc_unquelch' undeclared (first use this function) >make: *** [calls.o] Error 1 > > >The end result i'd like to work towards is a staticly link iaxcomm binary >so that i can dump this onto my freebsd box. > > Do you need _everything_ linked statically? The binaries on the sourceforge pages should be linked against wxwindows statically, and dynamically to the standard system libs. It is my understanding that linking glibc statically these days is pretty impossible. [the library itself uses dynamic loading for parts of itself, I think]. >or if someone has a patch set for freebsd .. :) > Someone early on contributed, and we merged, patches for the library to compile on FreeBSD. Everything also works with MacOSX, which is based on FreeBSD, so it might not be hard to compile on FreeBSD itself. -SteveK |