Sponsored Content
Full Discussion: gcc compiling error
Top Forums Programming gcc compiling error Post 302443136 by med7006 on Friday 6th of August 2010 10:11:59 PM
Old 08-06-2010
Thank you for your reply.

The version of gcc on solaris 5.8 is 3.4.2; and the version on solaris 5.10 is 3.4.3. Shouldn't they recognize the same system variables? Why the newer system with newer gcc complain about the system syntax errors?

Thanks.
 

10 More Discussions You Might Find Interesting

1. Programming

beginner at C: Need help compiling/linking with gcc

I'm trying to do something fairly simple but keep getting frustrating messages.. Here it is: I have 3 files: init.h <header> init.c <#include <curses.h> and "init.h"> main.c <#include "init.h"> now, how can I compile my main.c using gcc? ( I have a hard time making the init.o) ... (1 Reply)
Discussion started by: My_Name
1 Replies

2. Programming

syntax error while compiling in gcc

hello, i have a structure defined as follows struct Image { int lenght; int height; }; and i have another structure where i declare a array of the above structure struct ShapeImage { Image image; }; when i compile this code with gcc it shows me the following error : ... (3 Replies)
Discussion started by: svh
3 Replies

3. UNIX for Dummies Questions & Answers

errors compiling gcc 4.2.1

Hello, I have never had a successful compile on the 2.6 kernel. On every arch in which I try to compile gcc I get either "i686-pc-cygwin-ar command not found or "i686-suse-linux-ar command not found. This always happens during the make process after configure checks for ar and finds it's just ar.... (2 Replies)
Discussion started by: kwa71
2 Replies

4. Programming

gcc compiling with -DUSE_LONGLONG

Sorry for a silly question. I a program that need to compile with -DUSE_LONGLONG to turn on the long Int as the document of that program said so, but I really don't know how to do this. I normally do this: ./configure make make install and it works fine. But I don't know how to compile... (2 Replies)
Discussion started by: hiepng
2 Replies

5. Programming

probs compiling with gcc + lpthread

Im trying to write a program atm which uses mutexes to control thread access to a certain code section ( the critical section). However, whenever I compile the code using gcc I get the following message from gcc Unresolved text symbol "pthread_mutex_lock" Unresolved text symbol... (1 Reply)
Discussion started by: JamesGoh
1 Replies

6. Solaris

Problem compiling Samba 3.5.1 on Solaris 10 with gcc (3.4.6)

I'm getting this error when 'Linking shared library bin/libtalloc.so.2'... anyone know what's up here? Using CFLAGS = -O -I. -I/source/samba-3.5.1/source3 -I/source/samba-3.5.1/source3/../lib/popt -I/source/samba-3.5.1/source3/iniparser/src -Iinclude -I./include -I. -I. -I./../lib/replace... (6 Replies)
Discussion started by: son_t
6 Replies

7. Programming

Problem with static compiling - GCC

Hi guys. I want to compile three files: gcc -static main.c fib.c fib.h it is pure C i mean i use standard C library. but it gives me this error: /usr/bin/ld: cannot find -lc collect2: ld returned 1 exit status what should i do? (4 Replies)
Discussion started by: majid.merkava
4 Replies

8. Programming

Compiling a 64 bits program using gcc

Hi Everyone, I can ask what is the option to compile a 64 bits program using gcc. I have looked everywhere but can't find it. Before I used to use cc and the -q64 flag was the option to generate the 64 bits binary. Can anyone tell me what is the flags when using gcc. Thanks...... (3 Replies)
Discussion started by: arizah
3 Replies

9. UNIX for Advanced & Expert Users

Compiling libcdio-paranoia, gcc found - C compiler doesnt work

Heyas I'm currently trying to make a fresh build from scratch/source of FFMPEG. This said, it brings quite a tail with it, so the use of a script was very obvious. Anyway, i'm currently stuck at named package. Lets ignore the tarball/download line, as the error is after. Commands... (0 Replies)
Discussion started by: sea
0 Replies

10. UNIX for Beginners Questions & Answers

Compiling GCC 6.3.0 - Error with Library

First of all -- thanks for being patient with me. I hope I'm submitting this correctly. Also I haven't done UNIX Admin since the early 1990's. I'm actually a DBA. But, since I'm the one in the office with the UNIX experience, I'm the SA. I haven't been able to compile GCC 6.3.0 which I need... (9 Replies)
Discussion started by: PJ_Namias
9 Replies
Gnome2::VFS::Mime::Application(3pm)			User Contributed Perl Documentation		       Gnome2::VFS::Mime::Application(3pm)

