Hi
While I was trying to build the toolkit on Linux, I got the follow error messages.(And if I tried to get rid of these, I got more similar "can not convert ..." from other files.
Anybody can help me?
[wjf@mmisamba bld]$ ./makeLinux all
gcc -c -g -Wall -I../../sml/.. -I../../sml/inc -I../../sml/inc/win -I../../sml/lib/inc -I../../sml/mgr/inc -I../../sml/w
sm/inc -I../../sml/xlt/all -I../../sml/xlt/inc -o libstr.o ../../sml/lib/all/libstr.c
gcc -c -g -Wall -I../../sml/.. -I../../sml/inc -I../../sml/inc/win -I../../sml/lib/inc -I../../sml/mgr/inc -I../../sml/w
sm/inc -I../../sml/xlt/all -I../../sml/xlt/inc -o libutil.o ../../sml/lib/all/libutil.c
gcc -c -g -Wall -I../../sml/.. -I../../sml/inc -I../../sml/inc/win -I../../sml/lib/inc -I../../sml/mgr/inc -I../../sml/w
sm/inc -I../../sml/xlt/all -I../../sml/xlt/inc -o libmem.o ../../sml/lib/all/libmem.c
gcc -c -g -Wall -I../../sml/.. -I../../sml/inc -I../../sml/inc/win -I../../sml/lib/inc -I../../sml/mgr/inc -I../../sml/w
sm/inc -I../../sml/xlt/all -I../../sml/xlt/inc -o mgr.o ../../sml/mgr/all/mgr.c
gcc -c -g -Wall -I../../sml/.. -I../../sml/inc -I../../sml/inc/win -I../../sml/lib/inc -I../../sml/mgr/inc -I../../sml/w
sm/inc -I../../sml/xlt/all -I../../sml/xlt/inc -o mgrcmdbuilder.o ../../sml/mgr/all/mgrcmdbuilder.c
../../sml/mgr/all/mgrcmdbuilder.c: In function `Ret_t
smlStartMessageExt (short int, sml_sync_hdr_s *, SmlVersion_t)':
../../sml/mgr/all/mgrcmdbuilder.c:223: cannot convert `void *' to
`XltEncoder_s *' for argument `1' to `xltEncReset (XltEncoder_s *)'
../../sml/mgr/all/mgrcmdbuilder.c: In function `Ret_t smlEndMessage
(short int, unsigned char)':
../../sml/mgr/all/mgrcmdbuilder.c:293: cannot convert `void *' to
`XltEncoder_s *' for argument `1' to `xltEncTerminate (XltEncoder_s *,
unsigned char *, unsigned char **)'
../../sml/mgr/all/mgrcmdbuilder.c: In function `Ret_t
mgrCreateNextCommand (short int, SmlProtoElement_t, void *)':
../../sml/mgr/all/mgrcmdbuilder.c:859: cannot convert `void *' to
`XltEncoder_s *' for argument `1' to `xltEncAppend (XltEncoder_s *,
SmlProtoElement_t, unsigned char *, void *, unsigned char **)'
../../sml/mgr/all/mgrcmdbuilder.c:874: cannot convert `void *' to
`XltEncoder_s *' for argument `1' to `xltEncAppend (XltEncoder_s *,
SmlProtoElement_t, unsigned char *, void *, unsigned char **)'
../../sml/mgr/all/mgrcmdbuilder.c:881: cannot convert `void *' to
`XltEncoder_s *' for argument `1' to `xltEncReset (XltEncoder_s *)'
../../sml/mgr/all/mgrcmdbuilder.c:891: cannot convert `void *' to
`XltEncoder_s *' for argument `1' to `xltEncReset (XltEncoder_s *)'
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This is probably due to the new work added for documentation purposes. If possible, could you see what the conversion error is specifically referring to? If not, then you should use the newest tagged version.
I'll try to look into this, but I don't have a linux system handy.
Cheers,
Peter
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The following is what I have done:
1. download toolkit_4_4.zip from sf
2. unzip it in windows
3. make a dir 'syncml' under my rh
4. copy the extracted files (doc/ src/ ...) into syncml
5. go to src/bld
6. untar udc.tar, execute udc as readme.Linux said.
7. ./makeLinux all
I am using gcc 2.96, RH 7.2 or a little bit higher, I think.
I also though this is a problem related to environment, like gcc version or others. should be no problem with your src code.
How did your guys compile on Linux?
by the way, if build on windows, I think I should use gcc from GNU , am I right? (not the compiler with VS). Then what is the make from? Can use cygwin make?
Anyway I got problem on Windows, the msg is
no rule to make target 'libinit.o'
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
While I was trying to build the toolkit on Linux, I got the follow error messages.(And if I tried to get rid of these, I got more similar "can not convert ..." from other files.
Anybody can help me?
[wjf@mmisamba bld]$ ./makeLinux all
gcc -c -g -Wall -I../../sml/.. -I../../sml/inc -I../../sml/inc/win -I../../sml/lib/inc -I../../sml/mgr/inc -I../../sml/w
sm/inc -I../../sml/xlt/all -I../../sml/xlt/inc -o libstr.o ../../sml/lib/all/libstr.c
gcc -c -g -Wall -I../../sml/.. -I../../sml/inc -I../../sml/inc/win -I../../sml/lib/inc -I../../sml/mgr/inc -I../../sml/w
sm/inc -I../../sml/xlt/all -I../../sml/xlt/inc -o libutil.o ../../sml/lib/all/libutil.c
gcc -c -g -Wall -I../../sml/.. -I../../sml/inc -I../../sml/inc/win -I../../sml/lib/inc -I../../sml/mgr/inc -I../../sml/w
sm/inc -I../../sml/xlt/all -I../../sml/xlt/inc -o libmem.o ../../sml/lib/all/libmem.c
gcc -c -g -Wall -I../../sml/.. -I../../sml/inc -I../../sml/inc/win -I../../sml/lib/inc -I../../sml/mgr/inc -I../../sml/w
sm/inc -I../../sml/xlt/all -I../../sml/xlt/inc -o mgr.o ../../sml/mgr/all/mgr.c
gcc -c -g -Wall -I../../sml/.. -I../../sml/inc -I../../sml/inc/win -I../../sml/lib/inc -I../../sml/mgr/inc -I../../sml/w
sm/inc -I../../sml/xlt/all -I../../sml/xlt/inc -o mgrcmdbuilder.o ../../sml/mgr/all/mgrcmdbuilder.c
../../sml/mgr/all/mgrcmdbuilder.c: In function `Ret_t
smlStartMessageExt (short int, sml_sync_hdr_s *, SmlVersion_t)':
../../sml/mgr/all/mgrcmdbuilder.c:223: cannot convert `void *' to
`XltEncoder_s *' for argument `1' to `xltEncReset (XltEncoder_s *)'
../../sml/mgr/all/mgrcmdbuilder.c: In function `Ret_t smlEndMessage
(short int, unsigned char)':
../../sml/mgr/all/mgrcmdbuilder.c:293: cannot convert `void *' to
`XltEncoder_s *' for argument `1' to `xltEncTerminate (XltEncoder_s *,
unsigned char *, unsigned char **)'
../../sml/mgr/all/mgrcmdbuilder.c: In function `Ret_t
mgrCreateNextCommand (short int, SmlProtoElement_t, void *)':
../../sml/mgr/all/mgrcmdbuilder.c:859: cannot convert `void *' to
`XltEncoder_s *' for argument `1' to `xltEncAppend (XltEncoder_s *,
SmlProtoElement_t, unsigned char *, void *, unsigned char **)'
../../sml/mgr/all/mgrcmdbuilder.c:874: cannot convert `void *' to
`XltEncoder_s *' for argument `1' to `xltEncAppend (XltEncoder_s *,
SmlProtoElement_t, unsigned char *, void *, unsigned char **)'
../../sml/mgr/all/mgrcmdbuilder.c:881: cannot convert `void *' to
`XltEncoder_s *' for argument `1' to `xltEncReset (XltEncoder_s *)'
../../sml/mgr/all/mgrcmdbuilder.c:891: cannot convert `void *' to
`XltEncoder_s *' for argument `1' to `xltEncReset (XltEncoder_s *)'
Hello,
This is probably due to the new work added for documentation purposes. If possible, could you see what the conversion error is specifically referring to? If not, then you should use the newest tagged version.
I'll try to look into this, but I don't have a linux system handy.
Cheers,
Peter
It seems to get more detail information to resolve the problem.
Which sources did you compile with, tarball or on CVS?
And can you let us know the gcc compiler version and RedHat distribution version?
The following is what I have done:
1. download toolkit_4_4.zip from sf
2. unzip it in windows
3. make a dir 'syncml' under my rh
4. copy the extracted files (doc/ src/ ...) into syncml
5. go to src/bld
6. untar udc.tar, execute udc as readme.Linux said.
7. ./makeLinux all
I am using gcc 2.96, RH 7.2 or a little bit higher, I think.
I also though this is a problem related to environment, like gcc version or others. should be no problem with your src code.
How did your guys compile on Linux?
by the way, if build on windows, I think I should use gcc from GNU , am I right? (not the compiler with VS). Then what is the make from? Can use cygwin make?
Anyway I got problem on Windows, the msg is
no rule to make target 'libinit.o'
I tried with toolkit_4_4.zip, the toolkit compiled with no problem. I'm using gcc 2.95.4 on debian.
You should check your development environment.
And It's better to use the compiler in MinGW
(see mingw.org) on Windows rather than Cygwin.
Now I can compile with Windows, after I down/install MinGW from mingw.org. But it bailed out with the irda head file missing error.
I am trying to get one from ms, but I failed due to the security settings in my pc set by IT ...
Anyway thx!