Build problems
- From: László Monda <mondalaci gmail com>
- To: f-spot-list gnome org
- Subject: Build problems
- Date: Fri, 20 May 2005 20:10:26 +0200
Hi,
I've tried to build different versions of F-Spot and they've all failed
for various reasons.
I have mono 1.1.7, and libgphoto 2.1.5-6 installed on my system.
With versions 0.0.7 to 0.0.12, it seems that make couldn't assemble
libgphoto2-sharp.dll:
----8<----
Making all in libgphoto2-sharp
make[2]: Entering directory
`/home/lee/download/f-spot-0.0.12/libgphoto2-sharp'
mcs --unsafe -g -o
libgphoto2-sharp.dll /target:library ./AssemblyInfo.cs ./Camera.cs ./CameraAbilitiesList.cs ./CameraFile.cs ./CameraFilesystem.cs ./CameraList.cs ./CameraWidget.cs ./Context.cs ./ErrorCodes.cs ./Object.cs ./Port.cs ./PortInfo.cs ./PortInfoList.cs
warning CS8029: Compatibility: Use -unsafe instead of --unsafe
warning CS8029: Compatibility: Use -debug option instead of -g or
--debug
warning CS8029: Compatibility: Use -out:FILE instead of --output FILE or
-o FILE
./Camera.cs(99) error CS0208: Cannot declare a pointer to a managed type
('LibGPhoto2._Port')
./Port.cs(49): 'LibGPhoto2.PortSettingsSerial.port' (name of symbol
related to previous error
./Port.cs(68): 'LibGPhoto2.PortSettings.serial' (name of symbol related
to previous error
./Port.cs(77): 'LibGPhoto2._Port.settings' (name of symbol related to
previous error
./Camera.cs(101) error CS0208: Cannot declare a pointer to a managed
type ('LibGPhoto2.CameraFunctions')
./Camera.cs(53): 'LibGPhoto2.CameraFunctions.pre_func' (name of symbol
related to previous error
./Camera.cs(40) error CS0208: Cannot declare a pointer to a managed type
('LibGPhoto2.CameraFilePath')
./Camera.cs(85): 'LibGPhoto2.CameraFilePath.name' (name of symbol
related to previous error
./Camera.cs(44) error CS0208: Cannot declare a pointer to a managed type
('LibGPhoto2.CameraText')
./Camera.cs(19): 'LibGPhoto2.CameraText.text' (name of symbol related to
previous error
./Camera.cs(46) error CS0208: Cannot declare a pointer to a managed type
('LibGPhoto2.CameraText')
./Camera.cs(19): 'LibGPhoto2.CameraText.text' (name of symbol related to
previous error
./Camera.cs(48) error CS0208: Cannot declare a pointer to a managed type
('LibGPhoto2.CameraText')
./Camera.cs(19): 'LibGPhoto2.CameraText.text' (name of symbol related to
previous error
./CameraFilesystem.cs(87) error CS0208: Cannot declare a pointer to a
managed type ('LibGPhoto2.CameraFileInfo')
./CameraFilesystem.cs(49): 'LibGPhoto2.CameraFileInfoPreview.type' (name
of symbol related to previous error
./CameraFilesystem.cs(71): 'LibGPhoto2.CameraFileInfo.preview' (name of
symbol related to previous error
./Port.cs(86) error CS0208: Cannot declare a pointer to a managed type
('LibGPhoto2._Port')
./Port.cs(49): 'LibGPhoto2.PortSettingsSerial.port' (name of symbol
related to previous error
./Port.cs(68): 'LibGPhoto2.PortSettings.serial' (name of symbol related
to previous error
./Port.cs(77): 'LibGPhoto2._Port.settings' (name of symbol related to
previous error
./Port.cs(89) error CS0208: Cannot declare a pointer to a managed type
('LibGPhoto2._Port')
./Port.cs(49): 'LibGPhoto2.PortSettingsSerial.port' (name of symbol
related to previous error
./Port.cs(68): 'LibGPhoto2.PortSettings.serial' (name of symbol related
to previous error
./Port.cs(77): 'LibGPhoto2._Port.settings' (name of symbol related to
previous error
./Port.cs(92) error CS0208: Cannot declare a pointer to a managed type
('LibGPhoto2._Port')
./Port.cs(49): 'LibGPhoto2.PortSettingsSerial.port' (name of symbol
related to previous error
./Port.cs(68): 'LibGPhoto2.PortSettings.serial' (name of symbol related
to previous error
./Port.cs(77): 'LibGPhoto2._Port.settings' (name of symbol related to
previous error
./Port.cs(95) error CS0208: Cannot declare a pointer to a managed type
('LibGPhoto2._Port')
./Port.cs(49): 'LibGPhoto2.PortSettingsSerial.port' (name of symbol
related to previous error
./Port.cs(68): 'LibGPhoto2.PortSettings.serial' (name of symbol related
to previous error
./Port.cs(77): 'LibGPhoto2._Port.settings' (name of symbol related to
previous error
./Port.cs(98) error CS0208: Cannot declare a pointer to a managed type
('LibGPhoto2._Port')
./Port.cs(49): 'LibGPhoto2.PortSettingsSerial.port' (name of symbol
related to previous error
./Port.cs(68): 'LibGPhoto2.PortSettings.serial' (name of symbol related
to previous error
./Port.cs(77): 'LibGPhoto2._Port.settings' (name of symbol related to
previous error
./Port.cs(101) error CS0208: Cannot declare a pointer to a managed type
('LibGPhoto2._Port')
./Port.cs(49): 'LibGPhoto2.PortSettingsSerial.port' (name of symbol
related to previous error
./Port.cs(68): 'LibGPhoto2.PortSettings.serial' (name of symbol related
to previous error
./Port.cs(77): 'LibGPhoto2._Port.settings' (name of symbol related to
previous error
./Port.cs(104) error CS0208: Cannot declare a pointer to a managed type
('LibGPhoto2._Port')
./Port.cs(49): 'LibGPhoto2.PortSettingsSerial.port' (name of symbol
related to previous error
./Port.cs(68): 'LibGPhoto2.PortSettings.serial' (name of symbol related
to previous error
./Port.cs(77): 'LibGPhoto2._Port.settings' (name of symbol related to
previous error
./Port.cs(107) error CS0208: Cannot declare a pointer to a managed type
('LibGPhoto2._Port')
./Port.cs(49): 'LibGPhoto2.PortSettingsSerial.port' (name of symbol
related to previous error
./Port.cs(68): 'LibGPhoto2.PortSettings.serial' (name of symbol related
to previous error
./Port.cs(77): 'LibGPhoto2._Port.settings' (name of symbol related to
previous error
./Port.cs(110) error CS0208: Cannot declare a pointer to a managed type
('LibGPhoto2._Port')
./Port.cs(49): 'LibGPhoto2.PortSettingsSerial.port' (name of symbol
related to previous error
./Port.cs(68): 'LibGPhoto2.PortSettings.serial' (name of symbol related
to previous error
./Port.cs(77): 'LibGPhoto2._Port.settings' (name of symbol related to
previous error
./Port.cs(113) error CS0208: Cannot declare a pointer to a managed type
('LibGPhoto2._Port')
./Port.cs(49): 'LibGPhoto2.PortSettingsSerial.port' (name of symbol
related to previous error
./Port.cs(68): 'LibGPhoto2.PortSettings.serial' (name of symbol related
to previous error
./Port.cs(77): 'LibGPhoto2._Port.settings' (name of symbol related to
previous error
./Port.cs(116) error CS0208: Cannot declare a pointer to a managed type
('LibGPhoto2._Port')
./Port.cs(49): 'LibGPhoto2.PortSettingsSerial.port' (name of symbol
related to previous error
./Port.cs(68): 'LibGPhoto2.PortSettings.serial' (name of symbol related
to previous error
./Port.cs(77): 'LibGPhoto2._Port.settings' (name of symbol related to
previous error
./Port.cs(119) error CS0208: Cannot declare a pointer to a managed type
('LibGPhoto2._Port')
./Port.cs(49): 'LibGPhoto2.PortSettingsSerial.port' (name of symbol
related to previous error
./Port.cs(68): 'LibGPhoto2.PortSettings.serial' (name of symbol related
to previous error
./Port.cs(77): 'LibGPhoto2._Port.settings' (name of symbol related to
previous error
./Port.cs(122) error CS0208: Cannot declare a pointer to a managed type
('LibGPhoto2._Port')
./Port.cs(49): 'LibGPhoto2.PortSettingsSerial.port' (name of symbol
related to previous error
./Port.cs(68): 'LibGPhoto2.PortSettings.serial' (name of symbol related
to previous error
./Port.cs(77): 'LibGPhoto2._Port.settings' (name of symbol related to
previous error
./Port.cs(125) error CS0208: Cannot declare a pointer to a managed type
('LibGPhoto2._Port')
./Port.cs(49): 'LibGPhoto2.PortSettingsSerial.port' (name of symbol
related to previous error
./Port.cs(68): 'LibGPhoto2.PortSettings.serial' (name of symbol related
to previous error
./Port.cs(77): 'LibGPhoto2._Port.settings' (name of symbol related to
previous error
./Port.cs(128) error CS0208: Cannot declare a pointer to a managed type
('LibGPhoto2._Port')
./Port.cs(49): 'LibGPhoto2.PortSettingsSerial.port' (name of symbol
related to previous error
./Port.cs(68): 'LibGPhoto2.PortSettings.serial' (name of symbol related
to previous error
./Port.cs(77): 'LibGPhoto2._Port.settings' (name of symbol related to
previous error
./Port.cs(136) error CS0208: Cannot declare a pointer to a managed type
('LibGPhoto2._Port')
./Port.cs(49): 'LibGPhoto2.PortSettingsSerial.port' (name of symbol
related to previous error
./Port.cs(68): 'LibGPhoto2.PortSettings.serial' (name of symbol related
to previous error
./Port.cs(77): 'LibGPhoto2._Port.settings' (name of symbol related to
previous error
Compilation failed: 23 error(s), 3 warnings
make[2]: *** [libgphoto2-sharp.dll] Error 1
make[2]: Leaving directory
`/home/lee/download/f-spot-0.0.12/libgphoto2-sharp'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lee/download/f-spot-0.0.12'
make: *** [all] Error 2
----8<----
With the CVS version, make couldn't assemble f-spot.exe:
----8<----
Making all in src
make[2]: Entering directory `/home/lee/download/cvs/f-spot/src'
mcs -unsafe -debug -nowarn:0169
-out:f-spot.exe ./AsyncPixbufLoader.cs ./BitConverter.cs ./PhotoArray.cs ./CDExport.cs ./Ciff.cs ./ColorDialog.cs ./CompatFileChooser.cs ./DateCommands.cs ./Db.cs ./Delay.cs ./DirectoryAdaptor.cs ./DirectoryCollection.cs ./Exif.cs ./ExifUtils.cs ./FlickrExport.cs ./FlickrRemote.cs ./FileImportBackend.cs ./FolderExport.cs ./FotkiRemote.cs ./FormClient.cs ./FullScreenView.cs ./GalleryRemote.cs ./GalleryExport.cs ./GladeDialog.cs ./Global.cs ./GroupAdaptor.cs ./GroupSelector.cs ./HigMessageDialog.cs ./Histogram.cs ./IBrowsableItem.cs ./IconView.cs ./ImageFile.cs ./ImageView.cs ./ImportBackend.cs ./ImportCommand.cs ./ImportStore.cs ./InfoBox.cs ./InfoDisplay.cs ./IPhotoCollection.cs ./JpegFile.cs ./JpegHeader.cs ./JpegUtils.cs ./Cms.cs ./MainWindow.cs ./PhotoImageView.cs ./PhotoLoader.cs ./PhotoPopup.cs ./PhotoQuery.cs ./PhotoStore.cs ./PhotoTagMenu.cs ./PhotoVersionCommands.cs ./PhotoVersionMenu.cs ./PhotoView.cs ./PixbufLoader.cs ./PixbufUtils.cs ./PixbufCache.cs ./PreviewPopup.cs ./PrintDialog.cs ./ProgressDialog.cs ./RotateCommand.cs ./ScalingIconView.cs ./SlideView.cs ./StockIcons.cs ./SimpleCalendar.cs ./TagCommands.cs ./TagMenu.cs ./TagPopup.cs ./TagSelectionWidget.cs ./TagStore.cs ./TagView.cs ./ThreadProgressDialog.cs ./ThumbnailCache.cs ./ThumbnailGenerator.cs ./TimeAdaptor.cs ./Util.cs ./ThumbnailCommand.cs ./QueryView.cs ./ZoomUtils.cs ./GPhotoCamera.cs ./CameraSelectionDialog.cs ./CameraFileSelectionDialog.cs ./TagSelectionDialog.cs ./main.cs ./gnomevfs/Gnome.VfsSharp.voidObjectObjectSignal.cs ./gnomevfs/Gnome.VfsSharp.voidObjectSignal.cs ./gnomevfs/ObjectManager.cs ./gnomevfs/Async.cs ./gnomevfs/AsyncCallback.cs ./gnomevfs/AsyncCallbackNative.cs ./gnomevfs/AsyncDirectoryLoadCallback.cs ./gnomevfs/AsyncDirectoryLoadCallbackNative.cs ./gnomevfs/AsyncReadCallback.cs ./gnomevfs/AsyncReadCallbackNative.cs ./gnomevfs/AsyncWriteCallback.cs ./gnomevfs/AsyncWriteCallbackNative.cs ./gnomevfs/Directory.cs ./gnomevfs/FileFlags.cs ./gnomevfs/FileInfo.cs ./gnomevfs/FileInfoFields.cs ./gnomevfs/FileInfoOptions.cs ./gnomevfs/FilePermissions.cs ./gnomevfs/FileType.cs ./gnomevfs/Handle.cs ./gnomevfs/MimeType.cs ./gnomevfs/MimeActionType.cs ./gnomevfs/MimeAction.cs ./gnomevfs/MimeApplication.cs ./gnomevfs/MimeApplicationArgumentType.cs ./gnomevfs/ModuleCallback.cs ./gnomevfs/ModuleCallbackAuthentication.cs ./gnomevfs/ModuleCallbackFullAuthenticationFlags.cs ./gnomevfs/ModuleCallbackFillAuthentication.cs ./gnomevfs/ModuleCallbackFullAuthentication.cs ./gnomevfs/ModuleCallbackSaveAuthentication.cs ./gnomevfs/ModuleCallbackStatusMessage.cs ./gnomevfs/Monitor.cs ./gnomevfs/MonitorType.cs ./gnomevfs/OpenMode.cs ./gnomevfs/Result.cs ./gnomevfs/SeekPosition.cs ./gnomevfs/SetFileInfoMask.cs ./gnomevfs/Sync.cs ./gnomevfs/Vfs.cs ./gnomevfs/Volume.cs ./gnomevfs/VolumeMonitor.cs ./gnomevfs/Drive.cs ./gnomevfs/DriveConnectedHandler.cs ./gnomevfs/DriveDisconnectedHandler.cs ./gnomevfs/DeviceType.cs ./gnomevfs/VolumeType.cs ./gnomevfs/VolumePreUnmountHandler.cs ./gnomevfs/VolumeUnmountedHandler.cs ./gnomevfs/VolumeMountedHandler.cs ./gnomevfs/Uri.cs ./gnomevfs/UriHideOptions.cs ./gnomevfs/VfsException.cs ./gnomevfs/VfsStream.cs ./gnomevfs/VfsStreamAsyncResult.cs ./gnomevfs/XferErrorAction.cs ./gnomevfs/XferOverwriteAction.cs ./gnomevfs/Xfer.cs ./gnomevfs/XferPhase.cs ./gnomevfs/XferOptions.cs ./gnomevfs/XferErrorMode.cs ./gnomevfs/XferOverwriteMode.cs ./gnomevfs/XferProgressCallback.cs ./gnomevfs/XferProgressInfo.cs ./gnomevfs/XferProgressStatus.cs ./gnomevfs/XferProgressCallbackNative.cs Defines.cs -r:../libgphoto2-sharp/libgphoto2-sharp.dll -r:System.Data -r:System.Web -r:Mono.Data.SqliteClient -r:Mono.Posix -r:ICSharpCode.SharpZipLib -pkg:gtkhtml-sharp -pkg:glade-sharp -pkg:gconf-sharp -resource:../icons/f-spot-browse.png,f-spot-browse.png -resource:../icons/f-spot-crop.png,f-spot-crop.png -resource:../icons/f-spot-camera.png,f-spot-camera.png -resource:../icons/f-spot-edit-image.png,f-spot-edit-image.png -resource:../icons/f-spot-events.png,f-spot-events.png -resource:../icons/f-spot-favorite.png,f-spot-favorite.png -resource:../icons/f-spot-hidden.png,f-spot-hidden.png -resource:../icons/f-spot-loading.png,f-spot-loading.png -resource:../icons/f-spot-logo.png,f-spot-logo.png -resource:../icons/f-spot-other.png,f-spot-other.png -resource:../icons/f-spot-people.png,f-spot-people.png -resource:../icons/f-spot-places.png,f-spot-places.png -resource:../icons/f-spot-question-mark.png,f-spot-question-mark.png -resource:../icons/f-spot-red-eye.png,f-spot-red-eye.png -resource:../icons/f-spot-rotate-90.png,f-spot-rotate-90.png -resource:../icons/f-spot-rotate-270.png,f-spot-rotate-270.png -resource:../icons/f-spot-slideshow.png,f-spot-slideshow.png -resource:../icons/f-spot-fullscreen.png,f-spot-fullscreen.png -resource:../icons/f-spot-simple-white.css,f-spot-simple-white.css -resource:./f-spot.glade,f-spot.glade
./Ciff.cs(200) warning CS0219: The variable 'version' is assigned but
its value is never used
./Ciff.cs(222) error CS1502: The best overloaded match for method 'bool
Gdk.PixbufLoader.Write (byte[], uint)' has some invalid arguments
./Ciff.cs(222) error CS1503: Argument 1: Cannot convert from 'ulong' to
'uint'
./Ciff.cs(222) error CS1501: No overload for method `Write' takes `2'
arguments
./Ciff.cs(253) warning CS0219: The variable 'path' is assigned but its
value is never used
./RotateCommand.cs(38) warning CS0219: The variable 'temporary_path' is
assigned but its value is never used
./StockIcons.cs(48) warning CS0618: 'Gtk.StockManager.Add(Gtk.StockItem,
uint)' is obsolete: 'Use the StockItem or StockItem[] overload instead.'
./PhotoArray.cs(14) warning CS0067: The event 'FSpot.PhotoArray.Changed'
is never used
./PhotoArray.cs(15) warning CS0067: The event
'FSpot.PhotoArray.ItemChanged' is never used
./DirectoryCollection.cs(19) warning CS0067: The event
'FSpot.DirectoryCollection.Changed' is never used
./DirectoryCollection.cs(20) warning CS0067: The event
'FSpot.DirectoryCollection.ItemChanged' is never used
./gnomevfs/ModuleCallback.cs(25) warning CS0067: The event
'Gnome.Vfs.ModuleCallback.Callback' is never used
Compilation failed: 3 error(s), 9 warnings
make[2]: *** [f-spot.exe] Error 1
make[2]: Leaving directory `/home/lee/download/cvs/f-spot/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lee/download/cvs/f-spot'
make: *** [all] Error 2
----8<----
Any help would be greatly appreciated.
Thanks in advance.
--
László Monda <http://mondalaci.objectis.net>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]