NAME
Gnome2::VFS::Mime::Application - functions for getting information about applications and components associated with MIME types METHODS
application = Gnome2::VFS::Mime::Application->new_from_desktop_id ($id) o $id (string) Since: vfs 2.10 application = Gnome2::VFS::Mime::Application->new_from_id ($id) o $id (string) string = $app->get_binary_name Since: vfs 2.10 string = $app->get_desktop_file_path Since: vfs 2.10 string = $app->get_desktop_id Since: vfs 2.10 string = $app->get_exec Since: vfs 2.10 string = $app->get_generic_name Since: vfs 2.10 string = $app->get_icon Since: vfs 2.10 boolean = $application->is_user_owned result = $app->launch (...) o ... (list) of URI strings Since: vfs 2.4 result = $app->launch_with_env ($uri_ref, $env_ref) o $uri_ref (scalar) o $env_ref (scalar) Since: vfs 2.4 string = $app->get_name Since: vfs 2.10 boolean = $app->requires_terminal Since: vfs 2.10 $application->save string = $app->get_startup_wm_class Since: vfs 2.10 boolean = $app->supports_startup_notification Since: vfs 2.10 boolean = $app->supports_uris Since: vfs 2.10 ENUMS AND FLAGS
enum Gnome2::VFS::Result o 'ok' / 'GNOME_VFS_OK' o 'error-not-found' / 'GNOME_VFS_ERROR_NOT_FOUND' o 'error-generic' / 'GNOME_VFS_ERROR_GENERIC' o 'error-internal' / 'GNOME_VFS_ERROR_INTERNAL' o 'error-bad-parameters' / 'GNOME_VFS_ERROR_BAD_PARAMETERS' o 'error-not-supported' / 'GNOME_VFS_ERROR_NOT_SUPPORTED' o 'error-io' / 'GNOME_VFS_ERROR_IO' o 'error-corrupted-data' / 'GNOME_VFS_ERROR_CORRUPTED_DATA' o 'error-wrong-format' / 'GNOME_VFS_ERROR_WRONG_FORMAT' o 'error-bad-file' / 'GNOME_VFS_ERROR_BAD_FILE' o 'error-too-big' / 'GNOME_VFS_ERROR_TOO_BIG' o 'error-no-space' / 'GNOME_VFS_ERROR_NO_SPACE' o 'error-read-only' / 'GNOME_VFS_ERROR_READ_ONLY' o 'error-invalid-uri' / 'GNOME_VFS_ERROR_INVALID_URI' o 'error-not-open' / 'GNOME_VFS_ERROR_NOT_OPEN' o 'error-invalid-open-mode' / 'GNOME_VFS_ERROR_INVALID_OPEN_MODE' o 'error-access-denied' / 'GNOME_VFS_ERROR_ACCESS_DENIED' o 'error-too-many-open-files' / 'GNOME_VFS_ERROR_TOO_MANY_OPEN_FILES' o 'error-eof' / 'GNOME_VFS_ERROR_EOF' o 'error-not-a-directory' / 'GNOME_VFS_ERROR_NOT_A_DIRECTORY' o 'error-in-progress' / 'GNOME_VFS_ERROR_IN_PROGRESS' o 'error-interrupted' / 'GNOME_VFS_ERROR_INTERRUPTED' o 'error-file-exists' / 'GNOME_VFS_ERROR_FILE_EXISTS' o 'error-loop' / 'GNOME_VFS_ERROR_LOOP' o 'error-not-permitted' / 'GNOME_VFS_ERROR_NOT_PERMITTED' o 'error-is-directory' / 'GNOME_VFS_ERROR_IS_DIRECTORY' o 'error-no-memory' / 'GNOME_VFS_ERROR_NO_MEMORY' o 'error-host-not-found' / 'GNOME_VFS_ERROR_HOST_NOT_FOUND' o 'error-invalid-host-name' / 'GNOME_VFS_ERROR_INVALID_HOST_NAME' o 'error-host-has-no-address' / 'GNOME_VFS_ERROR_HOST_HAS_NO_ADDRESS' o 'error-login-failed' / 'GNOME_VFS_ERROR_LOGIN_FAILED' o 'error-cancelled' / 'GNOME_VFS_ERROR_CANCELLED' o 'error-directory-busy' / 'GNOME_VFS_ERROR_DIRECTORY_BUSY' o 'error-directory-not-empty' / 'GNOME_VFS_ERROR_DIRECTORY_NOT_EMPTY' o 'error-too-many-links' / 'GNOME_VFS_ERROR_TOO_MANY_LINKS' o 'error-read-only-file-system' / 'GNOME_VFS_ERROR_READ_ONLY_FILE_SYSTEM' o 'error-not-same-file-system' / 'GNOME_VFS_ERROR_NOT_SAME_FILE_SYSTEM' o 'error-name-too-long' / 'GNOME_VFS_ERROR_NAME_TOO_LONG' o 'error-service-not-available' / 'GNOME_VFS_ERROR_SERVICE_NOT_AVAILABLE' o 'error-service-obsolete' / 'GNOME_VFS_ERROR_SERVICE_OBSOLETE' o 'error-protocol-error' / 'GNOME_VFS_ERROR_PROTOCOL_ERROR' o 'error-no-master-browser' / 'GNOME_VFS_ERROR_NO_MASTER_BROWSER' o 'error-no-default' / 'GNOME_VFS_ERROR_NO_DEFAULT' o 'error-no-handler' / 'GNOME_VFS_ERROR_NO_HANDLER' o 'error-parse' / 'GNOME_VFS_ERROR_PARSE' o 'error-launch' / 'GNOME_VFS_ERROR_LAUNCH' o 'error-timeout' / 'GNOME_VFS_ERROR_TIMEOUT' o 'error-nameserver' / 'GNOME_VFS_ERROR_NAMESERVER' o 'error-locked' / 'GNOME_VFS_ERROR_LOCKED' o 'error-deprecated-function' / 'GNOME_VFS_ERROR_DEPRECATED_FUNCTION' o 'error-invalid-filename' / 'GNOME_VFS_ERROR_INVALID_FILENAME' o 'error-not-a-symbolic-link' / 'GNOME_VFS_ERROR_NOT_A_SYMBOLIC_LINK' o 'num-errors' / 'GNOME_VFS_NUM_ERRORS' SEE ALSO
Gnome2::VFS COPYRIGHT
Copyright (C) 2003-2007 by the gtk2-perl team. This software is licensed under the LGPL. See Gnome2::VFS for a full notice. perl v5.14.2 2011-11-15 Gnome2::VFS::Mime::Application(3pm)
All times are GMT -4. The time now is 11:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy