Re: [GARNOME] Building bootstrap/gamin as a dependency fails



Robert,

"We" are not ignoring you.  I have not had the time to look at the Mach
linker doc.

For now, just build gnome-vfs without FAM support:

        Edit platform/gnome-vfs/Makefile:
        
        * remove the dependency on gamin
        
        * add a configure argument
        CONFIGURE_ARGS += --disable-fam

gamin-0.18 is out. When you continue your experiments with gamin, you
should work with the latest version.  See CVS.

-Joseph

===============================================================================      

On Sat, 2006-11-25 at 06:06 +0900, Robert Smith wrote:
> I was able to get libgamin to compile by changing the following lines in
> the make file for libgamin:
> 
> #libgamin_1_la_LDFLAGS = -Wl,--version-script=$(srcdir)/gamin_sym.version \
> #                        -version-info 1:7:1 -lpthread
> libgamin_1_la_LDFLAGS = -Wl,-dynamic -lpthread
> 
> #libfam_la_LDFLAGS = -Wl,--version-script=$(srcdir)/gamin_sym.version   \
> #                    -version-info 0:0:0 -lpthread
> libfam_la_LDFLAGS = -Wl,-dynamic -lpthread
> 
>  For some reason however gam_poll.h is not being created, hence the
> error below:
> 
> (I tried manually running configure --prefix=/opt/garnome because i saw
> this:
>   --disable-kernel        Use polling regardless of what kernel-level
> systems are available
> however this gave an error about st_mtim not being a member of some struct and did not create a gam_poll.h like i had hoped)
> 
> ---snip---
> 
> gamer tightanime:/usr/src/garnome-2.16.1.1/bootstrap/gamin$ make
> [===== NOW BUILDING:    gamin-0.1.7     =====]
>         [fetch] complete for gamin.
>         [checksum] complete for gamin.
>         [extract] complete for gamin.
>         [patch] complete for gamin.
>         [fixup] complete for gamin.
>         [configure] complete for gamin.
>  ==> Running make in work/main.d/gamin-0.1.7
> make  all-recursive
> Making all in lib
> if cc -DHAVE_CONFIG_H -I. -I. -I..  -I.. -I../lib  
> -I/opt/garnome/include  -Wall -Wchar-subscripts -Wmissing-declarations
> -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare
> -O2 -MT gam_event.o -MD -MP -MF ".deps/gam_event.Tpo" -c -o gam_event.o
> gam_event.c; \
> then mv -f ".deps/gam_event.Tpo" ".deps/gam_event.Po"; else rm -f
> ".deps/gam_event.Tpo"; exit 1; fi
> if cc -DHAVE_CONFIG_H -I. -I. -I..  -I.. -I../lib  
> -I/opt/garnome/include  -Wall -Wchar-subscripts -Wmissing-declarations
> -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare
> -O2 -MT gam_error.o -MD -MP -MF ".deps/gam_error.Tpo" -c -o gam_error.o
> gam_error.c; \
> then mv -f ".deps/gam_error.Tpo" ".deps/gam_error.Po"; else rm -f
> ".deps/gam_error.Tpo"; exit 1; fi
> gam_error.c:77: warning: no previous prototype for 'gam_error_init'
> gam_error.c:108: warning: no previous prototype for 'gam_error_check'
> gam_error.c:168: warning: no previous prototype for 'gam_debug'
> rm -f libgamin_shared.a
> ar cru libgamin_shared.a gam_event.o gam_error.o
> ranlib libgamin_shared.a
> Making all in libgamin
> if /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.
> -I..  -I.. -I../lib -DBINDIR=\""/opt/garnome/libexec"\"
> -DBUILDDIR=\"".."\"   -I/opt/garnome/include  -Wall -Wchar-subscripts
> -Wmissing-declarations -Wmissing-prototypes -Wnested-externs
> -Wsign-compare -Wno-sign-compare -O2 -MT gam_api.lo -MD -MP -MF
> ".deps/gam_api.Tpo" -c -o gam_api.lo gam_api.c; \
> then mv -f ".deps/gam_api.Tpo" ".deps/gam_api.Plo"; else rm -f
> ".deps/gam_api.Tpo"; exit 1; fi
> mkdir .libs
>  cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib
> -DBINDIR=\"/opt/garnome/libexec\" -DBUILDDIR=\"..\"
> -I/opt/garnome/include -Wall -Wchar-subscripts -Wmissing-declarations
> -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare
> -O2 -MT gam_api.lo -MD -MP -MF .deps/gam_api.Tpo -c gam_api.c 
> -fno-common -DPIC -o .libs/gam_api.o
> gam_api.c: In function 'gamin_get_user_name':
> gam_api.c:116: warning: implicit declaration of function 'strncpy'
> gam_api.c:116: warning: incompatible implicit declaration of built-in
> function 'strncpy'
> gam_api.c: In function 'gamin_get_socket_path':
> gam_api.c:157: warning: implicit declaration of function 'strdup'
> gam_api.c:157: warning: incompatible implicit declaration of built-in
> function 'strdup'
> gam_api.c: In function 'gamin_get_socket_dir':
> gam_api.c:184: warning: incompatible implicit declaration of built-in
> function 'strdup'
> gam_api.c: In function 'gamin_connect_unix_socket':
> gam_api.c:359: warning: implicit declaration of function 'memset'
> gam_api.c:359: warning: incompatible implicit declaration of built-in
> function 'memset'
> gam_api.c:373: warning: incompatible implicit declaration of built-in
> function 'strncpy'
> gam_api.c: In function 'gamin_send_request':
> gam_api.c:584: warning: implicit declaration of function 'strlen'
> gam_api.c:584: warning: incompatible implicit declaration of built-in
> function 'strlen'
> gam_api.c:596: warning: incompatible implicit declaration of built-in
> function 'strlen'
> gam_api.c:620: warning: implicit declaration of function 'memcpy'
> gam_api.c:620: warning: incompatible implicit declaration of built-in
> function 'memcpy'
> gam_api.c: In function 'gamin_check_cred':
> gam_api.c:673: warning: incompatible implicit declaration of built-in
> function 'memset'
> gam_api.c:647: warning: unused variable 'c_gid'
> gam_api.c:645: warning: unused variable 'c_pid'
> gam_api.c: In function 'gamin_resend_request':
> gam_api.c:837: warning: incompatible implicit declaration of built-in
> function 'strlen'
> gam_api.c:849: warning: incompatible implicit declaration of built-in
> function 'memcpy'
> gam_api.c: In function 'FAMOpen':
> gam_api.c:955: warning: implicit declaration of function 'gam_error_init'
> gam_api.c:955: warning: nested extern declaration of 'gam_error_init'
> gam_api.c: In function 'FAMMonitorDirectory':
> gam_api.c:1075: warning: incompatible implicit declaration of built-in
> function 'strlen'
> gam_api.c: In function 'FAMMonitorDirectory2':
> gam_api.c:1117: warning: incompatible implicit declaration of built-in
> function 'strlen'
> gam_api.c: In function 'FAMMonitorFile':
> gam_api.c:1159: warning: incompatible implicit declaration of built-in
> function 'strlen'
> gam_api.c: In function 'FAMMonitorFile2':
> gam_api.c:1199: warning: incompatible implicit declaration of built-in
> function 'strlen'
> gam_api.c: At top level:
> gam_api.c:41: warning: 'FAMError' defined but not used
> gam_api.c:61: warning: 'gamin_dump_event' defined but not used
> if /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.
> -I..  -I.. -I../lib -DBINDIR=\""/opt/garnome/libexec"\"
> -DBUILDDIR=\"".."\"   -I/opt/garnome/include  -Wall -Wchar-subscripts
> -Wmissing-declarations -Wmissing-prototypes -Wnested-externs
> -Wsign-compare -Wno-sign-compare -O2 -MT gam_data.lo -MD -MP -MF
> ".deps/gam_data.Tpo" -c -o gam_data.lo gam_data.c; \
> then mv -f ".deps/gam_data.Tpo" ".deps/gam_data.Plo"; else rm -f
> ".deps/gam_data.Tpo"; exit 1; fi
>  cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib
> -DBINDIR=\"/opt/garnome/libexec\" -DBUILDDIR=\"..\"
> -I/opt/garnome/include -Wall -Wchar-subscripts -Wmissing-declarations
> -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare
> -O2 -MT gam_data.lo -MD -MP -MF .deps/gam_data.Tpo -c gam_data.c 
> -fno-common -DPIC -o .libs/gam_data.o
> if /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.
> -I..  -I.. -I../lib -DBINDIR=\""/opt/garnome/libexec"\"
> -DBUILDDIR=\"".."\"   -I/opt/garnome/include  -Wall -Wchar-subscripts
> -Wmissing-declarations -Wmissing-prototypes -Wnested-externs
> -Wsign-compare -Wno-sign-compare -O2 -MT gam_fork.lo -MD -MP -MF
> ".deps/gam_fork.Tpo" -c -o gam_fork.lo gam_fork.c; \
> then mv -f ".deps/gam_fork.Tpo" ".deps/gam_fork.Plo"; else rm -f
> ".deps/gam_fork.Tpo"; exit 1; fi
>  cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib
> -DBINDIR=\"/opt/garnome/libexec\" -DBUILDDIR=\"..\"
> -I/opt/garnome/include -Wall -Wchar-subscripts -Wmissing-declarations
> -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare
> -O2 -MT gam_fork.lo -MD -MP -MF .deps/gam_fork.Tpo -c gam_fork.c 
> -fno-common -DPIC -o .libs/gam_fork.o
> if /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.
> -I..  -I.. -I../lib -DBINDIR=\""/opt/garnome/libexec"\"
> -DBUILDDIR=\"".."\"   -I/opt/garnome/include  -Wall -Wchar-subscripts
> -Wmissing-declarations -Wmissing-prototypes -Wnested-externs
> -Wsign-compare -Wno-sign-compare -O2 -MT gam_error.lo -MD -MP -MF
> ".deps/gam_error.Tpo" -c -o gam_error.lo gam_error.c; \
> then mv -f ".deps/gam_error.Tpo" ".deps/gam_error.Plo"; else rm -f
> ".deps/gam_error.Tpo"; exit 1; fi
>  cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib
> -DBINDIR=\"/opt/garnome/libexec\" -DBUILDDIR=\"..\"
> -I/opt/garnome/include -Wall -Wchar-subscripts -Wmissing-declarations
> -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare
> -O2 -MT gam_error.lo -MD -MP -MF .deps/gam_error.Tpo -c gam_error.c 
> -fno-common -DPIC -o .libs/gam_error.o
> gam_error.c:77: warning: no previous prototype for 'gam_error_init'
> gam_error.c:108: warning: no previous prototype for 'gam_error_check'
> gam_error.c:168: warning: no previous prototype for 'gam_debug'
> if /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.
> -I..  -I.. -I../lib -DBINDIR=\""/opt/garnome/libexec"\"
> -DBUILDDIR=\"".."\"   -I/opt/garnome/include  -Wall -Wchar-subscripts
> -Wmissing-declarations -Wmissing-prototypes -Wnested-externs
> -Wsign-compare -Wno-sign-compare -O2 -MT gam_event.lo -MD -MP -MF
> ".deps/gam_event.Tpo" -c -o gam_event.lo gam_event.c; \
> then mv -f ".deps/gam_event.Tpo" ".deps/gam_event.Plo"; else rm -f
> ".deps/gam_event.Tpo"; exit 1; fi
>  cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib
> -DBINDIR=\"/opt/garnome/libexec\" -DBUILDDIR=\"..\"
> -I/opt/garnome/include -Wall -Wchar-subscripts -Wmissing-declarations
> -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare
> -O2 -MT gam_event.lo -MD -MP -MF .deps/gam_event.Tpo -c gam_event.c 
> -fno-common -DPIC -o .libs/gam_event.o
> /bin/sh ../libtool --tag=CC --mode=link cc  -Wall -Wchar-subscripts
> -Wmissing-declarations -Wmissing-prototypes -Wnested-externs
> -Wsign-compare -Wno-sign-compare -O2  -framework CoreServices
> -Wl,-dynamic -L/opt/garnome/lib -o libgamin-1.la -rpath /opt/garnome/lib
> -Wl,-dynamic -lpthread gam_api.lo gam_data.lo gam_fork.lo gam_error.lo
> gam_event.lo 
> cc -dynamiclib ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o
> .libs/libgamin-1.0.0.0.dylib  .libs/gam_api.o .libs/gam_data.o
> .libs/gam_fork.o .libs/gam_error.o .libs/gam_event.o  -L/opt/garnome/lib
> -lpthread  -Wl,-dynamic -Wl,-dynamic -install_name 
> /opt/garnome/lib/libgamin-1.0.dylib -compatibility_version 1
> -current_version 1.0
> (cd .libs && rm -f libgamin-1.0.dylib && ln -s libgamin-1.0.0.0.dylib
> libgamin-1.0.dylib)
> (cd .libs && rm -f libgamin-1.dylib && ln -s libgamin-1.0.0.0.dylib
> libgamin-1.dylib)
> creating libgamin-1.la
> (cd .libs && rm -f libgamin-1.la && ln -s ../libgamin-1.la libgamin-1.la)
> /bin/sh ../libtool --tag=CC --mode=link cc  -Wall -Wchar-subscripts
> -Wmissing-declarations -Wmissing-prototypes -Wnested-externs
> -Wsign-compare -Wno-sign-compare -O2  -framework CoreServices
> -Wl,-dynamic -L/opt/garnome/lib -o libfam.la -rpath /opt/garnome/lib
> -Wl,-dynamic -lpthread gam_api.lo gam_data.lo gam_fork.lo gam_error.lo
> gam_event.lo 
> cc -dynamiclib ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o
> .libs/libfam.0.0.0.dylib  .libs/gam_api.o .libs/gam_data.o
> .libs/gam_fork.o .libs/gam_error.o .libs/gam_event.o  -L/opt/garnome/lib
> -lpthread  -Wl,-dynamic -Wl,-dynamic -install_name 
> /opt/garnome/lib/libfam.0.dylib -compatibility_version 1
> -current_version 1.0
> (cd .libs && rm -f libfam.0.dylib && ln -s libfam.0.0.0.dylib
> libfam.0.dylib)
> (cd .libs && rm -f libfam.dylib && ln -s libfam.0.0.0.dylib libfam.dylib)
> creating libfam.la
> (cd .libs && rm -f libfam.la && ln -s ../libfam.la libfam.la)
> if cc -DHAVE_CONFIG_H -I. -I. -I..  -I.. -I../lib
> -DBINDIR=\""/opt/garnome/libexec"\" -DBUILDDIR=\"".."\"  
> -I/opt/garnome/include  -Wall -Wchar-subscripts -Wmissing-declarations
> -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare
> -O2 -MT gamin.o -MD -MP -MF ".deps/gamin.Tpo" -c -o gamin.o gamin.c; \
> then mv -f ".deps/gamin.Tpo" ".deps/gamin.Po"; else rm -f
> ".deps/gamin.Tpo"; exit 1; fi
> /bin/sh ../libtool --tag=CC --mode=link cc  -Wall -Wchar-subscripts
> -Wmissing-declarations -Wmissing-prototypes -Wnested-externs
> -Wsign-compare -Wno-sign-compare -O2  -framework CoreServices
> -Wl,-dynamic -L/opt/garnome/lib -o gamin  gamin.o  libgamin-1.la
> cc -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes
> -Wnested-externs -Wsign-compare -Wno-sign-compare -O2 -framework
> CoreServices -Wl,-dynamic -o .libs/gamin gamin.o  -L/opt/garnome/lib
> ./.libs/libgamin-1.dylib -lpthread
> creating gamin
> Making all in server
> make  all-am
> if cc -DHAVE_CONFIG_H -I. -I. -I..  -I.. -I../libgamin -I../protocol
> -I../lib -I../libgamin -I/opt/garnome/include/glib-2.0
> -I/opt/garnome/lib/glib-2.0/include  
> -DBINDIR=\""/opt/garnome/libexec"\" -DG_DISABLE_DEPRECATED  
> -I/opt/garnome/include  -Wall -Wchar-subscripts -Wmissing-declarations
> -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare
> -O2 -MT gam_subscription.o -MD -MP -MF ".deps/gam_subscription.Tpo" -c
> -o gam_subscription.o gam_subscription.c; \
> then mv -f ".deps/gam_subscription.Tpo" ".deps/gam_subscription.Po";
> else rm -f ".deps/gam_subscription.Tpo"; exit 1; fi
> gam_subscription.c:352: warning: no previous prototype for
> 'gam_subscription_shutdown'
> if cc -DHAVE_CONFIG_H -I. -I. -I..  -I.. -I../libgamin -I../protocol
> -I../lib -I../libgamin -I/opt/garnome/include/glib-2.0
> -I/opt/garnome/lib/glib-2.0/include  
> -DBINDIR=\""/opt/garnome/libexec"\" -DG_DISABLE_DEPRECATED  
> -I/opt/garnome/include  -Wall -Wchar-subscripts -Wmissing-declarations
> -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare
> -O2 -MT gam_listener.o -MD -MP -MF ".deps/gam_listener.Tpo" -c -o
> gam_listener.o gam_listener.c; \
> then mv -f ".deps/gam_listener.Tpo" ".deps/gam_listener.Po"; else rm -f
> ".deps/gam_listener.Tpo"; exit 1; fi
> if cc -DHAVE_CONFIG_H -I. -I. -I..  -I.. -I../libgamin -I../protocol
> -I../lib -I../libgamin -I/opt/garnome/include/glib-2.0
> -I/opt/garnome/lib/glib-2.0/include  
> -DBINDIR=\""/opt/garnome/libexec"\" -DG_DISABLE_DEPRECATED  
> -I/opt/garnome/include  -Wall -Wchar-subscripts -Wmissing-declarations
> -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare
> -O2 -MT gam_server.o -MD -MP -MF ".deps/gam_server.Tpo" -c -o
> gam_server.o gam_server.c; \
> then mv -f ".deps/gam_server.Tpo" ".deps/gam_server.Po"; else rm -f
> ".deps/gam_server.Tpo"; exit 1; fi
> gam_server.c:77: warning: no previous prototype for 'gam_inotify_is_running'
> gam_server.c: In function 'main':
> gam_server.c:561: warning: implicit declaration of function 'gam_error_init'
> gam_server.c:561: warning: nested extern declaration of 'gam_error_init'
> if cc -DHAVE_CONFIG_H -I. -I. -I..  -I.. -I../libgamin -I../protocol
> -I../lib -I../libgamin -I/opt/garnome/include/glib-2.0
> -I/opt/garnome/lib/glib-2.0/include  
> -DBINDIR=\""/opt/garnome/libexec"\" -DG_DISABLE_DEPRECATED  
> -I/opt/garnome/include  -Wall -Wchar-subscripts -Wmissing-declarations
> -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare
> -O2 -MT gam_node.o -MD -MP -MF ".deps/gam_node.Tpo" -c -o gam_node.o
> gam_node.c; \
> then mv -f ".deps/gam_node.Tpo" ".deps/gam_node.Po"; else rm -f
> ".deps/gam_node.Tpo"; exit 1; fi
> gam_node.c: In function 'gam_node_emit_event':
> gam_node.c:375: warning: implicit declaration of function
> 'gam_server_emit_event'
> gam_node.c:375: warning: nested extern declaration of
> 'gam_server_emit_event'
> if cc -DHAVE_CONFIG_H -I. -I. -I..  -I.. -I../libgamin -I../protocol
> -I../lib -I../libgamin -I/opt/garnome/include/glib-2.0
> -I/opt/garnome/lib/glib-2.0/include  
> -DBINDIR=\""/opt/garnome/libexec"\" -DG_DISABLE_DEPRECATED  
> -I/opt/garnome/include  -Wall -Wchar-subscripts -Wmissing-declarations
> -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare
> -O2 -MT gam_tree.o -MD -MP -MF ".deps/gam_tree.Tpo" -c -o gam_tree.o
> gam_tree.c; \
> then mv -f ".deps/gam_tree.Tpo" ".deps/gam_tree.Po"; else rm -f
> ".deps/gam_tree.Tpo"; exit 1; fi
> if cc -DHAVE_CONFIG_H -I. -I. -I..  -I.. -I../libgamin -I../protocol
> -I../lib -I../libgamin -I/opt/garnome/include/glib-2.0
> -I/opt/garnome/lib/glib-2.0/include  
> -DBINDIR=\""/opt/garnome/libexec"\" -DG_DISABLE_DEPRECATED  
> -I/opt/garnome/include  -Wall -Wchar-subscripts -Wmissing-declarations
> -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare
> -O2 -MT gam_poll_basic.o -MD -MP -MF ".deps/gam_poll_basic.Tpo" -c -o
> gam_poll_basic.o gam_poll_basic.c; \
> then mv -f ".deps/gam_poll_basic.Tpo" ".deps/gam_poll_basic.Po"; else rm
> -f ".deps/gam_poll_basic.Tpo"; exit 1; fi
> if cc -DHAVE_CONFIG_H -I. -I. -I..  -I.. -I../libgamin -I../protocol
> -I../lib -I../libgamin -I/opt/garnome/include/glib-2.0
> -I/opt/garnome/lib/glib-2.0/include  
> -DBINDIR=\""/opt/garnome/libexec"\" -DG_DISABLE_DEPRECATED  
> -I/opt/garnome/include  -Wall -Wchar-subscripts -Wmissing-declarations
> -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare
> -O2 -MT gam_poll_generic.o -MD -MP -MF ".deps/gam_poll_generic.Tpo" -c
> -o gam_poll_generic.o gam_poll_generic.c; \
> then mv -f ".deps/gam_poll_generic.Tpo" ".deps/gam_poll_generic.Po";
> else rm -f ".deps/gam_poll_generic.Tpo"; exit 1; fi
> if cc -DHAVE_CONFIG_H -I. -I. -I..  -I.. -I../libgamin -I../protocol
> -I../lib -I../libgamin -I/opt/garnome/include/glib-2.0
> -I/opt/garnome/lib/glib-2.0/include  
> -DBINDIR=\""/opt/garnome/libexec"\" -DG_DISABLE_DEPRECATED  
> -I/opt/garnome/include  -Wall -Wchar-subscripts -Wmissing-declarations
> -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare
> -O2 -MT gam_pidname.o -MD -MP -MF ".deps/gam_pidname.Tpo" -c -o
> gam_pidname.o gam_pidname.c; \
> then mv -f ".deps/gam_pidname.Tpo" ".deps/gam_pidname.Po"; else rm -f
> ".deps/gam_pidname.Tpo"; exit 1; fi
> if cc -DHAVE_CONFIG_H -I. -I. -I..  -I.. -I../libgamin -I../protocol
> -I../lib -I../libgamin -I/opt/garnome/include/glib-2.0
> -I/opt/garnome/lib/glib-2.0/include  
> -DBINDIR=\""/opt/garnome/libexec"\" -DG_DISABLE_DEPRECATED  
> -I/opt/garnome/include  -Wall -Wchar-subscripts -Wmissing-declarations
> -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare
> -O2 -MT gam_channel.o -MD -MP -MF ".deps/gam_channel.Tpo" -c -o
> gam_channel.o gam_channel.c; \
> then mv -f ".deps/gam_channel.Tpo" ".deps/gam_channel.Po"; else rm -f
> ".deps/gam_channel.Tpo"; exit 1; fi
> gam_channel.c: In function 'gam_client_conn_check_cred':
> gam_channel.c:121: warning: implicit declaration of function 'memset'
> gam_channel.c:121: warning: incompatible implicit declaration of
> built-in function 'memset'
> gam_channel.c:95: warning: unused variable 'c_gid'
> gam_channel.c: In function 'gam_listen_unix_socket':
> gam_channel.c:629: warning: incompatible implicit declaration of
> built-in function 'memset'
> gam_channel.c:646: warning: implicit declaration of function 'strncpy'
> gam_channel.c:646: warning: incompatible implicit declaration of
> built-in function 'strncpy'
> if cc -DHAVE_CONFIG_H -I. -I. -I..  -I.. -I../libgamin -I../protocol
> -I../lib -I../libgamin -I/opt/garnome/include/glib-2.0
> -I/opt/garnome/lib/glib-2.0/include  
> -DBINDIR=\""/opt/garnome/libexec"\" -DG_DISABLE_DEPRECATED  
> -I/opt/garnome/include  -Wall -Wchar-subscripts -Wmissing-declarations
> -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare
> -O2 -MT gam_connection.o -MD -MP -MF ".deps/gam_connection.Tpo" -c -o
> gam_connection.o gam_connection.c; \
> then mv -f ".deps/gam_connection.Tpo" ".deps/gam_connection.Po"; else rm
> -f ".deps/gam_connection.Tpo"; exit 1; fi
> gam_connection.c:47: warning: 'gam_reqtype_to_string' defined but not used
> if cc -DHAVE_CONFIG_H -I. -I. -I..  -I.. -I../libgamin -I../protocol
> -I../lib -I../libgamin -I/opt/garnome/include/glib-2.0
> -I/opt/garnome/lib/glib-2.0/include  
> -DBINDIR=\""/opt/garnome/libexec"\" -DG_DISABLE_DEPRECATED  
> -I/opt/garnome/include  -Wall -Wchar-subscripts -Wmissing-declarations
> -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare
> -O2 -MT gam_debugging.o -MD -MP -MF ".deps/gam_debugging.Tpo" -c -o
> gam_debugging.o gam_debugging.c; \
> then mv -f ".deps/gam_debugging.Tpo" ".deps/gam_debugging.Po"; else rm
> -f ".deps/gam_debugging.Tpo"; exit 1; fi
> if cc -DHAVE_CONFIG_H -I. -I. -I..  -I.. -I../libgamin -I../protocol
> -I../lib -I../libgamin -I/opt/garnome/include/glib-2.0
> -I/opt/garnome/lib/glib-2.0/include  
> -DBINDIR=\""/opt/garnome/libexec"\" -DG_DISABLE_DEPRECATED  
> -I/opt/garnome/include  -Wall -Wchar-subscripts -Wmissing-declarations
> -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare
> -O2 -MT gam_excludes.o -MD -MP -MF ".deps/gam_excludes.Tpo" -c -o
> gam_excludes.o gam_excludes.c; \
> then mv -f ".deps/gam_excludes.Tpo" ".deps/gam_excludes.Po"; else rm -f
> ".deps/gam_excludes.Tpo"; exit 1; fi
> gam_excludes.c: In function 'gam_exclude_debug':
> gam_excludes.c:146: warning: unused variable 'exclude'
> if cc -DHAVE_CONFIG_H -I. -I. -I..  -I.. -I../libgamin -I../protocol
> -I../lib -I../libgamin -I/opt/garnome/include/glib-2.0
> -I/opt/garnome/lib/glib-2.0/include  
> -DBINDIR=\""/opt/garnome/libexec"\" -DG_DISABLE_DEPRECATED  
> -I/opt/garnome/include  -Wall -Wchar-subscripts -Wmissing-declarations
> -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare
> -O2 -MT gam_fs.o -MD -MP -MF ".deps/gam_fs.Tpo" -c -o gam_fs.o gam_fs.c; \
> then mv -f ".deps/gam_fs.Tpo" ".deps/gam_fs.Po"; else rm -f
> ".deps/gam_fs.Tpo"; exit 1; fi
> if cc -DHAVE_CONFIG_H -I. -I. -I..  -I.. -I../libgamin -I../protocol
> -I../lib -I../libgamin -I/opt/garnome/include/glib-2.0
> -I/opt/garnome/lib/glib-2.0/include  
> -DBINDIR=\""/opt/garnome/libexec"\" -DG_DISABLE_DEPRECATED  
> -I/opt/garnome/include  -Wall -Wchar-subscripts -Wmissing-declarations
> -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare
> -O2 -MT gam_conf.o -MD -MP -MF ".deps/gam_conf.Tpo" -c -o gam_conf.o
> gam_conf.c; \
> then mv -f ".deps/gam_conf.Tpo" ".deps/gam_conf.Po"; else rm -f
> ".deps/gam_conf.Tpo"; exit 1; fi
> if cc -DHAVE_CONFIG_H -I. -I. -I..  -I.. -I../libgamin -I../protocol
> -I../lib -I../libgamin -I/opt/garnome/include/glib-2.0
> -I/opt/garnome/lib/glib-2.0/include  
> -DBINDIR=\""/opt/garnome/libexec"\" -DG_DISABLE_DEPRECATED  
> -I/opt/garnome/include  -Wall -Wchar-subscripts -Wmissing-declarations
> -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare
> -O2 -MT gam_eq.o -MD -MP -MF ".deps/gam_eq.Tpo" -c -o gam_eq.o gam_eq.c; \
> then mv -f ".deps/gam_eq.Tpo" ".deps/gam_eq.Po"; else rm -f
> ".deps/gam_eq.Tpo"; exit 1; fi
> if cc -DHAVE_CONFIG_H -I. -I. -I..  -I.. -I../libgamin -I../protocol
> -I../lib -I../libgamin -I/opt/garnome/include/glib-2.0
> -I/opt/garnome/lib/glib-2.0/include  
> -DBINDIR=\""/opt/garnome/libexec"\" -DG_DISABLE_DEPRECATED  
> -I/opt/garnome/include  -Wall -Wchar-subscripts -Wmissing-declarations
> -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare
> -O2 -MT gam_kqueue.o -MD -MP -MF ".deps/gam_kqueue.Tpo" -c -o
> gam_kqueue.o gam_kqueue.c; \
> then mv -f ".deps/gam_kqueue.Tpo" ".deps/gam_kqueue.Po"; else rm -f
> ".deps/gam_kqueue.Tpo"; exit 1; fi
> gam_kqueue.c:66:22: error: gam_poll.h: No such file or directory
> gam_kqueue.c: In function 'gam_kqueue_get_uint_sysctl':
> gam_kqueue.c:331: warning: passing argument 3 of 'sysctlbyname' from
> incompatible pointer type
> gam_kqueue.c: In function 'gam_kqueue_sub_monitor_emit_event':
> gam_kqueue.c:829: warning: enumeration value 'GAMIN_EVENT_CREATED' not
> handled in switch
> gam_kqueue.c:829: warning: enumeration value 'GAMIN_EVENT_EXISTS' not
> handled in switch
> gam_kqueue.c:829: warning: enumeration value 'GAMIN_EVENT_ENDEXISTS' not
> handled in switch
> gam_kqueue.c:829: warning: enumeration value 'GAMIN_EVENT_UNKNOWN' not
> handled in switch
> gam_kqueue.c: In function 'gam_kqueue_file_monitor_emit_event':
> gam_kqueue.c:949: warning: enumeration value 'GAMIN_EVENT_CHANGED' not
> handled in switch
> gam_kqueue.c:949: warning: enumeration value 'GAMIN_EVENT_CREATED' not
> handled in switch
> gam_kqueue.c:949: warning: enumeration value 'GAMIN_EVENT_EXISTS' not
> handled in switch
> gam_kqueue.c:949: warning: enumeration value 'GAMIN_EVENT_ENDEXISTS' not
> handled in switch
> gam_kqueue.c:949: warning: enumeration value 'GAMIN_EVENT_UNKNOWN' not
> handled in switch
> gam_kqueue.c: In function 'gam_kqueue_init':
> gam_kqueue.c:1171: warning: implicit declaration of function
> 'gam_poll_set_kernel_handler'
> gam_kqueue.c:1171: warning: nested extern declaration of
> 'gam_poll_set_kernel_handler'
> gam_kqueue.c:1172: error: 'gam_backend_add_subscription' undeclared
> (first use in this function)
> gam_kqueue.c:1172: error: (Each undeclared identifier is reported only once
> gam_kqueue.c:1172: error: for each function it appears in.)
> gam_kqueue.c:1173: error: 'gam_backend_remove_subscription' undeclared
> (first use in this function)
> gam_kqueue.c:1174: error: 'gam_backend_remove_all_for' undeclared (first
> use in this function)
> make[4]: *** [gam_kqueue.o] Error 1
> make[3]: *** [all] Error 2
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all] Error 2
> make: *** [build-work/main.d/gamin-0.1.7/Makefile] Error 2
> gamer tightanime:/usr/src/garnome-2.16.1.1/bootstrap/gamin$
> 
> 
> ---/snip---
> 
> Cheers,
> 
> -Robert
> 
> 
> 
> Joseph E. Sacco, Ph.D. wrote:
> 
> > > Robert,
> > >
> > > Gamin uses a GNU-linker specific directive
> > >
> > > [from libgamin/Makefile: gamin -0.1.7]
> > >
> > > libgamin_1_la_LDFLAGS = -Wl,--version-script=$(srcdir)/gamin_sym.version \
> > >                         -version-info 1:7:1 -lpthread
> > >
> > >
> > > Here is a description of what is going on...
> > >
> > > [from 'info ld' ]
> > > `--version-script=VERSION-SCRIPTFILE'
> > >      Specify the name of a version script to the linker.  This is
> > >      typically used when creating shared libraries to specify
> > >      additional information about the version hierarchy for the library
> > >      being created.  This option is only meaningful on ELF platforms
> > >      which support shared libraries.  *Note VERSION::.
> > >
> > >
> > > You are about to learn more about the OSX linker than you ever wanted to
> > > know [:-)]. You will need to hack the libgamin_1_la_LDFLAGS line into
> > > something that the OS-X linker will accept. You may also need to hack
> > > the contents of gamin_sym.version.
> > >
> > > If you "hit a wall", you can configure ./platform/gnome-vfs to build
> > > without FAM [gamin support].
> > >
> > >
> > > -Joseph
> > >
> > > ==============================================================================
> > >
> > >   
> >   
> 
> 
-- 
joseph_sacco [at] comcast [dot] net




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