[Y-devel] problems compiling new widgets

Robert Wimmer seppwimmer at hotmail.com
Fri Mar 5 13:31:50 GMT 2004


hi there,
hi there,

after i have written some client applications for Y i wanted to extend the 
system with edit (text-box) widgets. but i am not experienced in developing 
on source trees.

naive as i am i did the following

- after inserting the new files in the source tree i made "make clean" and 
"make" (even in different directories) i got the following error

*** error
main/defaults.o(.text+0x39): In function `yRegisterDefaultClasses':
main/defaults.c:27: undefined reference to `editClass'
collect2: ld returned 1 exit status
***

- so i inserted "widget/edit.o" in the corresponding makefile and now i get 
the error

*** error
  then mv -f ".deps/widget/edit.Tpo" ".deps/widget/edit.Po"; else rm -f 
".deps/widget/edit.Tpo"; exit 1; fi
In file included from widget/edit.c:1:
../Y/widget/edit.h:10: Warnung: function declaration isn't a prototype
widget/edit.c:84: Warnung: function declaration isn't a prototype
cc1: Datei oder Verzeichnis nicht gefunden: opening dependency file 
.deps/widget/edit.Tpo
make[1]: *** [widget/edit.o] Fehler 1
***
(the german error massages dont tell us anything interesting)

- the objects files themselves (defaults.o & edit.o) are correct if i watch 
them with "objdump"
- i compared the declarations with grep and they are on the right positions

what have i to do to compile the whole source tree ?

thanks for help

regards sepp

_________________________________________________________________
Get business advice and resources to improve your work life, from bCentral. 
https://special.msn.com/bcentral/loudclear.armx




More information about the Y-devel mailing list









2026 © www.Y-Windows.Org - All Rights Reserved