Re: gnome-pilot compile problem (already posted to submit@bugs)



Hi!

  So, we made it :)
  The  attached pacth  helps to  compile the  gnome-pilot if  the pisock
dir is not in /usr.

  But after I fixed it, another problem occured:

gcc    -DHAVE_CONFIG_H    -I.     -I.    -I../..    -I/opt/gnome/include
-I../../gpilotd        -I/opt/gnome/include        -DNEED_GNOMESUPPORT_H
-I/opt/gnome/lib/gnome-libs/include        -I/opt/gnome/lib/glib/include
-I/usr/X11R6/include      -I/opt/pilot/include      -I/usr/X11R6/include
-I/opt/gnome/lib/glib/include      -I/opt/gnome/include      -g      -O2
-Wp,-MD,.deps/memo_conduit.pp   -c   -fPIC   -DPIC   memo_conduit.c   -o
memo_conduit.lo
In file included from memo_conduit.c:22:
memo_conduit_abs.h:16: parse error before `SYNCABS_LOCALRECORD'
memo_conduit_abs.h:16: warning: no semicolon at end of struct or union
memo_conduit_abs.h:24: parse error before `}'
memo_conduit_abs.h:24: warning:  data definition has no  type or storage
class
memo_conduit_abs.h:29: field `standard' has incomplete type
memo_conduit_abs.h:53: parse error before `MemoLocalRecord'
memo_conduit_abs.h:61: parse error before `MemoLocalRecord'
memo_conduit_abs.h:61: warning: no semicolon at end of struct or union
memo_conduit_abs.h:62: warning:  data definition has no  type or storage
class
memo_conduit_abs.h:63: parse error before `}'
memo_conduit_abs.h:63: warning:  data definition has no  type or storage
class
memo_conduit.c: In function `do_the_deed':
memo_conduit.c:137: warning:  passing arg  3 makes pointer  from integer
without a cast
memo_conduit.c: In function `merge_to_pilot':
memo_conduit.c:160:   `MergeToRemoté   undeclared    (first   use   this
function)
memo_conduit.c:160: (Each undeclared identifier is reported only once
memo_conduit.c:160: for each function it appears in.)
memo_conduit.c: In function `merge_from_pilot':
memo_conduit.c:164:   `MergeFromRemoté   undeclared  (first   use   this
function)
make[3]: *** [memo_conduit.lo] Error 1
make[3]: Leaving directory `/opt/gnome/src/gnome-pilot/conduits/memó
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/gnome/src/gnome-pilot/conduits'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/gnome/src/gnome-pilot'
make: *** [all-recursive-am] Error 2

dLux
--
email: Szabó, Balázs <dlux@dlux.hu>
sex: Yes
...
--- gnome-pilot/configure.in.orig	Sun Mar 28 13:25:30 1999
+++ gnome-pilot/configure.in	Sun Mar 28 13:35:29 1999
@@ -77,7 +77,7 @@
 
 #AC_CHECK_LIB(capplet, capplet_widget_new, [ CAPPLET_LIBS=-lcapplet ], [ AC_MSG_ERROR("Unable to find capplet lib.  Install GNOME control-center") ])
 
-AC_CHECK_LIB(pisock, pi_accept, [ PISOCK_LIBS=-lpisock ], [ AC_MSG_ERROR("Unable to find pi_accept") ], [$PISOCK_CFLAGS $PISOCK_LDFLAGS])
+AC_CHECK_LIB(pisock, pi_accept, [ PISOCK_LIBS=-lpisock ], [ AC_MSG_ERROR("Unable to find pi_accept") ], [$PISOCK_CFLAGS $PISOCK_LDFLAGS $PISOCK_LIBDIR $PISOCK_INCLUDEDIR])
 
 dnl Check for lib socket for solaris users.  Do you guys need -lnsl for pisock as well?  Been too long since I used solaris :)
 AC_CHECK_LIB(socket, sendmsg, [ PISOCK_LIBS=$PISOCK_LIBS -lsocket], [])


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]