Sponsored Content
Top Forums Programming stdio.h not found on Solaris 11 Post 302608631 by jlliagre on Sunday 18th of March 2012 06:22:06 AM
Old 03-18-2012
Last time I checked, sunfreeware had no gcc package suitable for Solaris 11. I would suggest to remove the gcc package you installed from there and use the Solaris 11 packaging command instead:
Code:
 $ sudo pkg install gcc-3

This will install gcc and all required dependencies automatically.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

ksh not found in solaris

Hi , I am new to solaris world but worked in unix for a while . I have this solaris box version 8 .I am trying to run a simple unix file . Q.shl cat Q.shl #!/bin/ksh db2 get connection state When I run the file I get following error : Q.shl ksh: Q.shl: not found This is... (6 Replies)
Discussion started by: capri_drm
6 Replies

2. Solaris

solaris 10 Interface not found:NIC

Hi Gurus Im a fresher and im working.I installed solaris 10 on my windows PC(dual boot) but im not able plumb my interface..everytime i use ifconfig command and tried different interfaces like eri0,ce0 etc but its displaying that interface not found.I know that there is some problem with... (15 Replies)
Discussion started by: madanmeer
15 Replies

3. Shell Programming and Scripting

Print not found in Solaris

Hi, i have these script whether to find a script is running or not echo "Checking if job is running mail.sh" ((numproc=`ps -aef |grep mail.sh | grep -v grep | wc -l`)) print numproc if ((numproc == 0 )) then print "OKAY to start mail.sh" else PAGEDT=`date|cut... (3 Replies)
Discussion started by: malickhat
3 Replies

4. Programming

Atomic Read and Write with stdio

hi guys. can we use fread and fwrite with pipes to write data more than PIPE_BUF atomically since they lock FILE object until I/O operation finish? (1 Reply)
Discussion started by: majid.merkava
1 Replies

5. Programming

stdio.h vs unistd.h I/O

Hi guys. To work with physical files, sockets, pipes, ... which library is good? stdio or unistd stdio.h functions perform buffering and rationally should be better than unistd.h routines. but i am wondering why all UNIX programming books use unistd.h routines for almost all types of I/O... (7 Replies)
Discussion started by: majid.merkava
7 Replies

6. Programming

FILE structure - stdio.h

Hi All, I am new to linux and Programming. Inside the file stdio.h, there is a description about FILE structure. Which has many internal data members like _p, _r, _flags etc. I have written a sample code to find out the contents of the FILE structure. It opens a sample file ( FILE *fp ),... (5 Replies)
Discussion started by: nikunjbadjatya
5 Replies

7. Solaris

fatal error: stdio.h: No such file or directory

Trying to compile a C program recievin this hello.c:1:19: fatal error: stdio.h: No such file or directory gcc is installed on the system. echo $PATH /usr/bin:/usr/sbin:/usr/gcc/4.5/include/c++/4.5.2/tr1 root@Sol11swtb01:/media/NO NAME/Programming/C/Testing# cd... (2 Replies)
Discussion started by: Fingerz
2 Replies

8. Programming

C++ : is what the meaning of #include<stdio.h>?

Hello Guys, I'm new in programing line & just started from C++ programs but i don't know the meaning of #include<stdio.h> file....Guys tell me what's the working of this file in C++ program?? I'm confused... Title changed: Please use a descriptive subject text, and not C++?? (3 Replies)
Discussion started by: ggiwebsinfo
3 Replies

9. Solaris

Solaris: File Not Found

Hi, Why do I get this in Solaris 11? huamin@SOL11I:~$ ls /etc/user_addr /etc/user_addr: No such file or directory Many Thanks & Best Regards, HuaMin (1 Reply)
Discussion started by: HuaMin
1 Replies

10. Solaris

Baisc commands in Solaris 10 not found

I just installed Solaris 10 on my virtual machine. firstly I want to complie a c program using gcc but "the gcc is not found" so I looked for a way and try to install the gcc and I tried the following command pkg install gcc-45 but however, the "pkg is not found as well" I also tried... (2 Replies)
Discussion started by: roberts123
2 Replies
locks(5)							   System Tools 							  locks(5)

NAME
locks - libzypp locking file DESCRIPTION
The file /etc/zypp/locks is read by libzypp at startup if zypp.conf allows it. The entries are used for initial locking of packages. Lock- ing a package means not allowing to install or uninstall it. Valid entries are attribute: value Where attributes and their values are described below. Locks are separated by empty lines. ATTRIBUTES
All attributes are lower-case. repo specifies repository restriction. Only alias is accepted. By default all repositories match. type resolvable type restriction The values can be package, patch, pattern, product and srcpackage. By default all types match. case_sensitive if strings are matched case sensitive. The values are true, false, on, off. The default is case insensitive. install_status status of object. Possible states are installed, not-installed and all. If more install statuses are specified then the last one is used. The values are installed for all packages which are installed, non-installed for packages which can be installed or reinstalled and all for both. The default is all. match_type type of string matching in values. Does not affect type and repo which must be specified exactly. The values are exact, substring, regex for regular expressions, glob for matching as on the command line, and word. The default is substring. query_string String to be matched in multiple attributes. Should be restricted by another attribute with empty value ( it is recommended, because without restriction expect some performance problems ). version Restrict the lock only to some versions. It contains two parts: an optional operator and the version. The operator is ==,!=,<,>,<=,>=. If operator is not specified then == is used. The version has the format [epoch:]version[-release]. Example: version: < 0:0.11.4-2 solvable_name name of object (e.g. zypper) solvable_summary summary of object solvable_arch architecture of object (e.g. x86_64, i586) solvable_description description of object solvable_eula license text of objects which request accepting license by user solvable_license license of package (only for package) (e.g. GPL2) solvable_keywords keywords which specify package (only for package) solvable_authors authors of package (only for package) solvable_group package group (only for package) (e.g. Development/Tools/Version Control ) update_reference_type reference for update (e.g. bugzilla,cve) (only for patches) EXAMPLES
Exact Package This is the way YaST UI does it. Lock k3b (e.g. you don't want to update it). -----locks----- type: package solvable_name: k3b match_type: exact case_sensitive: on Package Wildcard This is the way "zypper addlock cross-*-gcc-icecream-backend" does it. -----locks----- type: package solvable_name: cross-*-gcc-icecream-backend match_type: glob case_sensitive: on Versioned Lock Do not install new GCC. This format is used when converting from the openSUSE-10.3 lock format. -----locks----- solvable_name: gcc match_type: glob version: > 4.2 Anything named KDE Locks everything which contains kde in the name. -----locks----- solvable_name: kde Anything mentioning KDE Locks everything which contains kde in the name, summary, or description. -----locks----- query_string: kde solvable_name: solvable_summary: solvable_description: HOMEPAGE
This manual page only covers the most important attributes. The complete list is available at http://en.opensuse.org/Libzypp/Locksfile AUTHORS
Josef Reidinger <jreidinger@suse.cz> Manual page contributions by Martin Vidner <mvidner@suse.cz>. SEE ALSO
zypper(8) libzypp 4.25.0 locks(5)
All times are GMT -4. The time now is 03:03 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy