03-17-2008
Hello,
I think you need to replace [in Player::Player()]:
pname = "\0";
to something like this:
pname[0]='\0';
etc.
Miroslaw
10 More Discussions You Might Find Interesting
1. Programming
I'm trying to compile a FTP_API program. To do this you must use the libftp.so libary. But that libary has references which are not defined. Has anyone had this problems and how is it corrected??
The command line looks like this:--------------------------------------------
# cc ftpstock.c -lftp... (5 Replies)
Discussion started by: spotanddot
5 Replies
2. UNIX for Dummies Questions & Answers
Hello!
I have some problems installing a program called “Jail Chroot Project”.
http://www.gsyc.inf.uc3m.es/~assman/jail/index.html
I have only installed precompiled programs before and I get some kind of error message when im trying to compile this program.
I have downloaded and... (2 Replies)
Discussion started by: alfabetman
2 Replies
3. Programming
Undefined first referenced
symbol in file
std::basic_ostream<char, std::char_traits<char> >::operator<<(int)/var/tmp//ccTR
std::cerr /var/tmp//ccTRcjui.o
std::cout /var/tmp//ccTRcjui.o... (1 Reply)
Discussion started by: suhasini
1 Replies
4. Programming
Hi all,
I am getting the following error when I try to do a build of a product.
I dont have the dependencies of the binaries involved in the build and thats the reason I was not able to find which library to add or to proceed to the next step to solve the reference problem.
Undefined ... (1 Reply)
Discussion started by: jerryragland
1 Replies
5. Shell Programming and Scripting
I am getting below error, any ideas to resolve it.
1:ts_n_tcp_cmp_row /finder3/baseline/95s/ed/src/lib/libfinder_ui_basic.so
1:ui_convert_date /finder3/baseline/95s/ed/src/lib/libfinder_fi_basic.so
1:ld: fatal: Symbol referencing errors. No output written... (1 Reply)
Discussion started by: shafi2all
1 Replies
6. Programming
Hi,
I'm trying to compile OpenTTD on Solaris 5.10. I do not have root permissions so I have to set the prefix-dir to /home/abcde/usr/local/opt/opentdd-0.6.3
I've used the following command to configure:
bash ./configure --prefix-dir=/opt/openttd-0.6.2 --without-makedepend \... (1 Reply)
Discussion started by: rudolph
1 Replies
7. Programming
Hello. I used to compile my code including a third-party library, "libfoo.so". Now, the vendor ships a statically linked library, "libfoo.a", instead. With this library, I run into the following error:
CC -mt -xarch=v9 -DCOMPILE_SOL_SPARC -ftrap=%none -xlibmil -xchip=ultra2 -xbuiltin -xO4 \... (0 Replies)
Discussion started by: acheong87
0 Replies
8. Shell Programming and Scripting
Hello again all. I have a user editable script that I'd like to have point out the user error to. Problem is I'm having troubles getting an echoed error message to give me the line. Here's what I'm trying to do. grep -n $loc /this/script.sh where '$loc' is the argument passed to the script.... (9 Replies)
Discussion started by: DC Slick
9 Replies
9. Programming
Dear all,
I had the "Symbol referencing errors" while compiling a C socket code.
It said "Undefined Symbol: socketpair", but I already copy the two head files (#include "types.h", #include "socket.h") into my current directory.
Could anyone help me with it? Thanks.
By the way, I'm using... (4 Replies)
Discussion started by: beyondaymk
4 Replies
10. Programming
Undefined first referenced
symbol in file
logf /var/tmp//ccwztFsO.o
ld: fatal: Symbol referencing errors. No output written to a.out
collect2: ld returned 1 exit status
float exponC(float mean)
{
index1++;... (1 Reply)
Discussion started by: willji1234
1 Replies
LEARN ABOUT DEBIAN
glpatchparameter
GLPATCHPARAMETER(3G) [FIXME: manual] GLPATCHPARAMETER(3G)
NAME
glPatchParameter - specifies the parameters for patch primitives
C SPECIFICATION
void glPatchParameteri(GLenum pname, GLint value);
void glPatchParameterfv(GLenum pname, const GLfloat *values);
PARAMETERS
pname
Specifies the name of the parameter to set. The symbolc constants GL_PATCH_VERTICES, GL_PATCH_DEFAULT_OUTER_LEVEL, and
GL_PATCH_DEFAULT_INNER_LEVEL are accepted.
value
Specifies the new value for the parameter given by pname.
values
Specifies the address of an array containing the new values for the parameter given by pname.
DESCRIPTION
glPatchParameter specifies the parameters that will be used for patch primitives. pname specifies the parameter to modify and must be
either GL_PATCH_VERTICES, GL_PATCH_DEFAULT_OUTER_LEVEL or GL_PATCH_DEFAULT_INNER_LEVEL. For glPatchParameteri, value specifies the new
value for the parameter specified by pname. For glPatchParameterfv, values specifies the address of an array containing the new values for
the parameter specified by pname.
When pname is GL_PATCH_VERTICES, value specifies the number of vertices that will be used to make up a single patch primitive. Patch
primitives are consumed by the tessellation control shader (if present) and subsequently used for tessellation. When primitives are
specified using glDrawArrays() or a similar function, each patch will be made from parameter control points, each represented by a vertex
taken from the enabeld vertex arrays. parameter must be greater than zero, and less than or equal to the value of GL_MAX_PATCH_VERTICES.
When pname is GL_PATCH_DEFAULT_OUTER_LEVEL or GL_PATCH_DEFAULT_INNER_LEVEL, values contains the address of an array contiaining the default
outer or inner tessellation levels, respectively, to be used when no tessellation control shader is present.
ERRORS
GL_INVALID_ENUM is generated if pname is not an accepted value.
GL_INVALID_VALUE is generated if pname is GL_PATCH_VERTICES and value is less than or equal to zero, or greater than the value of
GL_MAX_PATCH_VERTICES.
SEE ALSO
glDrawArrays(), glDrawArraysInstanced(), glDrawElements(), glDrawRangeElements(),
COPYRIGHT
Copyright (C) 2010 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication
License, v 1.0, 8 June 1999. http://opencontent.org/openpub/.
[FIXME: source] 05/30/2012 GLPATCHPARAMETER(3G)