From: SourceForge.net <no...@so...> - 2006-09-09 13:43:31
|
Bugs item #1427300, was opened at 2006-02-08 10:07 Message generated for change (Comment added) made by marcusmeissner You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108874&aid=1427300&group_id=8874 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: build system Group: None >Status: Pending >Resolution: Fixed Priority: 5 Submitted By: Damien Carbery (daymobrew) Assigned to: Marcus Meissner (marcusmeissner) Summary: libgphoto2_port/disk fails on Solaris - wrong mnt functions Initial Comment: On Solaris it uses different header files, functions and structure members for mounting volumes. The tail of my build log is: pkgbuild: mkdir .libs pkgbuild: /sgnome/tools/sparc-solaris/forte/vulcan-0107/opt/SUNWspro/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I../libgphoto2_port -I.. -I../libgphoto2_port -DLOCALEDIR=\"/usr/share/locale\" -DIOLIBS=\"/usr/sfw/lib/libgphoto2_port/0.5.2\" -I/usr/sfw/include -i -xO4 -xspace -xstrconst -xarch=v8a -mr -I/usr/sfw/include -fPIC -c disk.c -KPIC -DPIC -o .libs/disk_la-disk.o pkgbuild: cc: Warning: illegal option -fPIC pkgbuild: "disk.c", line 36: cannot find include file: <mntent.h> pkgbuild: "disk.c", line 186: warning: implicit function declaration: setmntent pkgbuild: "disk.c", line 186: warning: improper pointer/integer combination: op "=" pkgbuild: "disk.c", line 187: warning: implicit function declaration: getmntent pkgbuild: "disk.c", line 187: warning: improper pointer/integer combination: op "=" pkgbuild: "disk.c", line 189: undefined struct/union member: mnt_fsname pkgbuild: "disk.c", line 189: warning: improper pointer/integer combination: arg #1 pkgbuild: "disk.c", line 190: improper member use: mnt_fsname pkgbuild: "disk.c", line 190: warning: improper pointer/integer combination: arg #1 pkgbuild: "disk.c", line 194: undefined struct/union member: mnt_dir pkgbuild: "disk.c", line 196: improper member use: mnt_dir pkgbuild: "disk.c", line 200: undefined struct/union member: mnt_fsname pkgbuild: "disk.c", line 201: improper member use: mnt_dir pkgbuild: "disk.c", line 206: warning: implicit function declaration: endmntent pkgbuild: "disk.c", line 207: warning: improper pointer/integer combination: op "=" pkgbuild: "disk.c", line 208: warning: improper pointer/integer combination: op "=" pkgbuild: "disk.c", line 210: undefined struct/union member: mnt_fsname pkgbuild: "disk.c", line 210: warning: improper pointer/integer combination: arg #1 pkgbuild: "disk.c", line 211: improper member use: mnt_fsname pkgbuild: "disk.c", line 211: warning: improper pointer/integer combination: arg #1 pkgbuild: "disk.c", line 215: undefined struct/union member: mnt_dir pkgbuild: "disk.c", line 217: improper member use: mnt_dir pkgbuild: "disk.c", line 222: undefined struct/union member: mnt_fsname pkgbuild: "disk.c", line 223: improper member use: mnt_dir pkgbuild: cc: acomp failed for disk.c pkgbuild: make[4]: *** [disk_la-disk.lo] Error 1 pkgbuild: make[4]: Leaving directory `/jds/packages/BUILD/SUNWgnome-camera-2.13.90/libgphoto2-2.1.99/libgphoto2_port/disk' pkgbuild: make[3]: *** [all-recursive] Error 1 pkgbuild: make[3]: Leaving directory `/jds/packages/BUILD/SUNWgnome-camera-2.13.90/libgphoto2-2.1.99/libgphoto2_port' pkgbuild: make[2]: *** [all] Error 2 ---------------------------------------------------------------------- >Comment By: Marcus Meissner (marcusmeissner) Date: 2006-09-09 13:43 Message: Logged In: YES user_id=48092 your patch is a bit weird. i split off a new mnttab handling case, and applied this to SVN. I am not able to compile or test it myself, please do :) ---------------------------------------------------------------------- Comment By: Marcus Meissner (marcusmeissner) Date: 2006-03-19 13:02 Message: Logged In: YES user_id=48092 there was nothing attached? ---------------------------------------------------------------------- Comment By: Damien Carbery (daymobrew) Date: 2006-03-15 14:52 Message: Logged In: YES user_id=843868 Attached patch uses different mntent functions and code on Solaris. I haven't checked CVS to see if this is already upstream. ---------------------------------------------------------------------- Comment By: Marcus Meissner (marcusmeissner) Date: 2006-02-08 14:29 Message: Logged In: YES user_id=48092 i fixed this in current CVS , and it will be in the next libgphoto2 release. (autoconf check against mntent.h) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108874&aid=1427300&group_id=8874 |