gnokii-users
[Top][All Lists]
Advanced

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

Re: Graphical interface for gnokii on zaurus?


From: michael shiloh
Subject: Re: Graphical interface for gnokii on zaurus?
Date: Sun, 20 Jul 2003 00:45:09 -0700 (PDT)

Pavel,

I couldn't help it. I modified slightly the gnokii makefile so that I could 
build
the library, and then I went back to zphone and got this:

/opt/Embedix/tools/bin/arm-linux-g++ -o main main.o mainwin.ui.o mainwin.moc.o 
smssend.ui.o smssend.moc.o  -L/opt/Qtopia/sharp/lib -lqpe -lqte   
-L../gnokii/common -lgnokii
../gnokii/common/libgnokii.so: undefined reference to 
`XpmWriteFileFromXpmImage'../gnokii/common/libgnokii.so: undefined reference to 
`XpmReadFileToXpmImage'

This made me wonder if I shouldn't be building the library without X11. 

Michael

On Sun, 20 Jul 2003, michael shiloh wrote:

> Hi Pavel,
> 
> I've written a makefile that lets me compile all the code, but it fails
> at the final link because it can't find libgnokii. I expect I need to build
> this but it's late so I'll look into this later.
> 
> I'll include the Makefile in case you're interested:
> 
> 
> OPIEDIR=/opt/Embedix/tools/arm-linux
> 
> QTDIR=/opt/Qtopia
> 
> QPEDIR=/opt/Qtopia/sharp
> 
> GPLUSPLUS = /opt/Embedix/tools/bin/arm-linux-g++
> CC=/opt/Embedix/tools/bin/arm-linux-gcc
> MOC=$(QTDIR)/bin/moc
> UIC=$(QTDIR)/bin/uic
> 
> INCS = -I$(OPIEDIR)/include \
>        -I$(QTDIR)/include    \
>        -I/usr/include/qte2    \
>        -I../gnokii/include     \
>        -I$(QPEDIR)/include
> 
> LIBS = -L$(QTDIR)/lib
> 
> CFLAGS = -c           \
>          -pipe         \
>          -DQWS          \
>          -fno-exceptions \
>          -fno-rtti        \
>          -Wall             \
>          -W                 \
>          -O2                 \
>          -fno-default-inline  \
>          -DNO_DEBUG
> 
> all: main
> 
> clean:
>       /bin/rm -f *.o mainwin.moc.cpp smssend.moc.cpp 
> 
> main.o: main.cpp
>       $(GPLUSPLUS) $(CFLAGS) $(LIBS) $(INCS) -o main.o main.cpp
> 
> mainwin.moc.cpp: mainwin.ui.h
>       $(MOC) mainwin.ui.h > mainwin.moc.cpp
> 
> smssend.moc.cpp: smssend.ui.h
>       $(MOC) smssend.ui.h > smssend.moc.cpp
> 
> mainwin.ui.o: mainwin.ui.cpp
>       $(GPLUSPLUS) $(CFLAGS) $(LIBS) $(INCS) -o mainwin.ui.o mainwin.ui.cpp
> 
> mainwin.moc.o: mainwin.moc.cpp
>       $(GPLUSPLUS) $(CFLAGS) $(LIBS) $(INCS) -o mainwin.moc.o mainwin.moc.cpp
> 
> smssend.ui.o: smssend.ui.cpp
>       $(GPLUSPLUS) $(CFLAGS) $(LIBS) $(INCS) -o smssend.ui.o smssend.ui.cpp
> 
> smssend.moc.o: smssend.moc.cpp
>       $(GPLUSPLUS) $(CFLAGS) $(LIBS) $(INCS) -o smssend.moc.o smssend.moc.cpp
> 
> main: main.o mainwin.ui.o mainwin.moc.o smssend.ui.o smssend.moc.o  
>       $(GPLUSPLUS) -o main main.o mainwin.ui.o mainwin.moc.o smssend.ui.o 
> smssend.moc.o  -L$(QPEDIR)/lib -lqpe -lqte -lgnokii
> 
> 
> On Sat, 19 Jul 2003, Pavel Machek wrote:
> 
> > Hi!
> > 
> > > even if i don't expect much it's exciting. i'm going to start downloading
> > > right now.
> > 
> > Check it out again. Now it includes applet that shows signal
> > strength/battery remaining.
> > 
> > Tell me if you are able to actually compile... I can do that on PC but
> > do not have crosscompiler yet. I'd like to get zaurus version...
> > 
> >                                                             Pavel
> > 
> 
> 

-- 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]