All of lore.kernel.org
 help / color / mirror / Atom feed
* Problems to compile modem p3d
@ 2003-01-26 11:37 Luc Langehegermann
  2003-01-26 23:49 ` Shane Deering
  0 siblings, 1 reply; 4+ messages in thread
From: Luc Langehegermann @ 2003-01-26 11:37 UTC (permalink / raw)
  To: linux-hams

Hello,

I have be trying to install the p3d decoder from HB9JNX here, without success.

I get:

make[3]: Entering directory `/usr/src/modemp3d-0.1/app/src'
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/gtk-1.2 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include 
-I/usr/include/gnome-xml -I../../intl -I../.. -I../../matlib -I../../libmisc        
-I../../soundcard -I../../directx/include -I../../directx/include/directx6        
-I../../app    -g -O2 -Wall -c diag.c
diag.c:126: warning: braces around scalar initializer
diag.c:126: warning: (near initialization for `diagstate.rxthread')
diag.c:126: empty scalar initializer
diag.c:126: (near initialization for `diagstate.rxthread')
diag.c:126: initializer element is not constant
diag.c:126: (near initialization for `diagstate.rxthread')
diag.c:126: warning: braces around scalar initializer
diag.c:126: warning: (near initialization for `diagstate.txthread')
diag.c:126: initializer element is not constant
diag.c:126: (near initialization for `diagstate.txthread')
diag.c:126: initializer element is not constant
diag.c:126: (near initialization for `diagstate.txcond.__c_lock')
diag.c:126: initializer element is not constant
diag.c:126: (near initialization for `diagstate.txcond')
diag.c:126: initializer element is not constant
diag.c:126: (near initialization for `diagstate.txmutex.__m_lock')
diag.c:126: initializer element is not constant
diag.c:126: (near initialization for `diagstate.txmutex')
diag.c: In function `stp_send':
diag.c:257: warning: assignment discards qualifiers from pointer target type
diag.c:259: warning: assignment discards qualifiers from pointer target type
make[3]: *** [diag.o] Error 1
make[3]: Leaving directory `/usr/src/modemp3d-0.1/app/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/modemp3d-0.1/app'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/modemp3d-0.1'
make: *** [all-recursive-am] Error 2

gcc version is 3.2.1, with glibc 2.3.1.

Thanks for any tip you may have.

73, Luc


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problems to compile modem p3d
@ 2003-01-26 16:12 Jonathan Naylor
  2003-02-01 14:29 ` Luc Langehegermann
  0 siblings, 1 reply; 4+ messages in thread
From: Jonathan Naylor @ 2003-01-26 16:12 UTC (permalink / raw)
  To: Linux Hams; +Cc: Luc Langehegermann

Hi Luc et al

I have a quick and dirty patch which generates warnings but allows the 
package to
compile. I think there is a need for a 0.2 release as newer versions of 
GCC throw
a lot of warnings when compiling it.

--- diag.c.old  2003-01-26 16:47:22.000000000 +0100
+++ diag.c      2003-01-26 16:49:01.000000000 +0100
@@ -123,7 +123,7 @@
        { 0, 0, 0, 0, },
         0,
         NULL, NULL, 0, 0,
-        { }, { }, PTHREAD_COND_INITIALIZER, PTHREAD_MUTEX_INITIALIZER
+        0, 0, PTHREAD_COND_INITIALIZER, PTHREAD_MUTEX_INITIALIZER
 };

 /* 
---------------------------------------------------------------------- 
*/

Jonathan  HB9DRD/G4KLX


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problems to compile modem p3d
  2003-01-26 11:37 Problems to compile modem p3d Luc Langehegermann
@ 2003-01-26 23:49 ` Shane Deering
  0 siblings, 0 replies; 4+ messages in thread
From: Shane Deering @ 2003-01-26 23:49 UTC (permalink / raw)
  To: linux-hams

On Sun, 26 Jan 2003 22:37, Luc Langehegermann wrote:
> Hello,
>
> I have be trying to install the p3d decoder from HB9JNX here, without
> success.

That can be a bit of a problem with my Mandrake 9.0 as a lot of oldish ham 
stuff doesn't compile too well on it.
I've found the  suse RPM packages handy.  They seem to install ok on my 
Mandrake 9.0 and Redhat 7.2 boxes. One thing to keep an eye on is the paths 
it uses. I had to make a new dir and a symlink once so a new package would 
fit in. There is a lot of ham software available as suse RPM's.
I use ftp://mirror.aarnet.edu.au/pub/suse/i386/8.1/suse/i586 to get 
p3dtelem-0.1-1.i386.rpm, but you might have something closer.
Now only a handfull of my ham software is compiled here.

-- 
Shane Deering                   Sent using Kmail v1.4.3
vk3bvp@qsl.net                  on Mandrake Linux, the Desktop OS
vk3bvp@vk3bvp.#sev.vic.aus.oc   MDK9.0 Up 20 minutes 
http://www.qsl.net/vk3bvp/      RH7.2 Up 1 day, 18 hours and 16 minutes 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problems to compile modem p3d
  2003-01-26 16:12 Jonathan Naylor
@ 2003-02-01 14:29 ` Luc Langehegermann
  0 siblings, 0 replies; 4+ messages in thread
From: Luc Langehegermann @ 2003-02-01 14:29 UTC (permalink / raw)
  To: g4klx, Jonathan Naylor, Linux Hams

Seems to work for me!

Thanks, Luc

On Sunday 26 January 2003 17:12, Jonathan Naylor wrote:
> Hi Luc et al
>
> I have a quick and dirty patch which generates warnings but allows the
> package to
> compile. I think there is a need for a 0.2 release as newer versions of
> GCC throw
> a lot of warnings when compiling it.
>
> --- diag.c.old  2003-01-26 16:47:22.000000000 +0100
> +++ diag.c      2003-01-26 16:49:01.000000000 +0100
> @@ -123,7 +123,7 @@
>         { 0, 0, 0, 0, },
>          0,
>          NULL, NULL, 0, 0,
> -        { }, { }, PTHREAD_COND_INITIALIZER, PTHREAD_MUTEX_INITIALIZER
> +        0, 0, PTHREAD_COND_INITIALIZER, PTHREAD_MUTEX_INITIALIZER
>  };
>
>  /*
> ----------------------------------------------------------------------
> */
>
> Jonathan  HB9DRD/G4KLX


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-02-01 14:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-26 11:37 Problems to compile modem p3d Luc Langehegermann
2003-01-26 23:49 ` Shane Deering
  -- strict thread matches above, loose matches on Subject: below --
2003-01-26 16:12 Jonathan Naylor
2003-02-01 14:29 ` Luc Langehegermann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.