Linux HAM/Amateur Radio development
 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

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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox