Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - svn repository: (7 Items)
   
svn repository  
The repository seems broken.  All I can see is tunk/lib/io-pkt and trunk/lib/socket.

In fact when I tried to update my local version it said something was not matching 
Re: svn repository  
On 04/02/10 08:53 AM, Mario Charest wrote:
> The repository seems broken.  All I can see is tunk/lib/io-pkt and trunk/lib/socket.
>
> In fact when I tried to update my local version it said something was not matching
>
>    
Hi Mario,

I just did a fresh checkout and didn't have any problems. Could it be 
possible that you run into problems if you have an old repository you 
created a long time ago (~3 months ago), before some maintenance work 
was done which updated the structure of the repository?

You can see the old structure in core_networking_snapshot and the new 
structure in core_networking:
http://community.qnx.com/sf/scm/do/listRepositories/projects.networking/scm

It used to be that the trunk root contained the entire io-pkt source 
directly and all the libs including socket were together. But now the 
socket library has been separated out, so now trunk just has a lib 
directory with socket and io-pkt in subdirs beneath it.

I suggest you start with a fresh work space and see if that works.

Cheers!
/P
Re: svn repository  
But now I see the build is broken:

/opt/qnx641/host/linux/x86/usr/bin/qcc -Vgcc_ntox86 -c -Wc,-Wall 
-Wc,-Wno-parentheses -g -O -Wno-pointer-sign -Wp,-includeqnx.h   
-fno-builtin-log -fno-builtin-printf  -D_KERNEL -D_KERNEL_OPT -DLKM 
-DSIMPLE_MALLOC_BSD -DRANDOM_BSD -DMAXUSERS=32 -DKMEMSTATS 
-Wpointer-arith -Wmissing-prototypes -Werror -Wall -Wno-uninitialized   
-I. -I/home/plahti/src/corenet/trunk/lib/io-pkt/sys 
-I/home/plahti/src/corenet/trunk/lib/io-pkt/sys/sys-nto 
-I/home/plahti/src/corenet/trunk/lib/io-pkt/sys/target/x86 
-I/home/plahti/src/corenet/trunk/lib/io-pkt/sys/../lib/socket/public 
-I/home/plahti/src/corenet/trunk/lib/io-pkt/sys/../lib/socket/inc 
-I/home/plahti/src/corenet/trunk/lib/io-pkt/sys/target 
-I/home/plahti/src/corenet/stage/usr/include 
-I/opt/qnx641/target/qnx6/usr/include -g       -DVARIANT_v4 
-DBUILDENV_qss -O0 /home/plahti/src/corenet/trunk/lib/io-pkt/sys/net/bpf.c
/home/plahti/src/corenet/trunk/lib/io-pkt/sys/net/bpf.c: In function 
'bpf_getptrembed':
/home/plahti/src/corenet/trunk/lib/io-pkt/sys/net/bpf.c:959: error: 
'DCMD_MISC_GETPTREMBED' undeclared (first use in this function)
/home/plahti/src/corenet/trunk/lib/io-pkt/sys/net/bpf.c:959: error: 
(Each undeclared identifier is reported only once
/home/plahti/src/corenet/trunk/lib/io-pkt/sys/net/bpf.c:959: error: for 
each function it appears in.)
/home/plahti/src/corenet/trunk/lib/io-pkt/sys/net/bpf.c:969: error: 
invalid use of undefined type 'struct __ioctl_getptrembed'
/home/plahti/src/corenet/trunk/lib/io-pkt/sys/net/bpf.c:969: error: 
dereferencing pointer to incomplete type
/home/plahti/src/corenet/trunk/lib/io-pkt/sys/net/bpf.c:970: error: 
dereferencing pointer to incomplete type
/home/plahti/src/corenet/trunk/lib/io-pkt/sys/net/bpf.c:995: error: 
dereferencing pointer to incomplete type
/home/plahti/src/corenet/trunk/lib/io-pkt/sys/net/bpf.c: In function 
'bpf_ioctl':
/home/plahti/src/corenet/trunk/lib/io-pkt/sys/net/bpf.c:1292: error: 
'DCMD_MISC_GETPTREMBED' undeclared (first use in this function)
cc: 
/opt/qnx641/host/linux/x86/usr/lib/gcc/i386-pc-nto-qnx6.4.0/4.3.3/cc1 
error 1
make[4]: *** [bpf.o] Error 1
make[4]: Leaving directory 
`/home/plahti/src/corenet/trunk/lib/io-pkt/sys/target/x86/o.v4'
make[3]: *** [install] Error 2
make[3]: Leaving directory 
`/home/plahti/src/corenet/trunk/lib/io-pkt/sys/target/x86'
make[2]: *** [install] Error 2
make[2]: Leaving directory 
`/home/plahti/src/corenet/trunk/lib/io-pkt/sys/target'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/plahti/src/corenet/trunk/lib/io-pkt/sys'
make: *** [install] Error 2

Compilation exited abnormally with code 2 at Thu Feb  4 10:48:36


DCMD_MISC_GETPTREMBED is from libc's sys/dcmd_misc.h header file. You 
can get it from the CoreOS repository (lib/c/public/sys/dcmd_misc.h):
http://community.qnx.com/sf/scm/do/listRepositories/projects.core_os/scm

I'll check with Sean if we can synchronize this better...

/P
Re: svn repository  
>
> DCMD_MISC_GETPTREMBED is from libc's sys/dcmd_misc.h header file. You 
> can get it from the CoreOS repository (lib/c/public/sys/dcmd_misc.h):
> http://community.qnx.com/sf/scm/do/listRepositories/projects.core_os/scm
>
You'll also need sys/iomsg.h from the same place.

Sorry about this. It's just the consequence of being on the bleeding 
edge :-)
/P
Re: svn repository  
FYI, I just posted a note about how to build things as of today in the 
build forum: http://community.qnx.com/sf/go/topc11935
/P
Re: svn repository  
I was able to checkout the SVN about 2 months ago, but now I'm having problems. It seems I'm no longer authorized to 
download the source(?!).

[code]svn checkout --username my.mailbox@mailserver.com http://community.qnx.com/svn/repos/core_networking/trunk/

svn: Not authorized to open root of edit operation
[/code]

I tried downloading branches and tags, providing password, using "https://", downloading one specific directory in the 
repository, using --force. I also tried running SVN on root account.
Nothing seems to make difference.

Do I have to request access to the repository? or am I making something wrong?
Re: svn repository  
Not sure, but that might be because of this:
http://community.qnx.com/sf/wiki/do/viewPage/projects.community/wiki/UpdatedQNXSourceAccessPolicyFAQ
/P

On 19/04/10 09:31 AM, Tomasz Lis wrote:
> I was able to checkout the SVN about 2 months ago, but now I'm having problems. It seems I'm no longer authorized to 
download the source(?!).
>
> [code]svn checkout --username my.mailbox@mailserver.com http://community.qnx.com/svn/repos/core_networking/trunk/
>
> svn: Not authorized to open root of edit operation
> [/code]
>
> I tried downloading branches and tags, providing password, using "https://", downloading one specific directory in the
 repository, using --force. I also tried running SVN on root account.
> Nothing seems to make difference.
>
> Do I have to request access to the repository? or am I making something wrong?
>
>