Re: Reasons for imlib 1

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

 



Try to scan directory /usr/local/include. Probably something changed in
Xext API (library libXext.so)
desktop% nm -p /usr/lib/amd64/libXext.so.0.0.0|grep XShmQuery
000000000000ec43 T XShmQueryVersion
000000000000ebb7 T XShmQueryExtension
(it's from my DilOS desktop zone)

Usualy, when some API changes, the old part closes by CPP directives,
for example:
#if defined(OLD_API)
#warning Soon these functions will be removed
void	some_func(int);
#endif /* OLD_API */

To make it available you should define OLD_API macro from this example,
i.e.: cc -DOLD_API. Also you will see the warning:
Soon these functions will be removed


On Tuesday 22 March 2022 17:17:43 Hunter Ellett via tde-devels wrote:
> On March 22, 2022 8:57:29 AM CDT, "Dr. Nikolaus Klepp" <dr.klepp@xxxxxx> 
wrote:
> >I just tried to comile TDE on my FreeBSD box and got stuck with imlib:
> >
> >misc.c:126:7: warning: implicit declaration of function
> > 'XShmQueryExtension' is invalid in C99 [-Wimplicit-function-declaration]
> > if (XShmQueryExtension(id->x.disp))
> >      ^
> >misc.c:133:8: warning: implicit declaration of function 'XShmQueryVersion'
> > is invalid in C99 [-Wimplicit-function-declaration] if
> > (XShmQueryVersion(id->x.disp, &maj, &min, &pm) == True) ^
> >misc.c:136:57: error: use of undeclared identifier 'ShmCompletion'
> >              id->x.shm_event = XShmGetEventBase(id->x.disp) +
> > ShmCompletion;
> >
> >[lots of errors of the same kind follow ...]
> >
> >Do you know what's missing?
>
> I'm not much of a developer myself, so no idea sadly. All I know is its
> much bigger of a problem than we thought because its halting more than one
> person from building the port. I actually just made it past that (imlib
> 1.9) but with "make -k install clean" in a clean right-after-install
> environment so if you want to try make -k its what the guy in the forum
> did. This skips errors though and it seems to be skipping a good bit on
> mine but otherwise I can't even install Trinity.
____________________________________________________
tde-devels mailing list -- devels@xxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devels-leave@xxxxxxxxxxxxxxxxxx
Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/devels@xxxxxxxxxxxxxxxxxx



[Index of Archives]     [Trinity Users]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [KDE]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]     [Trinity Desktop Environment]

  Powered by Linux