Forum > Packages and Libraries

Daemon errors

(1/1)

iwilson:
I can't seem to compile and run any daemon program. Even compiling the example "cleandirs" results in

--- Quote ---/usr/bin/ld: warning: /home/ian/Desktop/cleandir/link.res contains output sections; did you forget -T?
//usr/lib/lazarus/0.9.28.2/lcl/units/i386-linux/wsimglist.o: In function `REGISTERCUSTOMIMAGELIST':
/build/buildd/lazarus-0.9.28.2/lcl/./widgetset/wsimglist.pp:266: undefined reference to `WSRegisterCustomImageList'
//usr/lib/lazarus/0.9.28.2/lcl/units/i386-linux/wsmenus.o: In function `REGISTERMENUITEM':
/build/buildd/lazarus-0.9.28.2/lcl/./widgetset/wsmenus.pp:204: undefined reference to `WSRegisterMenuItem'
//usr/lib/lazarus/0.9.28.2/lcl/units/i386-linux/wsmenus.o: In function `REGISTERMENU':
/build/buildd/lazarus-0.9.28.2/lcl/./widgetset/wsmenus.pp:215: undefined reference to `WSRegisterMenu'
//usr/lib/lazarus/0.9.28.2/lcl/units/i386-linux/wsmenus.o: In function `REGISTERMAINMENU':
/build/buildd/lazarus-0.9.28.2/lcl/./widgetset/wsmenus.pp:226: undefined reference to `WSRegisterMainMenu'
//usr/lib/lazarus/0.9.28.2/lcl/units/i386-linux/wsmenus.o: In function `REGISTERPOPUPMENU':
/build/buildd/lazarus-0.9.28.2/lcl/./widgetset/wsmenus.pp:237: undefined reference to `WSRegisterPopupMenu'
//usr/lib/lazarus/0.9.28.2/lcl/units/i386-linux/wscontrols.o: In function `REGISTERDRAGIMAGELIST':
/build/buildd/lazarus-0.9.28.2/lcl/./widgetset/wscontrols.pp:343: undefined reference to `WSRegisterDragImageList'
//usr/lib/lazarus/0.9.28.2/lcl/units/i386-linux/wscontrols.o: In function `REGISTERCONTROL':
/build/buildd/lazarus-0.9.28.2/lcl/./widgetset/wscontrols.pp:353: undefined reference to `WSRegisterControl'
//usr/lib/lazarus/0.9.28.2/lcl/units/i386-linux/wscontrols.o: In function `REGISTERWINCONTROL':
/build/buildd/lazarus-0.9.28.2/lcl/./widgetset/wscontrols.pp:363: undefined reference to `WSRegisterWinControl'
//usr/lib/lazarus/0.9.28.2/lcl/units/i386-linux/wscontrols.o: In function `REGISTERGRAPHICCONTROL':
/build/buildd/lazarus-0.9.28.2/lcl/./widgetset/wscontrols.pp:373: undefined reference to `WSRegisterGraphicControl'
//usr/lib/lazarus/0.9.28.2/lcl/units/i386-linux/wscontrols.o: In function `REGISTERCUSTOMCONTROL':
/build/buildd/lazarus-0.9.28.2/lcl/./widgetset/wscontrols.pp:384: undefined reference to `WSRegisterCustomControl'
//usr/lib/lazarus/0.9.28.2/lcl/units/i386-linux/wsforms.o: In function `REGISTERSCROLLINGWINCONTROL':
/build/buildd/lazarus-0.9.28.2/lcl/./widgetset/wsforms.pp:189: undefined reference to `WSRegisterScrollingWinControl'
//usr/lib/lazarus/0.9.28.2/lcl/units/i386-linux/wsforms.o: In function `REGISTERSCROLLBOX':
/build/buildd/lazarus-0.9.28.2/lcl/./widgetset/wsforms.pp:200: undefined reference to `WSRegisterScrollBox'
//usr/lib/lazarus/0.9.28.2/lcl/units/i386-linux/wsforms.o: In function `REGISTERCUSTOMFRAME':
/build/buildd/lazarus-0.9.28.2/lcl/./widgetset/wsforms.pp:211: undefined reference to `WSRegisterCustomFrame'
//usr/lib/lazarus/0.9.28.2/lcl/units/i386-linux/wsforms.o: In function `REGISTERCUSTOMFORM':
/build/buildd/lazarus-0.9.28.2/lcl/./widgetset/wsforms.pp:222: undefined reference to `WSRegisterCustomForm'
//usr/lib/lazarus/0.9.28.2/lcl/units/i386-linux/wsforms.o: In function `REGISTERHINTWINDOW':
/build/buildd/lazarus-0.9.28.2/lcl/./widgetset/wsforms.pp:233: undefined reference to `WSRegisterHintWindow'
//usr/lib/lazarus/0.9.28.2/lcl/units/i386-linux/wsstdctrls.o: In function `REGISTERCUSTOMSCROLLBAR':
/build/buildd/lazarus-0.9.28.2/lcl/./widgetset/wsstdctrls.pp:588: undefined reference to `WSRegisterCustomScrollBar'
//usr/lib/lazarus/0.9.28.2/lcl/units/i386-linux/wsstdctrls.o: In function `REGISTERCUSTOMGROUPBOX':
/build/buildd/lazarus-0.9.28.2/lcl/./widgetset/wsstdctrls.pp:599: undefined reference to `WSRegisterCustomGroupBox'
//usr/lib/lazarus/0.9.28.2/lcl/units/i386-linux/wsstdctrls.o: In function `REGISTERCUSTOMCOMBOBOX':
/build/buildd/lazarus-0.9.28.2/lcl/./widgetset/wsstdctrls.pp:610: undefined reference to `WSRegisterCustomComboBox'
//usr/lib/lazarus/0.9.28.2/lcl/units/i386-linux/wsstdctrls.o: In function `REGISTERCUSTOMLISTBOX':
/build/buildd/lazarus-0.9.28.2/lcl/./widgetset/wsstdctrls.pp:621: undefined reference to `WSRegisterCustomListBox'
//usr/lib/lazarus/0.9.28.2/lcl/units/i386-linux/wsstdctrls.o: In function `REGISTERCUSTOMEDIT':
/build/buildd/lazarus-0.9.28.2/lcl/./widgetset/wsstdctrls.pp:632: undefined reference to `WSRegisterCustomEdit'
//usr/lib/lazarus/0.9.28.2/lcl/units/i386-linux/wsstdctrls.o: In function `REGISTERCUSTOMMEMO':
/build/buildd/lazarus-0.9.28.2/lcl/./widgetset/wsstdctrls.pp:643: undefined reference to `WSRegisterCustomMemo'
//usr/lib/lazarus/0.9.28.2/lcl/units/i386-linux/wsstdctrls.o: In function `REGISTERBUTTONCONTROL':
/build/buildd/lazarus-0.9.28.2/lcl/./widgetset/wsstdctrls.pp:654: undefined reference to `WSRegisterButtonControl'
//usr/lib/lazarus/0.9.28.2/lcl/units/i386-linux/wsstdctrls.o: In function `REGISTERCUSTOMBUTTON':
/build/buildd/lazarus-0.9.28.2/lcl/./widgetset/wsstdctrls.pp:665: undefined reference to `WSRegisterCustomButton'
//usr/lib/lazarus/0.9.28.2/lcl/units/i386-linux/wsstdctrls.o: In function `REGISTERCUSTOMCHECKBOX':
/build/buildd/lazarus-0.9.28.2/lcl/./widgetset/wsstdctrls.pp:676: undefined reference to `WSRegisterCustomCheckBox'
//usr/lib/lazarus/0.9.28.2/lcl/units/i386-linux/wsstdctrls.o: In function `REGISTERTOGGLEBOX':
/build/buildd/lazarus-0.9.28.2/lcl/./widgetset/wsstdctrls.pp:687: undefined reference to `WSRegisterToggleBox'
//usr/lib/lazarus/0.9.28.2/lcl/units/i386-linux/wsstdctrls.o: In function `REGISTERRADIOBUTTON':
/build/buildd/lazarus-0.9.28.2/lcl/./widgetset/wsstdctrls.pp:698: undefined reference to `WSRegisterRadioButton'
//usr/lib/lazarus/0.9.28.2/lcl/units/i386-linux/wsstdctrls.o: In function `REGISTERCUSTOMSTATICTEXT':
/build/buildd/lazarus-0.9.28.2/lcl/./widgetset/wsstdctrls.pp:709: undefined reference to `WSRegisterCustomStaticText'
//usr/lib/lazarus/0.9.28.2/lcl/units/i386-linux/wsstdctrls.o: In function `REGISTERCUSTOMLABEL':
/build/buildd/lazarus-0.9.28.2/lcl/./widgetset/wsstdctrls.pp:720: undefined reference to `WSRegisterCustomLabel'
//usr/lib/lazarus/0.9.28.2/lcl/units/i386-linux/wsbuttons.o: In function `REGISTERCUSTOMBITBTN':
/build/buildd/lazarus-0.9.28.2/lcl/./widgetset/wsbuttons.pp:109: undefined reference to `WSRegisterCustomBitBtn'
//usr/lib/lazarus/0.9.28.2/lcl/units/i386-linux/wsbuttons.o: In function `REGISTERCUSTOMSPEEDBUTTON':
/build/buildd/lazarus-0.9.28.2/lcl/./widgetset/wsbuttons.pp:120: undefined reference to `WSRegisterCustomSpeedButton'
//usr/lib/lazarus/0.9.28.2/lcl/units/i386-linux/wsextctrls.o: In function `REGISTERCUSTOMPAGE':
/build/buildd/lazarus-0.9.28.2/lcl/./widgetset/wsextctrls.pp:380: undefined reference to `WSRegisterCustomPage'
//usr/lib/lazarus/0.9.28.2/lcl/units/i386-linux/wsextctrls.o: In function `REGISTERCUSTOMNOTEBOOK':
/build/buildd/lazarus-0.9.28.2/lcl/./widgetset/wsextctrls.pp:391: undefined reference to `WSRegisterCustomNotebook'
//usr/lib/lazarus/0.9.28.2/lcl/units/i386-linux/wsextctrls.o: In function `REGISTERSHAPE':
/build/buildd/lazarus-0.9.28.2/lcl/./widgetset/wsextctrls.pp:401: undefined reference to `WSRegisterShape'
//usr/lib/lazarus/0.9.28.2/lcl/units/i386-linux/wsextctrls.o: In function `REGISTERCUSTOMSPLITTER':
/build/buildd/lazarus-0.9.28.2/lcl/./widgetset/wsextctrls.pp:412: undefined reference to `WSRegisterCustomSplitter'
//usr/lib/lazarus/0.9.28.2/lcl/units/i386-linux/wsextctrls.o: In function `REGISTERPAINTBOX':
/build/buildd/lazarus-0.9.28.2/lcl/./widgetset/wsextctrls.pp:423: undefined reference to `WSRegisterPaintBox'
//usr/lib/lazarus/0.9.28.2/lcl/units/i386-linux/wsextctrls.o: In function `REGISTERCUSTOMIMAGE':
/build/buildd/lazarus-0.9.28.2/lcl/./widgetset/wsextctrls.pp:434: undefined reference to `WSRegisterCustomImage'
//usr/lib/lazarus/0.9.28.2/lcl/units/i386-linux/wsextctrls.o: In function `REGISTERBEVEL':
/build/buildd/lazarus-0.9.28.2/lcl/./widgetset/wsextctrls.pp:445: undefined reference to `WSRegisterBevel'
//usr/lib/lazarus/0.9.28.2/lcl/units/i386-linux/wsextctrls.o: In function `REGISTERCUSTOMRADIOGROUP':
/build/buildd/lazarus-0.9.28.2/lcl/./widgetset/wsextctrls.pp:456: undefined reference to `WSRegisterCustomRadioGroup'
//usr/lib/lazarus/0.9.28.2/lcl/units/i386-linux/wsextctrls.o: In function `REGISTERCUSTOMCHECKGROUP':
/build/buildd/lazarus-0.9.28.2/lcl/./widgetset/wsextctrls.pp:467: undefined reference to `WSRegisterCustomCheckGroup'
//usr/lib/lazarus/0.9.28.2/lcl/units/i386-linux/wsextctrls.o: In function `REGISTERCUSTOMLABELEDEDIT':
/build/buildd/lazarus-0.9.28.2/lcl/./widgetset/wsextctrls.pp:478: undefined reference to `WSRegisterCustomLabeledEdit'
//usr/lib/lazarus/0.9.28.2/lcl/units/i386-linux/wsextctrls.o: In function `REGISTERCUSTOMPANEL':
/build/buildd/lazarus-0.9.28.2/lcl/./widgetset/wsextctrls.pp:489: undefined reference to `WSRegisterCustomPanel'
//usr/lib/lazarus/0.9.28.2/lcl/units/i386-linux/wsextctrls.o: In function `REGISTERCUSTOMTRAYICON':
/build/buildd/lazarus-0.9.28.2/lcl/./widgetset/wsextctrls.pp:500: undefined reference to `WSRegisterCustomTrayIcon'
//usr/lib/lazarus/0.9.28.2/lcl/units/i386-linux/wsdialogs.o: In function `REGISTERCOMMONDIALOG':
/build/buildd/lazarus-0.9.28.2/lcl/./widgetset/wsdialogs.pp:137: undefined reference to `WSRegisterCommonDialog'
//usr/lib/lazarus/0.9.28.2/lcl/units/i386-linux/wsdialogs.o: In function `REGISTERFILEDIALOG':
/build/buildd/lazarus-0.9.28.2/lcl/./widgetset/wsdialogs.pp:147: undefined reference to `WSRegisterFileDialog'
//usr/lib/lazarus/0.9.28.2/lcl/units/i386-linux/wsdialogs.o: In function `REGISTEROPENDIALOG':
/build/buildd/lazarus-0.9.28.2/lcl/./widgetset/wsdialogs.pp:158: undefined reference to `WSRegisterOpenDialog'
//usr/lib/lazarus/0.9.28.2/lcl/units/i386-linux/wsdialogs.o: In function `REGISTERSAVEDIALOG':
/build/buildd/lazarus-0.9.28.2/lcl/./widgetset/wsdialogs.pp:169: undefined reference to `WSRegisterSaveDialog'
//usr/lib/lazarus/0.9.28.2/lcl/units/i386-linux/wsdialogs.o: In function `REGISTERSELECTDIRECTORYDIALOG':
/build/buildd/lazarus-0.9.28.2/lcl/./widgetset/wsdialogs.pp:180: undefined reference to `WSRegisterSelectDirectoryDialog'
//usr/lib/lazarus/0.9.28.2/lcl/units/i386-linux/wsdialogs.o: In function `REGISTERCOLORDIALOG':
/build/buildd/lazarus-0.9.28.2/lcl/./widgetset/wsdialogs.pp:191: undefined reference to `WSRegisterColorDialog'
//usr/lib/lazarus/0.9.28.2/lcl/units/i386-linux/wsdialogs.o: In function `REGISTERCOLORBUTTON':
/build/buildd/lazarus-0.9.28.2/lcl/./widgetset/wsdialogs.pp:202: undefined reference to `WSRegisterColorButton'
//usr/lib/lazarus/0.9.28.2/lcl/units/i386-linux/wsdialogs.o: In function `REGISTERFONTDIALOG':
/build/buildd/lazarus-0.9.28.2/lcl/./widgetset/wsdialogs.pp:213: undefined reference to `WSRegisterFontDialog'
//usr/lib/lazarus/0.9.28.2/lcl/units/i386-linux/wsgrids.o: In function `REGISTERCUSTOMGRID':
/build/buildd/lazarus-0.9.28.2/lcl/./widgetset/wsgrids.pp:90: undefined reference to `WSRegisterCustomGrid'
cleandirs.lpr(37,1) Error: Error while linking
cleandirs.lpr(37,1) Fatal: There were 1 errors compiling module, stopping

--- End quote ---

this can be fixed (which I found online) by added Interfaces as a use (which is apparently a bug) however after that when running I always get the error:

 "raised exception class 'EDaemon' with message: Options do not allow determining what needs to be done."

I've searched online and found people with similar issues but never any answers, any suggestions? Thanks.

geno:
I loaded this project and tried to run it from the IDE and received the same error message. Checking out the README.txt file in the directory implies this daemon looks for a config file from which to load its tasks.  This can be created by compiling and running the confcleandirs project.  Also, you should try running it from the command line with:

cleandirs -r -c path/to/config/file.cfg 

I should know if this works shortly - I set it to delete some backup files on the hour.

Hope this helps you.

 geno

Navigation

[0] Message Index

Go to full version